Magento 1.7 – How to Remove Steps from Onepage Checkout

checkoutmagento-1.7onepage-checkout

I'm using CE 1.7 and I am currently trying to remove the shipping, shipping method, and payment steps from Onepage checkout. I already removed the steps from local\mage\checkout\block\onepage\abstract.php. My issue comes when trying to progress from billing information to review when i click continue it loads the loading next step image than sits still. Any ideas would be much appreciated.

Best Answer

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;
    }

I hope now issue related to progress will not occurs.

Related Topic