Try the Demo

Magento

eCommerce Software for Online Growth

Magento Forum

Our new hosted solution for small & emerging businesses
   
How to disable ‘Estimate Shipping and Tax’? 
 
wsj3
Guru
 
Avatar
Total Posts:  518
Joined:  2008-07-13
Portland, OR
 

Could someone tell me how you disable the ‘Estimate Shipping and Tax’?

 Signature 

Will Johnston
http://www.growandmake.com
The Store for Sustainable Living

 
Magento Community Magento Community
Magento Community
Magento Community
 
Siquelsoft
Jr. Member
 
Total Posts:  19
Joined:  2008-07-24
Bhilai Chhattishgarh India
 

hi

go to admin section and follow this path

system/configuration/Sales/shipping method
system/configuration/Sales/tax

configure the all setting according to your shipping/tax

 
Magento Community Magento Community
Magento Community
Magento Community
 
wsj3
Guru
 
Avatar
Total Posts:  518
Joined:  2008-07-13
Portland, OR
 

I don’t see the option to disable the ‘Shipping and Tax Estimator’ with either path that you suggest.

 Signature 

Will Johnston
http://www.growandmake.com
The Store for Sustainable Living

 
Magento Community Magento Community
Magento Community
Magento Community
 
Siquelsoft
Jr. Member
 
Total Posts:  19
Joined:  2008-07-24
Bhilai Chhattishgarh India
 

click to system/configuration drop down menu

after then you see left side menu SALES Part that have shipping method and tax

click to shipping method (after clicking you see all shipping method in right side )to disable your all used shipping method

and also u follow for Tax

 
Magento Community Magento Community
Magento Community
Magento Community
 
wsj3
Guru
 
Avatar
Total Posts:  518
Joined:  2008-07-13
Portland, OR
 

I guess the confusion is that I’m not trying to disable the shipping method, I’m trying to disable the ‘Shipping Cost Estimator’ as a part of the checkout.

 Signature 

Will Johnston
http://www.growandmake.com
The Store for Sustainable Living

 
Magento Community Magento Community
Magento Community
Magento Community
 
Siquelsoft
Jr. Member
 
Total Posts:  19
Joined:  2008-07-24
Bhilai Chhattishgarh India
 

well i was confused, for your problem will be solved through core coding

got to cart.phtml file through following path

app\design\frontend\default\modern\template\checkout\cart.phtml

cart.phtml

<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magentocommerce.com for more information.
*
* @category design_default
* @package Mage
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
?>
<?php
/**
* Shopping cart template
*
* @see Mage_Checkout_Block_Cart
*/
?>
<div class="page-head">
<h3><?php echo $this->__('Shopping Cart') ?></h3>
</div>
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
<form action="<?php echo $this->getUrl('checkout/cart/updatePost') ?>” method="post">
<table cellspacing="0" id="shopping-cart-table" class="data-table box-table shopping-cart">
<col width="75" />
<col />
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
<col width="1" />
<?php endif ?>
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
<col width="80" />
<?php endif; ?>
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
<col width="80" />
<?php endif; ?>
<col width="1" />
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
<col width="80" />
<?php endif; ?>
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
<col width="80" />
<?php endif; ?>
<col width="40" />

