The subscription widget is where shoppers choose between a one-time purchase and a subscription on your product page. There are two ways to add it:
| App block | Snippet |
Best for | Most stores on Shopify 2.0 themes | Custom themes and fully custom designs |
Set up in | Shopify theme editor, drag and drop | Theme code ( |
Coding needed | None | HTML, JS, Liquid and CSS |
Design control | Built-in style settings | Complete: you build the layout |
If you're not sure, start with the app block. You can switch to the snippet later.
Option 1: the app block (recommended)
The app block is the quickest route. Add it to your product page in the Shopify theme editor, then adjust its colors and text in the block settings, with no code.
Follow the steps in Smartrr subscription widgets.
the Smartrr subscription widget app block on a product page (called "Subscription Options")
Option 2: the snippet (custom design)
The snippet gives you a working, unstyled starting point. Smartrr handles the subscription logic: plans, prices and variant changes. You edit the HTML and add your own CSS to build exactly the widget you want.
Choose the snippet if you want to:
Match a custom theme or a design your team has already mocked up
Change the layout, not just colors and text
Add elements the app block doesn't offer, such as savings badges or a benefits list
What custom widgets can look like
Benefit-led subscription card. A "Most popular choice" badge, savings per order, brand icons beside each benefit, a minimum-order notice, and a frequency dropdown.
Compact cards with a value badge. A "Best Value" tag on the subscription, checkmark benefits including bonus loyalty points, and styling matched to the Add to cart button.
Brand-colored highlight. The subscription option filled in the brand's color, a percent-off pill, a savings callout, and themed icons for each benefit.
Set it up
The Smartrr guided install on a custom Shopify theme covers the setup: adding the Smartrr files and rendering {% render 'smartrr-product' %} inside your product form. Once it shows on your product page, edit smartrr-product.liquid and smartrr-product-styles.liquid to build your design.
ℹ️ Tip: Work on a duplicate of your theme, and publish only when the widget looks right on desktop and mobile.
Prefer hands-on help? We offer white-glove onboarding on our Grow and Excel plans, or contact support@smartrr.com.
