Why is my add to cart button inside Slider Revolution adding the product twice?

Viewed 13

I have the link for the button going to wc_add_to_cart which is basically https://example.com/ product/?add-to-cart=id

For whatever reason it is adding the product to the cart 2x when the link is going to the page with the slider revolution. When I change it to https://example.com/?add-to-cart=id it adds once, but I don't want to redirect to another page, I want it to stay on the product page. The regular add to cart button outside of the slider revolution works fine, but any add to cart inside slider revolution adds it 2x.

0 Answers
Related