How To Add Membership Button In Some Products? (Membership V1)

How To Add Membership Button In Some Products? (Membership V1)

The membership button can be shown only on some specific products by following the below steps -:

Step 1: From Shopify Admin, go to the Online Store > Themes > Actions(Published Theme) > Edit Code(Published Theme).

Step 2: Open file product-template.liquid under Sections.

Step 3: Copy the below code and wrap it around the cart button element available in the file.

Step 4: Now, open the product in Shopify backend in which you need the membership button and copy its handle.

Step 5: Paste this copied product handle in the product-template.liquid file as mentioned in step 3.

Step 6: Now, copy the membership plan embed code and paste in the product-template.liquid file as mentioned in step 3.


    • Related Articles

    • How To Setup Recurring Membership Module? (Membership V1)

      Watch the Quick Video below to set up the Membership module Membership Module Integration Steps Create Plan Add Short-codes in theme liquid files(Optional) Add Short-codes in theme liquid files only if using Restricted Access(Plan Rules) in ...
    • Hide Membership product from products/collection page

      Introduction In this article, we'll explore the intricacies of hiding memberships from product collections effectively. Here are the steps to hide membership from product collection -: Add a hidden tag to membership products: Go to your Shopify ...
    • Add Specific Products in Email Template

      Introduction: Customize your email templates by adding specific products with AiTrillion. Engage customers with targeted promotions and highlight key offerings to drive sales and conversions effectively. Now add the products you want to showcase in ...
    • How To Setup Restriction On Product Price And Add To Cart Button? (Membership V1)

      Introduction In this article, you will learn how Product Price and Add to Cart buttons can be restricted to access only by members. Follow the below steps to setup restriction:- Step 1: Go to Membership >> Dashboard >> Create a new plan or edit an ...
    • Setup Membership Button At Shopify Store (Membership V1)

      Introduction For setting up the membership subscription button, you will have to copy its embed code from the app dashboard and add/paste in your theme where ever you want to show it. Here are the steps to setup membership button at Shopify store -: ...