Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

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

Link to comment
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

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...