How To Add Membership Button In Some Products?

How To Add Membership Button In Some Products?

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 Create Free Plan In Membership?

      The AiTrillion Membership + Subscription app gives you the option to create a FREE PLAN. It can be created for free membership registrations. Follow the below steps for guidance – Step 1. Go to Membership > Membership plan Step 2. Choose Add Free ...
    • How To Place Orders On Membership Purchase Automatically?

      Automatic orders of a few products can be placed, once the customer subscribes to a specific membership. Orders can be recurring or one-time. Follow the below steps to enable this feature:- Step 1: Go to Membership >> Dashboard >> Create a new plan ...
    • How To Setup Recurring Membership Module?

      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 ...
    • Create A One Time Payment Plan With Membership Module

      Follow the below steps for guidance – Step 1: Go to Membership >> Dashboard >> Choose Add Paid Plan Step 2: Add plan details Plan Status: (Active or Deactivate) Payment type: (Stripe or PayPal) for paid plans only Plan Type: One Time Plan Name: ...
    • Hide Membership product from products/collection page (Membership V2)

      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 ...