The easiest way to show if the proposed promotional code will be free shipping is to use this in your template:
{if promo_code_free_shipping} Your Order Ships for Free {/if}
Personally, I donβt consider free shipping a discount, for example, I would say that $ 10 for an order of $ 50, so if I saw that the order now had free shipping, I would see that the promo code was applied .
However, if you still want to fulfill the condition with an order discount, try:
{if order_discount_val == 0} Free Shipping {/if}
Any variable in the Store that returns a formatted number {price} , {price_inc_mod} , {sale_price} , etc., can be transferred using _val to have an unformatted number returned for use in conditional expressions and similar ones.
source share