brickone Posted October 1, 2008 Posted October 1, 2008 Hey community, can anyone tell me how to have a default payment method pre-selected. My site currently has two payment options. 1 authorize.net 2. cash/check/money order. I'd like to have authoize.net's radio button pre-selected as it is the primary payment method. Any insight would be greatly appreciated. Thanks - Adam
web-project Posted October 2, 2008 Posted October 2, 2008 can be easy done via payment method sort order and php code modification Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you.
brickone Posted October 4, 2008 Author Posted October 4, 2008 Alex, I already have the sort order set. Can you point me in the right direction for the php code modification? - Adam
♥geoffreywalton Posted October 4, 2008 Posted October 4, 2008 did you try googling? site:www.oscommerce.com/forums default payment method Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
Robbogeordie Posted October 4, 2008 Posted October 4, 2008 Try this : In checkout_payment.php around line 240 find this code: CODE for ($i=0, $n=sizeof($selection); $i<$n; $i++) { Just before it enter this line: CODE $payment = (!$payment) ? 'cc' : $payment; where "cc" is the name of the payment module
Recommended Posts
Archived
This topic is now archived and is closed to further replies.