PremiumNewFeaturedProduct Sections

Subscription Toggle

One-time vs. subscribe-and-save toggle for PDPs.

#subscription#subscribe-and-save#recurring#pdp#recharge-helper#shopify-subscriptions

Live preview

See it in action.

Fully interactive, drag, click, scroll inside the frame, toggle to mobile.

About this section

A polished one-time-vs-subscribe radio toggle that surfaces the savings percentage and frequency picker for any product configured with selling plans (Shopify Subscriptions, Recharge, Bold Subscriptions). Reads native product.selling_plan_groups, no app SDK required. Mirrors the chosen variant + selling_plan into your theme's existing add-to-cart form so checkout creates the right subscription line item.

Install in 90 seconds

  1. 01

    Create /sections/modblo-subscription-toggle.liquid.

  2. 02

    Paste the section code and save.

  3. 03

    Add the section to product.json directly above your existing variant picker / add-to-cart button.

  4. 04

    Configure selling plans on your products in Shopify Admin → Products → Selling plans (or via Recharge / Bold).

  5. 05

    The widget auto-syncs with your theme's product form by mirroring the variant id + selling_plan input — works with most modern themes (Dawn, Refresh, Origin) without changes.

The Liquid

Unlock the section code

Subscription Toggle is a premium section. Get the full Liquid + scoped CSS paste-ready.

One-time purchase · Lifetime updates · You own the code

Theme editor settings

SettingTypeDefault

Product

product

Leave blank on PDPs to auto-bind.

product,

One-time label

onetime_label

textOne-time purchase

One-time subtext

onetime_sub

text,

Subscribe label

subscribe_label

textSubscribe & save

Subscribe subtext

subscribe_sub

text,

Background

bg

color#ffffff

Foreground

fg

color#0b0b0c

Accent

accent

color#6366f1

Save badge color

save_color

color#16a34a

SEO & accessibility notes

  • Reads native product.selling_plan_groups, works with any subscription provider that registers Shopify selling plans.
  • Real <input type="radio"> with label association, full keyboard accessibility.
  • Auto-detects discount kind (percentage / fixed_amount / price) and renders the right savings math.
  • Section auto-hides when the product has no selling plans configured, no broken UI on regular products.
Subscription Toggle. Shopify section | modblo