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: ...
    • Setup Membership Button At Shopify Store

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