Miva Merchant Modules and Development
Want to start an online store? We work with you from start to finish, from commerce platform to design to SEO.
Experience counts, and we have a lot.

SMT: Sort Shipping Code From Low to High Price

Scot Ranney • December 22, 2023


Put this line in front of the
<mvt:foreach array="shippingmethods"...
  line on the OSEL page:

<mvt:do file="g.Module_Library_Utilities" name="l.success" value="QuickSortArray(l.settings:shippingmethods, ':price', 'asc')" />

https://www.scotsscripts.com/mvblog/smt-sort-shipping-code-from-low-to-high-price.html

mvkb_shipping mvkb_smt mvkb_sort