Subscription theme guide
Why your Shopify subscription widget isn’t showing
What you’ll need
A subscription app with a selling plan (Shopify Subscriptions or another)
A duplicate of your theme to test on
How to get this: A duplicate of your theme to test on
- Online Store › Themes › … on your theme › Duplicate.
- Make the change on the copy, preview it, and publish only when it works.
The theme code editor (to paste a snippet)
How to get this: The theme code editor
- On the copy of your theme: … › Edit code.
- Hover the snippets folder, click New File…, name it as the tool says, paste and Save.
Data problems
- The product isn’t in any plan: selling_plan_groups is empty.
- Some variants aren’t in the plan: their selling_plan_allocations is empty, so the widget disappears when they’re selected.
- The app isn’t on the Online Store sales channel.
Theme problems
- The app block was never added to that section (Add block > Apps).
- The app embed is turned off (App embeds in the theme editor).
- The section has no form posting to /cart/add with an id input.
- Quick add and cart drawers skip app blocks.
- A custom add-to-cart script doesn’t send selling_plan.