How can I stop immediate redirect to cart after adding items?

Hi, someone can help. How to change the setting of the “Add to cart” button. After adding to the cart, it immediately redirects to the cart, how to cancel it?

I am using debut theme.

Hello Johan12,

As per the default Debut theme the page doesn’t redirect to cart page but it displays a popup on the same page.

I guess you might have done some customization regarding this, please check if you have used any ajax and try to remove it.

Or else please share your web url so that I can take a look once.

Please tell me how to find and delete it. Thank you

I think I solved this problem, I uninstalled one of the applications. Thanks

Ohh it’s great to hear this.

If you need any further information then you can post here for the assistance.

Hi Pallavi,

I am also experiencing the issue when you click the add to cart button it takes you to the cart page. I use the Debut theme and can’t seem to recall ever changing this, but I am wanting the button to not redirect but simply have the item added and the person can keep shopping on the same page. Any ideas? my website is www.lunacollective.ca for reference.

I’m having this problem too, also with Debut theme. It may be because I have an app for adding product customizations, but its critical to my store so I can’t delete it. Any other way around?

Same problem here. Could you provide the steps on how to fix this? I currently don’t have any apps installed.

I am using the Navigate theme and I believe the side-cart should be showing up. However, it is redirecting me to the cart page as well.
Any ideas how to solve this?

<form action="/cart/add" method="post" class="product-form" id="add-to-cart">
   <div class="add-to-cart-form"></div>
   <input type="hidden" name="id" value="{{ product.variants.first.id }}" />
   <select min="1" max="5" type="number" id="quantity" name="quantity" value="1">
      {% for i in (1..5) %}
         <option value="{{ i }}">{{ i }}</option>
      {% endfor %}
   </select> 
   <div>
   <button type="submit" class="btn--secondary" onclick="addItem('add-to-cart'); return false;" name="add">Añadir</button>
   </div>   				
</form>

Hey , Johan 12 can you please tell which app you installed?

Hey , Johan 12 can you please tell which app you installed?

Hola! yo necesito ayuda, agregue el botón agregar carrito a mi pagina, pero en vez de abrir el carrito de la app que tengo descargada (slide cart) se redirige a la pagina del producto y me gustaría que sea abriera el carrito de esta app (slide cart)

Hi pallavi I want that whenever someone add the product to cart he directly reaches cart page can you please help

I am using debut theme.

Hi what is the name of the application

Hi there, need some help!

I added a “Add to Cart” button on the featured collection on my home page using the following:

Would you mind guiding me on how to enable the “Add to Cart” Notification once they click on “Add to Cart”?

Thank you.

Hello are you able to help me add “Add to cart” to my home page?

Hello. I hope you are well. I am having a similar problem. Would you be able to help? I can’t seem to find any solutions on the thread.

I can’t believe it’s over a year and no useful information in this thread!! There used to be an option to redirect customers to cart after clicking on the “add to cart button”. Seems to have gone.