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

Page 1 of 2
Remove shipping and shipping method? 
 
Akuta
Jr. Member
 
Total Posts:  3
Joined:  2009-01-15
 

Can someone please enlighten me as to how to remove the shipping and shipping method options from the checkout process? I’m very new to Magento and this has been one of many things I can’t quite get a grip on (that I’ll be needing to do).

Thanks so much.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Akuta
Jr. Member
 
Total Posts:  3
Joined:  2009-01-15
 

No one has any idea?

If it helps, the reasoning is because virtual products will be the only thing used, and so these options become unnecessary.

 
Magento Community Magento Community
Magento Community
Magento Community
 
TechNWeb LLC
Member
 
Avatar
Total Posts:  44
Joined:  2008-10-29
Austin, TX
 

I’d like to know this as well… Not only shipping, but also payment methods for request a quote.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Akuta
Jr. Member
 
Total Posts:  3
Joined:  2009-01-15
 

One more time; can someone please give some insight into this issue?

 
Magento Community Magento Community
Magento Community
Magento Community
 
TechNWeb LLC
Member
 
Avatar
Total Posts:  44
Joined:  2008-10-29
Austin, TX
 

I have figured this out, was quite a project.

At this point the site will be used as a quoting mechanism so there will be no pricing and no shipping, just shopping -> cart -> request a quote.

Ill try to post a detailed review of how I did it as soon as we launch this site. I should have more free time then.

 
Magento Community Magento Community
Magento Community
Magento Community
 
TechNWeb LLC
Member
 
Avatar
Total Posts:  44
Joined:  2008-10-29
Austin, TX
 

Is pent some time and posted this in my blog that i just started. Ill be adding more tutorials on questions that were left unanswered in this forum so stay tuned.

http://www.igorkrasnykh.com/2009/02/24/removing-shipping-and-payment-steps/

 
Magento Community Magento Community
Magento Community
Magento Community
 
SteveMacey
Jr. Member
 
Avatar
Total Posts:  21
Joined:  2009-06-13
Tranmere, Merseyside, UK
 

Not sure if you ever found the answer or not, but I spent a lot of time with some very complicated guides that never seemed to achieve what I was looking for. Eventually I worked it out for myself. It is actually very easy and is just a case of adding a line of code. For more information, take a look at my blog.

http://www.macetech.co.uk/blog

 
Magento Community Magento Community
Magento Community
Magento Community
 
malomarmoset
Member
 
Total Posts:  37
Joined:  2008-07-16
 

Hi Steve, the Shipping directory is missing from the link to the file.

I tried this and nothing happened, what exactly should I expect it to do? It doesn’t seem to remove anything from checkout.

I’m using an un modded 1.3.2.3 version

 
Magento Community Magento Community
Magento Community
Magento Community
 
SteveMacey
Jr. Member
 
Avatar
Total Posts:  21
Joined:  2009-06-13
Tranmere, Merseyside, UK
 

For some reason I am unable to replicate this with any other Magento Installation. I have checked it by deleting the line of code I added and it puts the shipping options back again, when I add the code in it takes them away. As soon as I figure this out I will post a reply.

Sorry guys, it honestly worked with mine but I guess I must have altered something else as well.

 
Magento Community Magento Community
Magento Community
Magento Community
 
AITOC
Guru
 
Avatar
Total Posts:  618
Joined:  2009-02-19
US
 

Hello,

This can be achieved for one page checkout with the help of our Configurable Checkout extension. Please feel free to read more info about it here:
http://www.magentocommerce.com/extension/1565

 
Magento Community Magento Community
Magento Community
Magento Community
 
dum dum
Jr. Member
 
Total Posts:  22
Joined:  2009-05-04
 

hi,
i nned help on this also, anyone can help?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Webcoder
Jr. Member
 
Total Posts:  9
Joined:  2009-04-09
 

I am also facing same types of problem. anyone can help me?

 
Magento Community Magento Community
Magento Community
Magento Community
 
facecjf
Jr. Member
 
Avatar
Total Posts:  22
Joined:  2010-02-12
Milwaukee, WI
 

Go here: http://www.magentocommerce.com/wiki/customizing_onepage_checkout_-_remove_shipping_method

 
Magento Community Magento Community
Magento Community
Magento Community
 
aashishgupta1979
Jr. Member
 
Total Posts:  9
Joined:  2010-07-31
 
facecjf - 29 March 2010 06:41 AM

