Overview
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.
Alert
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:
- From within your Shopify admin, select Online Store, then Actions > Edit.
- Under "Snippets", select Add a new snippet.
- Enter boldsubs-btn-preselect as the snippet name, then select Create snippet.
- Copy and paste the boldsubs-btn-preselect.liquid code into the new snippet file and select Save.
- Under "Layout", select theme.liquid.
- Directly below the Bold includes, insert the following line of code:
{% include 'boldsubs-btn-preselect' %}
- Select Save.
To test that this worked, reload your product page and ensure that the default selection is now beside the 'subscribe' option.