Your shopping cart is empty. Browse our Store

Magento

Open Source eCommerce Evolved

Magento Forum

   
One page checkout - remove payment method step
 
srinigenie
Guru
 
Avatar
Total Posts:  361
Joined:  2008-02-04
 

Hi all,

I have only one payment method which is a payment gateway provided by a bank. So my flow would be to take the customer through the one page checkout and finally once customer has reviewed, I redirect the browser to payment gateway site for payment.

So here, I need to remove the payment method step and am wondering how to do this. Anybody has customized to this effect?

Thanks in advance!!

 
Magento Community Magento Community
Magento Community
Magento Community
 
kenosis
Member
 
Total Posts:  36
Joined:  2008-03-14
 

I am in need of something similar:  I need to remove all of the shipping related steps.  Here is a link to a post on adding a step to the single screen checkout.  It will give you a leg up on where to look:

http://www.magentocommerce.com/boards/viewthread/6775/

As we figure things out let’s post them here.  First tip I can give is in onepage.php: the getSteps() function has a $stepCodes array - remove the step you want from that.  That where I am at this point in time: I’m currently studying opcheckout.js to see what has to be done to cause it to skip the steps I’ve removed - currently the page gets confused because the steps are missing by (I believe opcheckout.js does not know this.)

Once I hack the core code to get this working, there’s the the issue of trying to refactor so my changes don’t get in the way of Mage upgrades.

Ken

 Signature 

Ken Hilton | | http://www.untangle.com

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International) to request a call-back.
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien    Privacy Policy|Terms of Service