Skip to main content
All CollectionsMembership V1
Set Up App Again After Changing The Theme
Set Up App Again After Changing The Theme
Updated over 8 months ago

When the Membership app is installed, additional “Snippet” files are automatically inserted into the main, published theme.

If you added or publish a new theme after the app is installed then these snippet files will need to be added to the new/updated theme along with the liquid installation.

Follow below steps for adding snippets –

Step 1. Go to Online store > Themes > Click Actions and duplicate your theme for backup.

Step 2. Now, Edit code and search for below files under “Snippets” –

aaa-collection-product-filter.liquid
aaa-memberships-collection.liquid
aaa-memberships-noaccess.liquid
aaa-memberships-page.liquid
aaa-memberships-product.liquid
aaa-memberships-template.liquid
aaa-plan_rule.liquid
aaa-product-page-filter.liquid
aaa_mem_helper.liquid

Step 3. If any of the snippets don’t exist then add it.

(a) Create a new snippet.

(b) Enter the correctly spelt snippet name without .liquid.

(c). Create snippet.

(d) Copy and paste the code found in below files respectively.

aaa-memberships-collection.liquid

aaa-collection-product-filter.liquid

aaa-memberships-noaccess.liquid

aaa-memberships-page.liquid

aaa-memberships-product.liquid

aaa-memberships-template.liquid

aaa-plan_rule.liquid

aaa-product-page-filter.liquid

aaa_mem_helper.liquid

(e) Save it.

Step 4. Repeat step 3(a to e) for each missing snippet.

Note:

After adding all the snippets in a new theme, proceed for the liquid installation. CLICK HERE for guidance.


Did this answer your question?