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.
Please refer the below URLs:
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.