Try the Demo

Magento

eCommerce Software for Online Growth

Magento Forum

Our new hosted solution for small & emerging businesses
   
Page 1 of 2
How to remove the Estimate Shipping and Tax box? 
 
Allysin
Sr. Member
 
Avatar
Total Posts:  205
Joined:  2008-04-03
 

Hi,

Would anyone know how to remove the ‘Estimate Shipping and Tax’ box from the 2nd page of the order process? Please...I deliver flowers and do not ship anything so this has no meaning for me.

Thank you!  kiss

 
Magento Community Magento Community
Magento Community
Magento Community
 
chiaraweb
Guru
 
Avatar
Total Posts:  721
Joined:  2008-03-21
Aviano ~ Italy
 

Hi Allysin

I removed this row

<block type="checkout/cart_shipping" name="checkout.cart.shipping" as="shipping" template="checkout/cart/shipping.phtml"/>

from this file

/app/design/frontend/ecobaby/default/layout/checkout.xml

 Signature 

Believe Yourself

My Magento Shop http://www.ecobaby.it

 
Magento Community Magento Community
Magento Community
Magento Community
 
gfxguru
Sr. Member
 
Total Posts:  179
Joined:  2008-11-20
 

I’m trying to disable shipping also. Any idea on how we can disable shipping completely

 
Magento Community Magento Community
Magento Community
Magento Community
 
rdbrown
Jr. Member
 
Total Posts:  3
Joined:  2009-03-28
 
chiaraweb - 12 August 2008 03:56 AM

Hi Allysin

I removed this row

<block type="checkout/cart_shipping" name="checkout.cart.shipping" as="shipping" template="checkout/cart/shipping.phtml"/>

from this file

/app/design/frontend/ecobaby/default/layout/checkout.xml

chiaraweb, This removes it from the checkout, but how would you remove it from the shopping cart?

 
Magento Community Magento Community
Magento Community
Magento Community
 
vij
Sr. Member
 
Total Posts:  81
Joined:  2009-02-13
 

hi
how does work “Estimate Shipping and Tax” on Shopping Cart.....
when i click on get a quote nothing happens on page.....

any help would be appriciated…

thank you

 
Magento Community Magento Community
Magento Community
Magento Community
 
Bruno Morejon
Sr. Member
 
Avatar
Total Posts:  83
Joined:  2009-06-05
 

Search inside the templates folder. Everything is in there and is not difficult, just delete a couple of lines and you r done.

 Signature 

Bruno Morejon
Diretor de Tecnologia
http://www.zinx.com.br

 
Magento Community Magento Community
Magento Community
Magento Community
 
rokonboss
Member
 
Avatar
Total Posts:  43
Joined:  2008-11-19
 

I Got it..........

 Signature 

Thanks
RoKoN

My Website

 
Magento Community Magento Community
Magento Community
Magento Community
 
Discovery
Enthusiast
 
Total Posts:  767
Joined:  2007-12-29
 

You need to open /app/design/frontend/default/XXXX/template/checkout/cart.phtml

Then find the line that mentions shipping.

Delete it.

Save file.

Check cache off.

Check module does not show.

 Signature 

How to ask questions

 
Magento Community Magento Community
Magento Community
Magento Community
 
gurukatre
Jr. Member
 
Avatar
Total Posts:  2
Joined:  2009-09-18
pune
 

hi Allysin

i had to remove whole shipping things from onepage checkout page.

I tied and found the new solution. let u know i m working on latest version of magento 1.3.2.4

1.) open the file /app/code/core/Mage/Checkout/Block/onepage.php

find the function

public function getSteps()

go to the line no 44

u will found below line

$stepCodes = array('billing''shipping''shipping_method''payment''review');
comment it
//$stepCodes = array('billing', 'shipping', 'shipping_method', 'payment', 'review');
$stepCodes = array('billing''payment''review');

2.) now open the file /app/code/core/Mage/Checkout/controllers/OnepageController.php

find the function

public function saveBillingAction()

go to the line no 255 comment whole if loop

/*   if (!isset($result['error'])) { */
                /* check quote for virtual */
               /* if ($this->getOnepage()->getQuote()->isVirtual()) {
                    $result['goto_section'] = 'payment';
                    $result['update_section'] = array(
                        'name' => 'payment-method',
                        'html' => $this->_getPaymentMethodsHtml()
                    );
                }
                elseif (isset($data['use_for_shipping']) && $data['use_for_shipping'] == 1) {

                   $result['goto_section'] = 'payment';

                    $result['update_section'] = array(
                        'name' => 'shipping-method',
                        'html' => $this->_getShippingMethodsHtml()
                    );

                    $result['allow_sections'] = array('shipping');
                    $result['duplicateBillingInfo'] = 'true';
                }
                else {
                    $result['goto_section'] = 'payment';
                }
            }*/

and paste below script

