Set the Default Selection to Subscribe with Recurring Cart Mode

 Alert

Please note that this article only relates to Version 1 of Bold Subscriptions. If you have Version 2 of Bold Subscriptions installed on your store, please visit Subscriptions V2 Overview.

If you are unsure of which version of Bold Subscriptions that you have currently installed, please visit Bold Subscriptions V1 & V2 Comparison.

Overview

Using Bold Subscriptions V1 on the Recurring Cart Mode will create a widget on the cart page for your customers to choose their subscription frequencies. This widget defaults to the one-time purchase selection.

It is important to note that this customization only works for stores using the  Recurring Cart Mode in Bold Subscriptions V1. The other cart modes will have this functionality option built-in within the Subscription group setup area.

You can change the default selection from one-time purchase to subscription using JavaScript.

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

  1. From the Shopify admin, select Online Store.
  2. Select Actions.
  3. Select Edit.
  4. Under Snippets, select Add a new snippet.
  5. Enter boldsubs-btn-preselect as the snippet name, then select Create snippet.

    Subscriptions snippet

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

    Paste the code

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

    Insert the code

  9. Select Save.

To test this, 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