What's your biggest current challenge? Have your say in Community Polls along the right column.

Why does clicking 'add to cart' automatically redirect to the shopping cart?

Why does clicking 'add to cart' automatically redirect to the shopping cart?

Kova981
Shopify Partner
4 0 0

I'm facing this weird problem where after I click on the "add to Cart" button it redirects me to the Shopping Cart. 

I've looked through the whole code, but im unable to find anything relevant. Im not even able to find the EventListener for the addToCart button.

 

 

Replies 2 (2)

Small_Task_Help
Shopify Partner
830 28 75

Hi,

 

Online Store > Themes > Customize. Ensure that the "Add to Cart" button is not set to redirect users to the cart immediately after adding an item.

Check JavaScript Files related to Add to Cart button

Contact Shopify Support

To Get Shopify Experts Help, E-mail - hi@ecommercesmalltask.com
About Us - We are Shopify Expert Agency
At Google My Business - Ecommerce Small Task - Hire Shopify Developers Ahmedabad
Kova981
Shopify Partner
4 0 0

What JavaScript files are related to the Add to cart button. I checked every single one and there is nothing that makes sense to me to change. 
In the Theme customizer there is no option to "Redirect" users to the cart immedtiately