I don't want to be redirected to the cart when pressing "add to cart"

Hi,

I am using the TRADE theme from Shopify. On the product page, when we click on “add to cart” we are automatically redirected to the cart page which i find annoying. How can i remove this redirect so that the customer stays on the same page ? i.e all add the cart functions remain the same except we remain on the same page.

Thanks!

Hi @Coluche321

To complete your requests, please follow these steps:

  1. Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Cart > Choose Cart drawer or Pop-up notification

I hope this helps

Best,

Daisy

hi,

Thanks for the quick reply and suggestions. However, I would like to keep the option “page” instead of “drawer” or “popup notification” (we have an app installed that will only work if “page” is selected).

Is there a way to change the link of the “add to cart” button?

thanks

Hi @Coluche321

So please share the page URL where you want to change that so I can take a closer look

Best,

Daisy

HI, @Coluche321
if you have any question please DM

  1. Go to Shopify Admin > Online Store > Theme >edit code
  2. Find the file called assers/product-form.js
  3. go to line 67 or something like below and comment that line. tihs will insure you wont go to other page.
1 Like

Hi Eric-Han,

This work perfectly, thanks !