Fix Membership Product Not Adding to Cart | Troubleshooting help for AiTrillion Membership V2

Membership General Settings: Membership Product Not Being Added to the Cart

Introduction

If your membership product is not being added to the cart, it can prevent customers from completing their purchase and accessing membership benefits. This issue is usually related to configuration settings and theme compatibility.

In this article, we’ll walk you through the common reasons behind this issue and how to resolve them, so you can ensure a smooth and hassle-free checkout experience for your customers.


InfoNote: The membership will not work until the class and ID have been added to the general settings.


A) Follow the steps below to find the product block class:

Step 1: Go to the Product page of the store, right-click on the Add to Cart button, and click on Inspect.



Step 2: You'll be able to locate form tag and copy the class from the parent tag of product-form
IdeaNote: The parent <div> class above the <form> or product-form tag needs to be added.



Step 3:
Go to Membership V2 >> Settings >> General settings, paste the class, and click on
Save class.





B) Follow the steps below to find the checkout button ID:

Step 1: Go to the Cart page of the store, right-click on the Checkout button, and click on Inspect.



Step 2: Click on the Checkout button and c
opy the ID from the button tag.




Step 3: Go to Membership V2 >> Settings >> General settings, paste the copied IDand click on the Save ID button.



Important Notes:

  • Ensure the correct parent <div> class of the <form> or product-form is added in the Membership V2 general settings. Missing or incorrect classes can prevent the product from being added to the cart.
  • Always copy the class from the parent container, not just the <form> tag itself.
  • After updating the class or checkout button ID, click Save and allow a few minutes for changes to reflect.
  • Make sure you are inspecting the correct Add to Cart and Checkout buttons from your active theme, as class names may vary.
  • If your theme has been customized or updated, you may need to re-check and update the class and button ID again.
  • Clear your browser cache or test in an incognito window to verify the changes.
  • Test the setup on both desktop and mobile devices to ensure consistent behavior.
  • If the issue persists, check for theme conflicts or custom scripts that may interfere with the add-to-cart functionality. 

Next ⏭️