Shopify themes, liquid, logos, and UX
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
desktop version.Rivaaj Ethnic
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"
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025