kidd6801 Posted December 30, 2005 Share Posted December 30, 2005 Can anyone tell me how to have a payment radio button checked by default? I have found previous posts: http://www.oscommerce.com/forums/index.php?showtopic=153130&hl= and http://www.oscommerce.com/forums/index.php?showtopic=42029&hl= but they are not working solutions with the latest version. Thanks in advance, KiDD Link to comment Share on other sites More sharing options...
Universe Posted December 30, 2005 Share Posted December 30, 2005 Can anyone tell me how to have a payment radio button checked by default? I have found previous posts: http://www.oscommerce.com/forums/index.php?showtopic=153130&hl= and http://www.oscommerce.com/forums/index.php?showtopic=42029&hl= but they are not working solutions with the latest version. Thanks in advance, KiDD Hi, I?m using latest version 2.2 and the instructions in your previous links are still working. Make sure you have installed the payment module, point cursor to authorize.net in your payment module section. when authorize.net is installed you should now see "remove" and "edit" button. click on edit and write 0 into the field "Sort order of display" that should help Universe Link to comment Share on other sites More sharing options...
kidd6801 Posted December 30, 2005 Author Share Posted December 30, 2005 http://www.oscommerce.com/forums/index.php?showtopic=42029&hl= Is a working solution. Just edit catalog/templates/fallback/content/checkout_payment.php Make sure the method you want selected is ordered 0 in admin/modules/payment, and instead of using: echo tep_draw_radio_field('payment', $selection[$i]['id'], 'true'); use: echo tep_draw_radio_field('payment', $selection[$i]['id'], $i==0); and your top payment method is checked by default. Hope this helps. KiDD Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.