Add to cart URL on subscription variation product
-
Hello,
I would like to get URL that will add specific variation of subscription to cart. The variations have only one attribute, yearly (Roční) and monthly (Měsíční).
I have tried things like:
href=”https://yourdomain.com/?add-to-cart=88&quantity=1“
href=”https://yourdomain.com/?add-to-cart=1572&variation_id=73&attribute_interval=Roční“
href=”https://yourdomain.com/cart/?add-to-cart=1572&variation_id=74&attribute_interval=Měsíční“
ID of the product is 1572
and of variations 73 and 74
I am using official woocommerce subscription plugin
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Add to cart URL on subscription variation product’ is closed to new replies.