Setup
We will create a template for product subscriptions. This template will be used to create product subscriptions for each product card.
- Create a div block and give it following Attribute:
Default Subscription value
For most ecommerce brand the subscripotion options start with one time purchase. You can define what this empty value should be by adding the following attribute to the radio element:Example:- subscription-default=One-time purchase
Checked State

is-checked
to the radio button.
You can use this class to design how your checked radio buttons look.
What will be updated?
On page load for each Shopify product subscription group we will duplicate theproduct-subscription-wrapper
for each subscription we will duplicate product-subscription-select
and update the product-subscription-name
with the product option name.
Option Radio buttons element should be indise a Webflow Form element.