I changed the shipping methods from select box to radio buttons and here is the code I am currently using
but for some reason I am not able to set the first shipping method as default. Is there way to set a particular shipping method as default in the Miva Admin
Thanks
Code:
<mvt:foreach array="shippingmethods" iterator="method">
<mvt:if expr="NOT ISNULL l.settings:method:price">
<input type="radio" name="ShippingMethod" value="&mvte:method:module;:&mvte:method:code;"<mvt:if expr="g.ShippingMethod EQ l.settings:method:module $ ':' $ l.settings:method:code"> checked="checked"</mvt:if>><span class="s&mvte:method:code;">&mvt:method:name; (&mvt:method:formatted_price;)</span>
<mvt:else>
<input type="radio" name="ShippingMethod" value="&mvte:method:module;:&mvte:method:code;"<mvt:if expr="g.ShippingMethod EQ l.settings:method:module $ ':' $ l.settings:method:code"> checked="checked"</mvt:if>><span class="s&mvte:method:code;">&mvt:method:name;</span>
</mvt:if>
</mvt:foreach>
Thanks
Comment