In this article:


What happens to LL when a merchant migrates to a different theme?‌

Files are theme dependent. That means that migrating to a new theme usually effectively "deletes" loyaltylion.liquid. However, our system should notice the change and automatically reinstall it after a couple of hours.

If that doesn't happen please follow the below instruction:

1. Go into your code editor in Shopify and create a new snippet called LoyaltyLion.liquid 

2. Then, you need to go into your theme.liquid layout to include our snippet in the </head> 

3. Ensure that you put the {% include "loyaltylion" %} before the </head>

4. You can also see this information here

5. Once you have done this, get in touch with support@loyaltylion.com and our team will add the snippet into your loyaltylion.liquid.

Adding LoyaltyLion to a different theme

Our automatic installation only adds LoyaltyLion to your current, live theme. If you need to add LoyaltyLion to a different theme, e.g. for testing, do the following:‌

  • Copy the loyaltylion.snippet from your live theme into your second theme
  • Add {% include "loyaltylion" %} to the <head>

FAQ

Q. Does the loyalty lion snippet need to be included on all pages?
Yes, in order for LoyaltyLion to work correctly on your site, the snippet need to be included on every site.
If the snippet is not on every site it creates an inconsistent experience and might not work as intended.

Did this answer your question?