AbanteCart Community

AbanteCart Development => Customization help => Topic started by: Riin on June 06, 2014, 06:00:43 PM

Title: how to have one of two shipping methods be the default?
Post by: Riin on June 06, 2014, 06:00:43 PM
I have two shipping methods configured. The first one is what people will choose about 99% of the time, so I'd like to make that one the default, but still have the other one there as an option. How do I do that?

Thanks.

Riin
Title: Re: how to have one of two shipping methods be the default?
Post by: llegrand on June 06, 2014, 06:46:10 PM
at the bottom of the extension page for each shipping method is a field called "sort order"

Place 1 in your first choice and it will be listed first
Title: Re: how to have one of two shipping methods be the default?
Post by: Riin on June 07, 2014, 08:53:38 AM
Yes, I already did that, but how do I make the radio button for that option be pre-selected?
Title: Re: how to have one of two shipping methods be the default?
Post by: abantecart on June 10, 2014, 10:20:53 AM
You can add a simple JavaScript for this page template to select that you need to be default.
Do you know how to work with JavaScript?
Title: Re: how to have one of two shipping methods be the default?
Post by: Riin on June 10, 2014, 12:00:20 PM
No.