cancel
Showing results for 
Search instead for 
Did you mean: 

Disable shipping estimation calculation

SOLVED

Disable shipping estimation calculation

Hi.

I'm looking for a way to diable the shipping estimation calculation in the shopping cart.

Every time I add something to the cart, Magento is getting shipping costs from lots of different couriers and this slows down the shopping process a lot. I know how to remove the design part, but if I remove this Magento will still calculate the shipping cost, but now show it on screen.

4 REPLIES

Re: Disable shipping estimation calculation

Did you tried removing the checkout.cart.shipping block from <checkout_cart_index> in checkout.xml layout file?

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"

Re: Disable shipping estimation calculation

I just tried this, but the calculation seems to happen before this code is executed. It doesn't make any difference on speed.

What file is resposible for calling the shipping estimation section in the shopping cart?

Re: Disable shipping estimation calculation

$this->getQuote()->getShippingAddress()->setCollectShippingRates(false);

in Mage_Checkout_Model_Cart::save(), set collect shipping rate false

Re: Disable shipping estimation calculation

Yep, that did the trick!
Thanks a lot!