tedmcdonald Posted October 19, 2002 Share Posted October 19, 2002 Howdy Folks Is there some way to have Credit Card auto selected as the payment method at checkout? As it is, when folks go to checkout, they have to select either Credit Card or Check/Money Order. If they select nothing, they get an error when they click Continue; furthermore, they lose all the information that they entered in the CC area. Very frustrating. I would like it so that the Credit Card payment radio button is selected by default. Any help is greatly appreciated. Best Regards, Ted Link to comment Share on other sites More sharing options...
tedmcdonald Posted October 21, 2002 Author Share Posted October 21, 2002 Howdy Folks I am desperate to get this fixed. I am getting emails from folks who fill out the credit card information, hit continue and have to go back and select the credit card radio button and fill out the information all over again because it wasn't automatically selected. Please help :cry: Link to comment Share on other sites More sharing options...
klyve1 Posted October 21, 2002 Share Posted October 21, 2002 I don't know what the code is or what page but this is just a tweak to the html. Notice the 'checked' parts for the radio and the checkbox and the drop down is the first option, so delete the first option (or re-arrange the order) <input name="One" type="radio" value="radioOne" /> <input name="Two" type="radio" value="radioTwo" /> <br /> <input name="Check One" type="checkbox" value="Chk1" checked="checked" /> <input name="CheckTwo" type="checkbox" value="Chk2" /> <br /> <select name="menu1"> <option value="Choose .....">Choose</option> <option>CCard</option> <option>Check/Money Order</option> </select> <label> ---__--- Klyve Link to comment Share on other sites More sharing options...
tedmcdonald Posted October 21, 2002 Author Share Posted October 21, 2002 Howdy klyve1 Thanks for trying to help Unfortunately, I can not find the location of the code you have asked me to change. Somehow, I don't think that it is correct. I believe that the it is dynamically created. Surely, I am not the only one experiencing this problem. Anyone out there know the answer to this problem: I need the Credit Card radio button to be selected by default when a customer checks out. Orders are being lost. Best Regards, Ted Link to comment Share on other sites More sharing options...
klyve1 Posted October 21, 2002 Share Posted October 21, 2002 Then perhaps the dB has the 'Selected' option within it and can be edited there? ---__--- Klyve Link to comment Share on other sites More sharing options...
linuxmaster1979 Posted January 14, 2004 Share Posted January 14, 2004 I found a fix that you were looking for. I had run into the same problem. In your BODY tag, add this to it: onload="selectRowEffect(this, 0)" You can change the 0 to whatever number you want to be the active selection on page load. Enjoy! Scott Knowledge Base | Contributions | Tips & Tricks Forum There are things known and there are things unknown, and in between are the doors. -- Jim Morrison Link to comment Share on other sites More sharing options...
cookiesa Posted July 10, 2007 Share Posted July 10, 2007 I would like to make this change but don't know where to insert the text. Can anyone help please? (I believe I need to make the change in checkout_payment.php but not sure where to insert the text Link to comment Share on other sites More sharing options...
Guest Posted July 10, 2007 Share Posted July 10, 2007 I would like to make this change but don't know where to insert the text. Can anyone help please? (I believe I need to make the change in checkout_payment.php but not sure where to insert the text Read this http://www.oscommerce.com/forums/index.php?showtopic=42029 Link to comment Share on other sites More sharing options...
cookiesa Posted July 11, 2007 Share Posted July 11, 2007 Thanks, For anyone looking to do this follow the link above but have a read through the thread before you start, there are a couple of good tips from different members Link to comment Share on other sites More sharing options...
sunrise99 Posted January 22, 2009 Share Posted January 22, 2009 Read thishttp://www.oscommerce.com/forums/index.php?showtopic=42029 many thanks!!! Good solution! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.