I have a store where, after the customer logs in, predefined products are added to shopping cart and the customer is directed to the shopping cart page. The customer has shipping country defined and this is set to quote.

This is done in customer_login observer.

The problem is that when the customer enters to the cart, it shows default country in the Estimate Shipping selector. Only after page reload the Shipping estimator and totals calculation is run, using the correct shipping country set before.

How can I force the calculation so that correct amounts are shown when the customer lands on the page?

1 Answer 1


Try this

  • No effect. (15chars min) Aug 20, 2015 at 10:23
  • Answer edited. Try this
    – alex_b
    Aug 20, 2015 at 11:31
  • Not still. Maybe I should do this in some other observer, but which would it be? Aug 20, 2015 at 11:42
  • I wonder... Why "try this or that" if both statements are exactly the same? Oh, a semicolon! Really? Sep 26, 2017 at 11:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.