Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Automatically put flat rate shipping & taxes into shopping cart subtotal
 
john_wilson
Member
 
Total Posts:  35
Joined:  2007-09-20
 

I have a flate rate for shipping on all orders, and I have set that up in Magento, and the taxes are the same for every order as well, but the shopping cart page still has the “Estimate Shipping and Tax” box on it.

Also, we only ship to one country, and customers know this, so asking them to select their country is a bit strange.

Since shipping and taxes will be the same for every customer, it would be nice if the shopping cart just put the flat rate shipping amount and taxes into the subtotal automatically.

 
Magento Community Magento Community
Magento Community
Magento Community
 
kathy
Member
 
Avatar
Total Posts:  44
Joined:  2007-11-11
 

Exactly the same for my requirements smile.

The question ist, how to deactivate the Estimate Shipping and Tax box?

Do you find a solution?

kind regards,
kathy

 
Magento Community Magento Community
Magento Community
Magento Community
 
Seurot
Jr. Member
 
Total Posts:  7
Joined:  2007-11-02
Ohio
 

To remove that box, you need to change two things.  First, you need to delete/rename ‘shipping.phtml’ in /app/design/frontend/default/default/template/checkout/cart/

Second, you need to remove <?=$this->getChildHtml('shipping')?> from the file ‘cart.phtml’ in /app/design/frontend/default/default/template/checkout/ — It should be around line 181

Sorry if it seems a bit complicated.  I just saw this post and wanted to figure it out real fast.

 
Magento Community Magento Community
Magento Community
Magento Community
 
kathy
Member
 
Avatar
Total Posts:  44
Joined:  2007-11-11
 

Thanks Seurot for your fast help!

It works! Yippieh!

thanks again,
Kathy

 
Magento Community Magento Community
Magento Community
Magento Community
 
tastymouse
Member
 
Total Posts:  43
Joined:  2010-04-28
Amsterdam, The Netherlands
 

Alas, this solution is outdated. Is there a way to do this in 1.4.1.0?

 
Magento Community Magento Community
Magento Community
Magento Community
 
ozoneboy
Jr. Member
 
Total Posts:  3
Joined:  2010-03-23
 

To remove the estimate shipping panel just change the CSS as follows:

.cart .shipping { display: none; }

You’ll find that on line 1166 in the default styles.css file

EDIT: just realised that removes the coupon panel as well. To only remove the estimate shipping panel add the following code to your CSS file:

.col-2 .shipping { display: none; }

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top