Hi there!
I tried adding an add to cart button to the collection page and it works on the desktop version. This is the code:
Unfortunately, when on mobile, the button redirects the customer to the cart page, which it says to be empty. But when I go back to the collection page the product actually IS in the cart. I am not sure if you understand what I mean, but I don’t know how to solve this.
Also, I would like to change the button’s action so that it doesn’t redirect the customer to the cart page but that it simply opens the cart-notification pop up.
I’d really appreciate your help! I’ve been trying for two days now without any luck ![]()
Here’s the preview link to the shop: https://igjow3pp4fazljn5-45913243810.shopifypreview.com
All the best,
Christa