<?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
<thead>
<tr>
<th rowspan="<?php echo $mergedCells; ?>"> </th>
<th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Product Name') ?></th>
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
<th rowspan="<?php echo $mergedCells; ?>” class="a-center"><?php echo $this->__('Move to Wishlist') ?></th>
<?php endif ?>
<th class="a-center" colspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Unit Price') ?></th>
<th rowspan="<?php echo $mergedCells; ?>” class="a-center"><?php echo $this->__('Qty') ?></th>
<th colspan="<?php echo $mergedCells; ?>” class="a-center"><?php echo $this->__('Subtotal') ?></th>
<th rowspan="<?php echo $mergedCells; ?>” class="a-center"><?php echo $this->__('Remove') ?></th>
</tr>
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
<tr>
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
</tr>
<?php endif; ?>
</thead>
<tfoot>
<tr>
<td colspan="100" class="a-right">
<?php if($this->getContinueShoppingUrl()): ?>
<a href="<?php echo $this->getContinueShoppingUrl() ?>” class="f-left"><?php echo $this->__('Continue Shopping') ?></a>
<?php endif; ?>
<input type="image" src="<?php echo $this->getSkinUrl('images/btn_update_qty.gif') ?>” alt="<?php echo $this->__('Update Shopping Cart') ?>"/>
</td>
</tr>
</tfoot>
<tbody>
<?php foreach($this->getItems() as $_item): ?>
<?php echo $this->getItemHtml($_item) ?>
<?php endforeach ?>
</tbody>
</table>
<script type="text/javascript\">decorateTable(’shopping-cart-table’)</script>
</form>
<br/>
<?php echo $this->getChildHtml('crosssell') ?>

<div class="cart-collateral-block">
<div class="cart-collateral">
<?php echo $this->getChildHtml('coupon') ?>
<div class="divider"></div>
<?php //if (!$this->getIsVirtual()): echo $this->getChildHtml('shipping'); endif; ?>
</div>
<div class="cart-totals">
<?php echo $this->getChildHtml('totals'); ?>

<div class="clear"></div>
<?php if(!$this->hasError()): ?>
<ul class="checkout-types">
<?php echo $this->getChildHtml('methods') ?>
</ul>
<?php endif; ?>
</div>
</div>

<div class="clear"></div>

in above code <?php //if (!$this->getIsVirtual()): echo $this->getChildHtml('shipping'); endif; ?> find it and you can completely remove it or disable through // comment

 
Magento Community Magento Community
Magento Community
Magento Community
 
wsj3
Guru
 
Avatar
Total Posts:  518
Joined:  2008-07-13
Portland, OR
 

This seemed like a good idea, but it removed the shipping option info from the entire checkout and only shows the $amount when you get to the shipping choices. I just wanted to shipping options removed when you are looking at your cart. Any ideas?

 Signature 

Will Johnston
http://www.growandmake.com
The Store for Sustainable Living

 
Magento Community Magento Community
Magento Community
Magento Community
 
Alan Xu
Jr. Member
 
Total Posts:  4
Joined:  2008-09-27
 

It do works for me. Thanks a lot.

Just Remove:

<?php if (!$this->getIsVirtual()): echo $this->getChildHtml('shipping'); endif; ?>

 
Magento Community Magento Community
Magento Community
Magento Community
 
wsj3
Guru
 
Avatar
Total Posts:  518
Joined:  2008-07-13
Portland, OR
 

Yes, it does work. The problem was a bug in 1.1.6 with showing shipping options.

 Signature 

Will Johnston
http://www.growandmake.com
The Store for Sustainable Living

 
Magento Community Magento Community
Magento Community
Magento Community
 
DwayneN
Jr. Member
 
Total Posts:  11
Joined:  2009-05-21
 

Worked like a charm! Thank you.

 
Magento Community Magento Community
Magento Community
Magento Community
 
creativemediaalliance
Jr. Member
 
Total Posts:  23
Joined:  2009-01-28
 

Thank you worked great!

 
Magento Community Magento Community
Magento Community
Magento Community
 
foxdrg
Jr. Member
 
Total Posts:  1
Joined:  2009-10-14
 

* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magentocommerce.com for more information.
*
* @category design_default
* @package Mage
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
?>
<?php
/**
* Shopping cart template
*
* @see Mage_Checkout_Block_Cart
*/
?>
<div class="page-head">
<h3><?php echo $this->__('Shopping Cart') ?></h3>
</div>
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
<form action="<?php echo $this->getUrl('checkout/cart/updatePost') ?>” method="post">
<table cellspacing="0" id="shopping-cart-table" class="data-table box-table shopping-cart">
<col width="75" />
<col />
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
<col width="1" />
<?php endif ?>
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
<col width="80" />
<?php endif; ?>
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
<col width="80" />
<?php endif; ?>
<col width="1" />
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
<col width="80" />
<?php endif; ?>
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
<col width="80" />
<?php endif; ?>
<col width="40" />

