salvador21 Posted August 7, 2011 Share Posted August 7, 2011 When a customer gest to step 3 of ordering, they get the direction: Please choose your payment method from those listed below. However if there is only one payment method, it should not be necessary to select it, it should just be already selected. This actually confuses customers who keep just clicking on the MAKE PAYMENT button, but of course nothing happens. can anyone please help? Quote Link to comment Share on other sites More sharing options...
leeofaccy Posted August 7, 2011 Share Posted August 7, 2011 If there is only one payment method, it should be selected. Lee Quote Link to comment Share on other sites More sharing options...
salvador21 Posted August 7, 2011 Author Share Posted August 7, 2011 If there is only one payment method, it should be selected. Exactly my point. It makes no sense to me that the customer has to work this out when there are no choices. Do you know how I can make it do this ? (ie be selected by default) Quote Link to comment Share on other sites More sharing options...
leeofaccy Posted August 7, 2011 Share Posted August 7, 2011 Has your site been modified in any way? Quote Link to comment Share on other sites More sharing options...
salvador21 Posted August 7, 2011 Author Share Posted August 7, 2011 Has your site been modified in any way? Yes, but not very much. Quote Link to comment Share on other sites More sharing options...
leeofaccy Posted August 7, 2011 Share Posted August 7, 2011 Can you provide a URL so we can take a look? Quote Link to comment Share on other sites More sharing options...
salvador21 Posted August 7, 2011 Author Share Posted August 7, 2011 Can you provide a URL so we can take a look? Thank you. It's here: http://store.cafesaxophone.com/ Quote Link to comment Share on other sites More sharing options...
leeofaccy Posted August 7, 2011 Share Posted August 7, 2011 I made a test order (which you can delete now), so I can see what is happening. Open skins/YOUR_SKIN/styleTemplates/content/gateway.tpl and find this block of code <!-- BEGIN: gateways_true --> <tr> <td class="{TD_CART_CLASS}"><strong>{VAL_GATEWAY_DESC}</strong></td> <td width="50" align="right" class="{TD_CART_CLASS}"> <input name="gateway" type="radio" value="{VAL_GATEWAY_FOLDER}" {VAL_CHECKED} /> </td> </tr> <!-- END: gateways_true --> If {VAL_CHECKED} is missing, enter it, as above. If it is present in the code block, let me know and I will give you another block of code to check. Lee Quote Link to comment Share on other sites More sharing options...
salvador21 Posted August 7, 2011 Author Share Posted August 7, 2011 Many thanks for checking. The code is the same as yours (apart from <td width="50" align="center", which is not the issue) {VAL_CHECKED} is there as in your example Quote Link to comment Share on other sites More sharing options...
leeofaccy Posted August 7, 2011 Share Posted August 7, 2011 Open includes/content.gateway.inc.php and see if this block on your file, matches the following... if($gatewayModules[$i]['default'] == 1){ $gateway->assign('VAL_CHECKED', 'checked="checked"'); } else { $gateway->assign('VAL_CHECKED', ''); } $gateway->parse('gateway.cart_true.choose_gate.gateways_true'); Quote Link to comment Share on other sites More sharing options...
salvador21 Posted August 7, 2011 Author Share Posted August 7, 2011 Open includes/content.gateway.inc.php and see if this block on your file, matches the following... if($gatewayModules[$i]['default'] == 1){ $gateway->assign('VAL_CHECKED', 'checked="checked"'); } else { $gateway->assign('VAL_CHECKED', ''); } $gateway->parse('gateway.cart_true.choose_gate.gateways_true'); Yes, looks like it: if($gatewayModules[$i]['default'] == 1){ $gateway->assign('VAL_CHECKED', 'checked="checked"'); } else { $gateway->assign('VAL_CHECKED', ''); } $gateway->parse('gateway.cart_true.choose_gate.gateways_true'); Quote Link to comment Share on other sites More sharing options...
leeofaccy Posted August 7, 2011 Share Posted August 7, 2011 Can you go to your payment module, in admin, and check whether Default is set to Yes. If it isn't, set it and try again to see if the button is 'checked' on the gateway page. Lee Quote Link to comment Share on other sites More sharing options...
salvador21 Posted August 7, 2011 Author Share Posted August 7, 2011 It was set to "no" ! That could explain it, I'm just dashing out but will test later tonight or tomorrow, thanks. Quote Link to comment Share on other sites More sharing options...
leeofaccy Posted August 7, 2011 Share Posted August 7, 2011 Just made another test order and it's now checked Do you know your Logout and Your Account links don't work? Quote Link to comment Share on other sites More sharing options...
salvador21 Posted August 8, 2011 Author Share Posted August 8, 2011 Just made another test order and it's now checked Do you know your Logout and Your Account links don't work? Yes, all working now. Thanks I didn't know those links weren't working, I can't find out what is wrong, odd that the links work for logging in but not logging out or account. I can sort of fix it in that style by removing the (custom) div that contains them, but that div does nothing but positions the {SESSION} and colors the links. Weird. Have gone back to my previous style now and all is well (I think), so thanks for pointing that out. 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.