Add to Cart asks twice on mobile version – how to fix with one click?

Add to Cart asks twice on mobile version – how to fix with one click?

premsai
Tourist
30 0 3

I’m facing an issue on my Shopify store's mobile version. When a user clicks on the Add to Cart button on a product page, the button triggers the action twice or asks to add the product to the cart two times abd remove buy ti now in mobile version.

This only happens on the mobile version of the store and works fine on the

premsai_0-1734426651361.png

 

desktop version.Rivaaj Ethnic

Reply 1 (1)

ranazain2626
Excursionist
39 0 11

open the site on Brosewr then go to inspect and change the view to mobile view and find the cart button class name where you find the issue 
after finding the class go to edit code in your theme dashboard and find the event listener on that class.
"This can happen when the event listener adds multiple times by javascript"

Chat on WhatsApp: +923017663583
Need a Shopify developer? Hire us at ranazain2626@gmail.com
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications