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
    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)

Check the product data

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

  1. Paste the product’s .js data into the checker to confirm it’s subscription only and every variant has a plan.
  2. Add the snippet to sections that sell the product, or hide quick add for it.
  3. For links in emails and ads, use a subscription checkout link instead of a cart permalink.

More guides