{if $ShippingAllowGetQuote == "YES" && $ShippingCalcEnabled != "NO"}

{$msg.shipping.shipping_quote}

{button class="button-get-shipping-quotes" text=$msg.buttons.buttonGetShippingQuotes file=$smarty.template}
{if $show_shipping_quote}
{************************************* ** Free shipping ** *************************************} {if $shipping_is_free}
{if !$shipping_required}{$msg.shipping.digital_download}{else}{$msg.shipping.order_is_not_shippable}{/if}
{************************************* ** Shipping is not free ** *************************************} {elseif $shippingMethods.shipping_methods_count < 1} {********************************************* ** There are no shipping methods available ** *********************************************}
{$msg.shipping.no_shipping_methods_for_order}
{else} {************************************* ** Other shipping methods ** *************************************} {if !empty($shippingMethods.shipments)} {foreach from=$shippingMethods.shipments item="shipment"} {if !empty($shipment.shipping_methods) && $shipment.shipping_methods_count > 0} {$msg.shipping.shipment} # {$shipment.num} {if $shipment.shipping_type == 'local'} - {$msg.shipping.local_delivery} {/if}
{$msg.shipping.available_shipping_methods} {if $order->shippingTaxable}
({$msg.cart.shipping_taxable} - {$order->shippingTaxDescription}) {/if}
{foreach from=$shipment.shipping_methods item="sm"} {/foreach}
{$sm.method_name|htmlspecialchars} {$sm.shipping_price}
{/if} {/foreach} {/if} {/if} {************************************* ** Alternative shipping methods ** *************************************} {if $shippingMethodsAlternative && $shippingMethodsAlternative.shipments && $shippingMethodsAlternative.shipping_methods_count > 1}
{$msg.shipping.alternative_shipping_methods}
{foreach from=$shippingMethodsAlternative.shipments item="shipment"} {if !empty($shipment.shipping_methods) && $shipment.shipping_methods_count > 0} {$msg.shipping.shipment} # {$shipment.num} {if $shipment.shipping_type == 'local'} - {$msg.shipping.local_delivery} {/if}
{$msg.shipping.available_shipping_methods}
{foreach from=$shipment.shipping_methods item="sm"} {/foreach}
{$sm.method_name|htmlspecialchars} {$sm.shipping_price}
{/if} {/foreach} {/if}
{/if}
{else}

{$msg.shipping.shipping_quote}

{$msg.shipping.shipping_quote_disabled}
{/if}