Page 1 of 1

[HACK] Sort Payment Methods

Posted: Sun Aug 30, 2009 4:46 pm
by CharlieFoxtrot
Here's a quick and easy hack which will allow you to sort the order that payment methods are displayed on the checkout page.

I wanted the "Cheque" option to appear LAST on the list so modified the following file:

\modules\checkout\cheque\lang\en\language.ini

Search for:

Code: Select all

; [Cheque]
ChequeName = "Cheque"
Change to:

Code: Select all

; [Cheque]
ChequeName = "Z_Cheque"
Save the changes and visit your checkout page. The "Cheque" option should now appear LAST! :-)

I have tested this procedure with ISC 4.0.7 and it works perfectly. I have NOT tested this with any other ISC versions.

The rest of my payment methods were in an acceptable order, so I have not experimented with using the same procedure on multiple payment methods.

Enjoy!

8-) Buy me a beer: paypal to... charlie.foxtrot.ebay [at] xemaps.com 8-)