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.
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.
Hello @roman_brunets
Please refer the below URLs:
https://magento.stackexchange.com/questions/75028/disable-redirect-after-add-to-cart
https://magento.stackexchange.com/questions/24816/disable-redirect-after-product-add-to-basket
I hope it helps.
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.