Go here: http://www.magentocommerce.com/wiki/customizing_onepage_checkout_-_remove_shipping_method

The solution shown here states that it doesn’t work 100% on 1.4. Has anyone figured out one that does?

 
Magento Community Magento Community
Magento Community
Magento Community
 
q23media
Member
 
Avatar
Total Posts:  72
Joined:  2009-04-29
 

yeah i need this for 1.4. too...section disapeers, but still wants a shipping method to be choosen when placing the order : “Please specify a shipping method.”

another question to the second step in the wiki doing this change in “ public function saveOrderAction() “: should I replace everything or just add these too lines somewhere in “ public function saveOrderAction() “ ?

I’m a little confused, whether this is a 1.4 problem or just my understanding…

Thanks allot people

 
Magento Community Magento Community
Magento Community
Magento Community
 
q23media
Member
 
Avatar
Total Posts:  72
Joined:  2009-04-29
 
Goof_One - 21 September 2010 12:16 AM

yeah i need this for 1.4. too...section disapeers, but still wants a shipping method to be choosen when placing the order : “Please specify a shipping method.”

another question to the second step in the wiki doing this change in “ public function saveOrderAction() “: should I replace everything or just add these too lines somewhere in “ public function saveOrderAction() “ ?

I’m a little confused, whether this is a 1.4 problem or just my understanding…


Thanks allot people

SOLVED! WORKS FOR 1.4!!
(Thanks to all people that set up this wiki)

What solved the mentioned problem above was the right placing of
{
$this->_expireAjax();
$this->saveShippingMethodAction();

}

inside “ public function saveOrderAction() “..now my entire “ public function saveOrderAction() “ looks like this

/**
     * Create order action
     */
     
     
     
    public function saveOrderAction()
    
    
    
{
     
    {
    $this
->_expireAjax();
    
$this->saveShippingMethodAction();

    

        
if ($this->_expireAjax()) {
            
return;
        
}

        $result 
= array();
        try 
{
            
if ($requiredAgreements Mage::helper('checkout')->getRequiredAgreementIds()) {
                $postedAgreements 
array_keys($this->getRequest()->getPost('agreement', array()));
                if (
$diff array_diff($requiredAgreements$postedAgreements)) {
                    $result[
'success'false;
                    
$result['error'true;
                    
$result['error_messages'$this->__('Please agree to all the terms and conditions before placing the order.');
                    
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
                    return;
                
}
            }
            
if ($data $this->getRequest()->getPost('payment'false)) {
                $this
->getOnepage()->getQuote()->getPayment()->importData($data);
            
}
            $this
->getOnepage()->saveOrder();
            
$redirectUrl $this->getOnepage()->getCheckout()->getRedirectUrl();
            
$result['success'true;
            
$result['error']   false;
        
catch (Mage_Core_Exception $e{
            Mage
::logException($e);
            
Mage::helper('checkout')->sendPaymentFailedEmail($this->getOnepage()->getQuote(), $e->getMessage());
            
$result['success'false;
            
$result['error'true;
            
$result['error_messages'$e->getMessage();

            if (
$gotoSection $this->getOnepage()->getCheckout()->getGotoSection()) {
                $result[
'goto_section'$gotoSection;
                
$this->getOnepage()->getCheckout()->setGotoSection(null);
            
}

            
if ($updateSection $this->getOnepage()->getCheckout()->getUpdateSection()) {
                
if (isset($this->_sectionUpdateFunctions[$updateSection])) {
                    $updateSectionFunction 
$this->_sectionUpdateFunctions[$updateSection];
                    
$result['update_section'= array(
                        
'name' => $updateSection,
                        
'html' => $this->$updateSectionFunction()
                    );
                
}
                $this
->getOnepage()->getCheckout()->setUpdateSection(null);
            
}
        } 
catch (Exception $e{
            Mage
::logException($e);
            
Mage::helper('checkout')->sendPaymentFailedEmail($this->getOnepage()->getQuote(), $e->getMessage());
            
$result['success']  false;
            
$result['error']    true;
            
$result['error_messages'$this->__('There was an error processing your order. Please contact us or try again later.');
        
}
        $this
->getOnepage()->getQuote()->save();
        
/**
         * when there is redirect to third party, we don't want to save order yet.
         * we will save the order in return action.
         */
        
if (isset($redirectUrl)) {
            $result[
'redirect'$redirectUrl;
        
}

        $this
->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
    
}
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 1 of 2