Tagged: woocommerce
Hello,
When I use custom add to cart link, two products are added instead of one. How to fix this issue?
Sample custom link Woocommerce
https://website.com/?add-to-cart=ID_PRODUCT
https://website.com/cart/?add-to-cart=58&quantity=1
https://website.com/?add-to-cart=ID_PRODUCT&quantity=1
or
https://website.com/checkout/?add-to-cart=ID_PRODUCT
https://website.com/checkout/?add-to-cart=ID_PRODUCT&quantity=1
Thanks.
Hey marketbiz,
Thank you for the inquiry.
We are not sure what’s causing the issue, but we can only reproduce it when the quantity parameter is not included. Please make sure that the quantity parameter is included in the URL and set to 1.
Best regards,
Ismael
I have used a custom link with a quantity parameter of 1, for example: https://website.com/cart/?add-to-cart=58&quantity=1
But it still goes into the cart twice.