<?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
<thead>
<tr>
<th rowspan="<?php echo $mergedCells; ?>"> </th>
<th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Product Name') ?></th>
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
<th rowspan="<?php echo $mergedCells; ?>” class="a-center"><?php echo $this->__('Move to Wishlist') ?></th>
<?php endif ?>
<th class="a-center" colspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Unit Price') ?></th>
<th rowspan="<?php echo $mergedCells; ?>” class="a-center"><?php echo $this->__('Qty') ?></th>
<th colspan="<?php echo $mergedCells; ?>” class="a-center"><?php echo $this->__('Subtotal') ?></th>
<th rowspan="<?php echo $mergedCells; ?>” class="a-center"><?php echo $this->__('Remove') ?></th>
</tr>
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
<tr>
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
</tr>
<?php endif; ?>
</thead>
<tfoot>
<tr>
<td colspan="100" class="a-right">
<?php if($this->getContinueShoppingUrl()): ?>
<a href="<?php echo $this->getContinueShoppingUrl() ?>” class="f-left"><?php echo $this->__('Continue Shopping') ?></a>
<?php endif; ?>
<input type="image" src="<?php echo $this->getSkinUrl('images/btn_update_qty.gif') ?>” alt="<?php echo $this->__('Update Shopping Cart') ?>"/>
</td>
</tr>
</tfoot>
<tbody>
<?php foreach($this->getItems() as $_item): ?>
<?php echo $this->getItemHtml($_item) ?>
<?php endforeach ?>
</tbody>
</table>
<script type="text/javascript\">decorateTable(’shopping-cart-table’)</script>
</form>
<br/>
<?php echo $this->getChildHtml('crosssell') ?>

<div class="cart-collateral-block">
<div class="cart-collateral">
<?php echo $this->getChildHtml('coupon') ?>
<div class="divider"></div>
<?php //if (!$this->getIsVirtual()): echo $this->getChildHtml('shipping'); endif; ?>
</div>
<div class="cart-totals">
<?php echo $this->getChildHtml('totals'); ?>

<div class="clear"></div>
<?php if(!$this->hasError()): ?>
<ul class="checkout-types">
<?php echo $this->getChildHtml('methods') ?>
</ul>
<?php endif; ?>
</div>
</div>

<div class="clear"></div>

in above code <?php //if (!$this->getIsVirtual()): echo $this->getChildHtml('shipping'); endif; ?> find it and you can completely remove it or disable through // comment

It works so great..Thank you. I never received bug.

foxdrg
Simulation prêt

 
Magento Community Magento Community
Magento Community
Magento Community
 
Helder
Member
 
Total Posts:  34
Joined:  2008-06-20
Montevideo, Uruguay.
 

I have commented the line:

<?php if (!$this->getIsVirtual()): echo $this->getChildHtml('shipping'); endif; ?>

But I still see the box for shipping estimator.

Any help please? I have an error on a LIVE site.

 
Magento Community Magento Community
Magento Community
Magento Community
 
xogenics
Member
 
Avatar
Total Posts:  35
Joined:  2011-10-17
Netherlands
 

Disable the shipping estimate and coupon code boxes in your shopping cart. If you think these features need to be shown again, simply enable either or both. Check our free extension Clean Carts

 Signature 

Xogenics gained Magento expertise by developing integrated shops with complex ERP systems. Now we’ve decided to share some of our frond-end developments with the community! Check out our FREE and commercial extensions on:
Xogenics.com

- Smarter Shipping Methods
- Recurring Sales
- Multiple Select Navigation
- Bundled Carrousels
- Clean Carts
- Hide Cart
- Stock Status Images

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
© Copyright 2012 Magento Inc.
Privacy Policy|Terms of Service
Magento Community Count
704029 users|1841 users currently online|497349 forum posts