cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable redirect anywhere after add to cart?

Highlighted

How to disable redirect anywhere after add to cart?

I need that browser remained on the same page. How i can do it?

 

I know about return_url parameter in add to cart form, it's work. I can redirect anywhere, but i return product list by ajax request and i don't know a current url.

2 REPLIES 2
Highlighted

Re: How to disable redirect anywhere after add to cart?

Highlighted

Re: How to disable redirect anywhere after add to cart?

1. I can't find this setting in Magento 2.3

2. Magento don't redirect me to cart, magento redirect me to same page (what does it think). But i return product list from controller and magento redirect me to URL of this controller.

 

Ideally, I need Magento to redirect nothing at all. Full ajax cart, if possible.