Select your platform

Hide the Subscription Widget from the Product Page

Alexa
Alexa
  • Updated

When a subscription group is enabled in Bold Subscriptions V1, the subscription widget will appear on the product page. If your theme uses an add to cart form on the collections page or quick view modal, the subscription widget may appear in these areas of your store as well.

This article outlines how to remove the subscriptions widget from pages that aren't meant to display the subscriptions widget.

This article is relevant to Subscriptions V1. If you have Subscriptions for Shopify Checkout on your store, please visit Subscriptions for Shopify Checkout Overview. If you are unsure of which version of Bold Subscriptions you have, please visit Identify Your Version of Bold Subscriptions

 


 

Setup

  1. Duplicate themes to create a backup copy.

  2. From the Shopify admin, select Online Store.

  3. Select Actions.

  4. Select Edit code next to the theme you have Bold Subscriptions V1 installed on.

  5. Open the liquid file that you would like to hide the subscription widget from.

    Note: The theme file will be different based on the theme you are using and where the widget is appearing on your storefront. If you are having issues locating the theme file, please contact our Customer Success team.

    Select theme file

  6. Find the beginning of the form in the liquid file.

    Find the beginning of the form

  7. Add this code to the end of the form class:
    no_ro_widget

    Add the code

  8. Select Save.

 


 

Next Steps

After the code has been added to the form class, check the storefront and confirm that the subscription widget is not appearing on the page that the code has been added to.

If the subscription widget is still appearing on the page, please contact our Customer Success team for further assistance.