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.
Here's How to Add App Blocks to Your Product Page
Open the "Theme Editor."
Go to Products > Default Products.
Under Product Information, click on Add Block, select Apps, and add the following blocks:
Navigate to the Cart Page, add PreOrder 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:
Go to "Settings" in the PON app and select "Default Settings."
Disable Shopify Purchase Options.
Click Save.
After saving, click "Sync Selling Plan with Settings."
Disable Purchase Options on the Affected Product
Go to Products in your Shopify admin.
Select the product with the variant error.
Ensure that Purchase Options are disabled for the product.
After completing these steps, the error should be resolved, and the app will function correctly.