Subscription theme guide
Fix “Variant can only be purchased with a selling plan”
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.
Where it happens
- Quick add buttons on collection pages.
- Featured product or custom sections without a plan picker.
- Cart permalinks (/cart/ID:QTY), which can’t carry a plan.
- Apps or scripts that call /cart/add.js without selling_plan.
Fixes
- Paste the product’s .js data into the checker to confirm it’s subscription only and every variant has a plan.
- Add the snippet to sections that sell the product, or hide quick add for it.
- For links in emails and ads, use a subscription checkout link instead of a cart permalink.