Subscription theme guide
How to add subscription options to the homepage featured product
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.
Why the widget isn’t there
Subscription apps add their picker as an app block on the product template. Featured product and many custom sections don’t accept app blocks, so the plan never reaches the cart and the item is added as a one-time purchase.
What the snippet does
- Lists the selected variant’s plans (product.variants > selling_plan_allocations), with prices and a savings badge.
- Hides one-time purchase for subscription-only products.
- Keeps a hidden input named selling_plan inside the form up to date, which is what Shopify’s theme tutorial asks for.
- Follows variant changes, and does nothing for products with no plans.
Add it
- Duplicate your live theme and edit the copy.
- Add a snippet named est-selling-plan-picker and paste the generated code.
- In sections/featured-product.liquid (or your section), paste the render line inside the form, above the add-to-cart button.
- Preview, add a subscription to the cart, check checkout, then publish.
{% render 'est-selling-plan-picker', product: product %}