cancel
Showing results for 
Search instead for 
Did you mean: 

Magento redirect to index when updating cart or estimating shipping

Magento redirect to index when updating cart or estimating shipping

Hi everyone,

 

I'm a (french) webmaster of two sites with magento. I'm not magento developper but i try to understand it in order to improve myself.

I discover a bug on my two magento 1.8 and the same on a new magento 1.9. When I'm on the cart page and i want to estimate shipping or update my cart, magento redirects me on index.

But this problem is solved when i put yes on "redirect to cart page after added product to cart" in admin.

I find it strange because it was working. I tried to understand it and looked in code/core/mage/checkout/controllers/cartController.php. I found function _goBack and probably it's the problem.

Do you have a solution or something else which can explain this problem ?

Thanks a lot guys