"Variant can only be purchased with a selling plan" error
Shopify Checkout integration
Sections
Issue
A "Variant can only be purchased with selling plan" error appears when adding a product that should be configured for subscription to the cart.
Environment
Platform: Shopify Checkout Integration
Resolution
This error can occur when there are multiple product forms on a page and the subscription widget is not injected into the correct form. This can be fixed by injecting a line of code into the correct form.
Look for the product form in your Shopify Theme's product template file (ex: product.liquid
or main-product.liquid
) and inject the following code snippet to render the widget:
<div class="rc-widget-injection-parent" style="display: initial;"></div>
This solution specifies the correct product form on the product page and resolves the error.
If the widget appears and the error persists, contact the Recharge Support team for additional troubleshooting.
Was this article helpful?
0 out of 0 found this helpful