Jump to content

Automatically Select The Only Carrier


Recommended Posts

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

 

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...