Skip to main content

Adding the Smartrr subscription widget to your product page

Using the Smartrr app blocks or the custom snippets?

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 (smartrr-product.liquid)

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 version).

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

Custom subscription widget with a Most popular choice badge, icon benefits and a frequency dropdown

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.

Custom subscription widget with compact cards and a Best Value badge

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.

Custom subscription widget with a brand-colored subscription option and percent-off pill

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.

Did this answer your question?