Under what circumstances would a shipping method not have a price?
If I put conditionals on the "if" output to restrict certain shipping methods to certain price groups do I need to put the conditionals on the "else" output as well?
If I put conditionals on the "if" output to restrict certain shipping methods to certain price groups do I need to put the conditionals on the "else" output as well?
Code:
<mvt:if expr="ISNULL l.settings:shippingmethods"> <option value="">Unable to Calculate Shipping Costs</option> <mvt:else> <mvt:foreach array="shippingmethods" iterator="method"> <mvt:if expr="NOT ISNULL l.settings:method:price"> <option value="&mvte:method:module;:&mvte:method:code;">&mvt:method:name; (&mvt:method:formatted_price;)</option> <mvt:else> <option value="&mvte:method:module;:&mvte:method:code;">&mvt:method:name;</option> </mvt:if> </mvt:foreach> </mvt:if>
Comment