Template Migration

This section is very optional and, in most case, is not needed.

Template Migration is used to help the app easily authenticate customers when they are logged in to your shop. By default, the app will automatically migrate your templates for you. So you don't have to do anything. In case you would like to migrate your template by yourself, here is how to do it.

If this is your first time editing Shopify template, please make sure to read and understand how to edit Shopify template:


Edit the layout/theme.liquid to include the following code. Place the code just in the head before the closing </head> tag

<script>window.beans_cjs_id = '{{ customer.id }}'; window.beans_cjs_email = '{{ customer.email }}';</script>

So the final result will look like this:

Don't forget to click on save.

Last updated