[HACK] Sort Payment Methods

Specific Information relating to Version 4.x only
Post Reply
CharlieFoxtrot
Confirmed
Confirmed
Posts: 413
Joined: Sun Aug 09, 2009 1:23 pm

[HACK] Sort Payment Methods

Post 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-)
ISC 4.0.7

"... and let's be honest that whole "by design" thing is getting old too."
Post Reply