if(!$result{
                Mage
::dispatchEvent('checkout_controller_onepage_save_shipping_method', array('request'=>$this->getRequest(), 'quote'=>$this->getOnepage()->getQuote()));
                
$this->getResponse()->setBody(Zend_Json::encode($result));

                
$result['goto_section''payment';
                
$result['update_section'= array(
                    
'name' => 'payment-method',
                    
'html' => $this->_getPaymentMethodsHtml()
                );
            
}

need to do some comment part wait for me

smile

story is remaining

 
Magento Community Magento Community
Magento Community
Magento Community
 
merigold
Sr. Member
 
Total Posts:  207
Joined:  2009-04-22
 
chiaraweb - 12 August 2008 03:56 AM

Hi Allysin

I removed this row

<block type="checkout/cart_shipping" name="checkout.cart.shipping" as="shipping" template="checkout/cart/shipping.phtml"/>

from this file

/app/design/frontend/ecobaby/default/layout/checkout.xml

This works for me to Remove “Estimate Shipping and Tax” Block on shopping cart page. I try to make it “Disable” on Admin->configuration->Advance -> Shipping Module ( Mage_Shipping) but this not work for me.
Finally done the code comment from xml.

 
Magento Community Magento Community
Magento Community
Magento Community
 
coquille
Jr. Member
 
Total Posts:  4
Joined:  2009-07-07
 
gurukatre - 18 November 2009 01:28 AM

hi Allysin

i had to remove whole shipping things from onepage checkout page.


I tied and found the new solution. let u know i m working on latest version of magento 1.3.2.4

1.) open the file /app/code/core/Mage/Checkout/Block/onepage.php

find the function

public function getSteps()

go to the line no 44

u will found below line
$stepCodes = array('billing''shipping''shipping_method''payment''review');
comment it
//$stepCodes = array('billing', 'shipping', 'shipping_method', 'payment', 'review');
$stepCodes = array('billing''payment''review');


2.) now open the file /app/code/core/Mage/Checkout/controllers/OnepageController.php

find the function
public function saveBillingAction()

go to the line no 255 comment whole if loop

/*   if (!isset($result['error'])) { */
                /* check quote for virtual */
               /* if ($this->getOnepage()->getQuote()->isVirtual()) {
                    $result['goto_section'] = 'payment';
                    $result['update_section'] = array(
                        'name' => 'payment-method',
                        'html' => $this->_getPaymentMethodsHtml()
                    );
                }
                elseif (isset($data['use_for_shipping']) && $data['use_for_shipping'] == 1) {

                   $result['goto_section'] = 'payment';

                    $result['update_section'] = array(
                        'name' => 'shipping-method',
                        'html' => $this->_getShippingMethodsHtml()
                    );

                    $result['allow_sections'] = array('shipping');
                    $result['duplicateBillingInfo'] = 'true';
                }
                else {
                    $result['goto_section'] = 'payment';
                }
            }*/

and paste below script


if(!$result{
                Mage
::dispatchEvent('checkout_controller_onepage_save_shipping_method', array('request'=>$this->getRequest(), 'quote'=>$this->getOnepage()->getQuote()));
                
$this->getResponse()->setBody(Zend_Json::encode($result));

                
$result['goto_section''payment';
                
$result['update_section'= array(
                    
'name' => 'payment-method',
                    
'html' => $this->_getPaymentMethodsHtml()
                );
            
}

need to do some comment part wait for me

smile

story is remaining

Thanks for this, I applied the modifications and finally got ride of almost all relations to shipping since I will only be selling services.  But I still have one little bit left.  How can I remove from “Shopping Cart” page the “Shipping & Handling” which is under the sub total and before the tax?

 
Magento Community Magento Community
Magento Community
Magento Community
 
sterg17
Sr. Member
 
Total Posts:  92
Joined:  2009-11-06
 

Hi There,

I did the below and commented out the shipping block and it removed the Estimate Shipping for my site.  I worked well!

Now, 3 months later, I uncommented it because I want the estimate shipping to show and now it wont show! Any ideas why? I refreshed all my cache via the cache settings..

any reasons why it wont show again since i uncommented the code??

chiaraweb - 12 August 2008 03:56 AM

Hi Allysin

I removed this row

<block type="checkout/cart_shipping" name="checkout.cart.shipping" as="shipping" template="checkout/cart/shipping.phtml"/>

from this file

/app/design/frontend/ecobaby/default/layout/checkout.xml

 
Magento Community Magento Community
Magento Community
Magento Community
 
optical
Member
 
Total Posts:  32
Joined:  2009-08-06
 

Once you comment out the ship estimate feature, does not affect the shipping function at all?  e.g.  I want the shipping quotes removed both in the shopping cart and checkout but want the shipping information (selected shipper, etc) to continue to work.

I noticed the shipping quotes will appear in the checkout as well in the forms of e.g. UPS $xx.xx. in additional to quote box in the cart.

 
Magento Community Magento Community
Magento Community
Magento Community
 
wright83
Member
 
Total Posts:  47
Joined:  2010-01-13
 

does anyone have the original file, as i removed the shipping estimate but would now like it back.

running 1.3.2.4

regards

 
Magento Community Magento Community
Magento Community
Magento Community
 
nabler
Member
 
Total Posts:  73
Joined:  2010-07-27
 

dude....is there no way except that?.

 Signature 

http://www.plazamalang.com
Mage Lovers even it make me dying....

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

You don’t need to change any code, just the CSS as follows:

.cart .shipping { display: none; }

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

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
Page 1 of 2
 
© Copyright Magento Inc.
Privacy Policy|Terms of Service
Magento Community Count
819302 users|756 users currently online|519712 forum posts