Skip to main content
All CollectionsTroubleshootingPreOrders
How to Fix the Error: "Variant Can Only Be Purchased with a Sales/Selling Plan" and "Expected String to Be an Integer: Selling Plan"
How to Fix the Error: "Variant Can Only Be Purchased with a Sales/Selling Plan" and "Expected String to Be an Integer: Selling Plan"
Updated over a week ago

How to Add App Blocks for the New Selling Plan API in Shopify

If you are encountering an error related to the new Selling Plan API from Shopify, you need to add the necessary App Blocks to your product page.

Follow these steps to resolve the issue:

Add App Blocks to Your Product Page

  1. Open the "Theme Editor."

  2. Go to Products > Default Products.

  3. Under Product Information, click on Add Block, select Apps, and add the following blocks:

    • Pre-Order Now - Popups

    • Pre-Order Now - Plans

  4. Navigate to the Cart Page, add Pre-Order Now - Popups, and save your changes.

Disable Shopify Purchase Options if App Blocks Can't Be Added

If your theme prevents you from adding the App Blocks, follow these steps:

  1. Go to "Settings" in the PON app and select "Default Settings."

  2. Disable Shopify Purchase Options.

  3. Click Save.

  4. After saving, click "Sync Selling Plan with Settings."

Disable Purchase Options on the Affected Product

  1. Go to Products in your Shopify admin.

  2. Select the product with the variant error.

  3. Ensure that Purchase Options are disabled for the product.

    After completing these steps, the error should be resolved, and the app will function correctly.


Did this answer your question?