Variable Product Links

Description

With variable products, the syntax to send any particular variation directly to your custom checkout requires you to change the id from the main product to the variation.

Use Case

You need to change the id of the main variation product to instead use the id of the variation you want to send to the checkout

Example

/your-custom-checkout-page/?add-to-cart=xxxx   where “xxxx” equals the id of the variation

You may optionally specify an initial quantity as well by adding this to the end of the string.

/your-custom-checkout-page/?add-to-cart=xxxxx&quantity=2

Scroll To Top