Jump to content

Change the order that Payment Gateways are listed


Guest llchrisb

Recommended Posts

Guest llchrisb

Greetings,

I currently have the DirectPayment and ExpressCheckout gateways enabled, and have them labeled as "Credit Card" and "Paypal" on the screen where customers select their payment method. I.e.: on Step 5 of checkout, customers see the following:

Please choose your preferred payment method:

Credit Card

Paypal

Is it possible for me to reverse these so that Paypal is listed first? I.e.:

Please choose your preferred payment method:

Paypal

Credit Card

Thanks

Chris

Link to comment
Share on other sites

There is a simple hack just for you:

Open includes/content/gateway.inc.php

SEARCH FOR

$gatewayModules = $db->select("SELECT folder, `default` FROM ".$glob['dbprefix']."CubeCart_Modules WHERE module='gateway' AND status = 1");


REPLACE WITH
$gatewayModules = $db->select("SELECT folder, `default` FROM ".$glob['dbprefix']."CubeCart_Modules WHERE module='gateway' AND status = 1 ORDER BY folder DESC");

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...