How to remove Shipping and Payment from one-page Checkout in Magento?

2.1k views Asked by At

I Try to rewrite below block files with following functions:

Rewrite class Mage_Checkout_Block_Onepage_Billing

    public function canShip()
    {
        return false;
    }


   Rewrite class Mage_Checkout_Block_Onepage_Shipping_Method
    public function isShow()
    {
        return false;
    }

   Rewrite class Mage_Checkout_Block_Onepage_Shipping
    public function isShow()
    {
          return false;
    }

My issue is it doesn't go to the next step to accomplish the order

1

There are 1 answers

0
Oscprofessionals On