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
    1. Online Store › Themes › … on your theme › Duplicate.
    2. Make the change on the copy, preview it, and publish only when it works.

    Step-by-step guide (opens in a new tab)

  • The theme code editor (to paste a snippet)

    How to get this: The theme code editor
    1. On the copy of your theme: … › Edit code.
    2. Hover the snippets folder, click New File…, name it as the tool says, paste and Save.

    Step-by-step guide (opens in a new tab)

1Choose how it looks

Subscription-only products always start on a plan.

Prices

Used by the One-time / Subscribe layout.

Leave empty to hide. {percent} is the saving vs. the one-time price.

2Add it to your theme copy

  1. In the duplicate theme, click … > Edit code. Under Snippets, click Add a new snippet and name it est-selling-plan-picker.
  2. Paste the snippet below into it and save.
  3. Open the section file (for example sections/featured-product.liquid), find the product form ({%- form 'product'), and paste the render line inside it, above the add-to-cart button.
  4. Remove the subscription app’s block from that section if it has one, so only one picker sends a plan.

3Test it, and how to remove it

  1. Preview the theme copy and open the page with the section.
  2. Pick a plan, add to cart, and check the cart shows the plan name. Switch variants and check the options follow.
  3. If the cart line has no plan name, your theme probably has its own purchase options that send their own selling_plan (some themes’ add-to-cart scripts always add it, even from a different block). Remove or hide that picker, or use it instead of this snippet. The snippet logs a warning in the browser console when it sees another selling_plan field on the page.
  4. Go to checkout and confirm the subscription line and price. Then publish the copy.

Remove it

  1. Open Online Store > Themes > … > Edit code on the theme where you added it.
  2. Find every render line: search the theme for est-selling-plan-picker (Ctrl+Shift+F or the search box above the file list).
  3. Delete each {% render 'est-selling-plan-picker' … %} line and save.
  4. Delete the file snippets/est-selling-plan-picker.liquid.
  5. Nothing else was changed, so the theme is back to how it was.

How it works

  1. Pick a layout and labels.
  2. Create one snippet file in a duplicate theme and paste the code.
  3. Add one render line inside the section’s product form.
  4. The picker lists the selected variant’s plans and keeps a hidden selling_plan field in sync, so add to cart sends the plan.
  5. Test add to cart and checkout, then publish. Delete the line and file to remove it.

Guides

Questions

When do I need this?

When a subscription app’s block doesn’t show: the homepage featured product, landing pages, or custom sections. If the app block works where you need it, use the app block.

Will it break my theme?

It’s one new snippet file plus one line where you want it. Everything is namespaced est-sp, nothing else is edited, and removing the line and the file undoes it. Try it on a duplicate theme first.

Does it work with Shopify Subscriptions, Recharge, Appstle, Loop and Seal?

It reads Shopify’s own selling plan data, so it works with any app that uses Shopify selling plans. It doesn’t replace the app’s customer portal or emails.

Why doesn’t the price at the top change when I pick a plan?

The snippet shows each plan’s price next to it but doesn’t rewrite your theme’s price element, because every theme does that differently.

Based on Shopify’s “Add subscriptions to your theme” tutorial and the selling_plan_allocation object.