madmartian Posted January 29, 2016 Share Posted January 29, 2016 I have only one carrier - USPS Priority Mail. Since there is only one carrier, it seems silly to make the customer select the only carrier from the list. It's also easy for them to miss seeing the little radio dot and they might think something is wrong, since it's illogical to make someone select something when there is only one option. What can I do to have the only carrier selected automatically? Link to comment Share on other sites More sharing options...
dysfunction Posted January 29, 2016 Share Posted January 29, 2016 (edited) Change the template file for order-carrier.tpl and have checked=checked for the radio button in question? checked="checked" Edited January 29, 2016 by dysfunction (see edit history) Link to comment Share on other sites More sharing options...
madmartian Posted January 29, 2016 Author Share Posted January 29, 2016 Change the template file for order-carrier.tpl and have checked=checked for the radio button in question? checked="checked" I was hoping it would be that easy, but the list is generated dynamically, thus it is not as simple as adding checked="checked". At least I don't think it is. Link to comment Share on other sites More sharing options...
dysfunction Posted January 29, 2016 Share Posted January 29, 2016 I was hoping it would be that easy, but the list is generated dynamically, thus it is not as simple as adding checked="checked". At least I don't think it is. if it is one carrier then there is no 'list' only a single option ;-) Link to comment Share on other sites More sharing options...
madmartian Posted January 29, 2016 Author Share Posted January 29, 2016 if it is one carrier then there is no 'list' only a single option ;-) It's still generated dynamically from the list - it just happens that the list only contains one item. I'm not seeing how this would work. Can you provide a bit of code where you would make the change? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now