Guest Posted September 23, 2005 Posted September 23, 2005 Hi there How do I get one of the radio buttons selected by default on the checkout payment selection page? At the moment i accept credit cards and cheques but a lot of customers miss that you have to check a button or pick the wrong one. I'd like the credit card radio button to be checked automatically by default. I have the latest milestone of oscommerce installed (I saw a javascript fix but didnt work as it was for previous version). Thanks!
Guest Posted September 23, 2005 Posted September 23, 2005 have you tried setting the sort order in your admin->payment modules?
nana Posted September 23, 2005 Posted September 23, 2005 john posted a solution for doing just this in my contribution support here in page 10 i did not use it but it might work for you
♥FoundSoul Posted September 24, 2005 Posted September 24, 2005 john posted a solution for doing just this in my contribution support here in page 10 i did not use it but it might work for you <{POST_SNAPBACK}> That worked great-- THANKS! Just to bring it over to this thread and get all the info in one place; Edit your /catalog/checkout_payment.php like this: Find the body tag like this <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> Replace it with this <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" onload="javascript:document.checkout_payment.payment[0].click();return true;"> Worked like a charm for me... Jerry a.k.a. 'FoundSoul'
Recommended Posts
Archived
This topic is now archived and is closed to further replies.