Jump to content

Archived

This topic is now archived and is closed to further replies.

Moxamint

How to automatically select the the first shipping method if no shipping method has been selected

Recommended Posts

Hi All,

If shipping method has not yet been selected, how do I make the method with least sort order of display (the first shipping method) automatically selected?

Currently the system would use the cheapest method.  Thank you in advance if you can give me a hint.

Cheers, Eddy

Share this post


Link to post
Share on other sites

The new code works as expected.  Thank you very much!  Since get_first() will replace cheapest() in the core checout_shipping.php, does it means you do not consider cheapest() being a reasonable default?

Cheers, Eddy

Share this post


Link to post
Share on other sites

×