Set the Default Selection to Subscribe with Recurring Cart Mode


By default, using Bold Subscriptions on Recurring cart mode will create a widget on the cart page for your customers to choose their subscription frequencies. This area will default to the "one-time purchase" selection, when you are offering both a one-time purchase and subscription option on a product.


This customization only works for stores using Recurring Cart Mode in Bold Subscriptions V1. The other cart modes available (Single & Multiple) will have this functionality option built-in within the Subscription group setup area.

You can change this to make the default selection the "subscription" option using JavaScript.

To make "subscribe" the default selection, please follow these steps:

  1. From within your Shopify admin, select Online Store, then ActionsEdit.
  2. Under "Snippets", select Add a new snippet.
  3. Enter boldsubs-btn-preselect as the snippet name, then select Create snippet.

    Subscriptions snippet

  4. Copy and paste the boldsubs-btn-preselect.liquid code into the new snippet file and select Save.

    Paste the code

  5. Under "Layout", select theme.liquid.
  6. Directly below the Bold includes, insert the following line of code:
    {% include 'boldsubs-btn-preselect' %}

    Insert the code

  7. Select Save.

To test that this worked, reload your product page and ensure that the default selection is now beside the 'subscribe' option.

Was this article helpful?
0 out of 0 found this helpful