Guest Hellborn Posted January 9, 2008 Share Posted January 9, 2008 I have 3 activated gateways now but I want the one on top to be at the bottom. Which file tells which gateway that should be displayed descending or ascending? Tried to changed the ID on the gateway in mysql but it didn't help. Thanks in advance! :P Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 9, 2008 Share Posted January 9, 2008 See if this works for you: In the /modules/gateway/ folder, rename the folder names of the three gateways you have activated so that the first listed has an "a" as the first letter, "b" as the first letter of second to be listed, etc. So, a-HSBC b-eGold c-Authorize_AIM or whatever you need. If I recall, CC just enumerates all the folders in the gateway folder and presets them as a list in the admin section. But maybe you are referring to the list in the Cart. In /includes/content/gateway.inc.php, line 326, put an " ORDER BY folder asc" (without the quotes) after the status = 1. So, ...WHERE module='gateway' AND status = 1 ORDER BY folder asc"); See how that works for you. Quote Link to comment Share on other sites More sharing options...
Guest Hellborn Posted January 11, 2008 Share Posted January 11, 2008 The one below works awesome for me! Try the most easy one first and now it's all good =) A big thank! In /includes/content/gateway.inc.php, line 326, put an " ORDER BY folder asc" (without the quotes) after the status = 1. So, ...WHERE module='gateway' AND status = 1 ORDER BY folder asc"); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.