To Read the Full Article

Become an AiTrillion Exclusive Member

Access the 100+ brand stories and consumer insights data to learn about growing your online store sales.

OR
There is already an account with this email address. Click Here to login

Blogs

Set up app again after changing the theme

    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.

    Mem add-snippet-1

    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

    Mem add-snippet-2

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

    (a) Create a new snippet.

    Mem add-snippet-4

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

    Mem add-snippet-5

    (c). Create snippet.

    Mem add-snippet-6

    (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 article answer your question?
    Book A Demo
    Book a Demo