{* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *} {default_translation_domain domain='fo.default'} {form name="thelia.order.delivery"} {ifloop rel="deliveries"}

{loop type="amp_delivery" name="deliveries" force_return="true" address=$address} {assign var="isDeliveryMethodChecked" value="0"}
{form_field field='delivery-module'} {if $isPost} {if $value == $ID} {assign var="isDeliveryMethodChecked" value="1"} {/if} {elseif $LOOP_COUNT == 1} {assign var="isDeliveryMethodChecked" value="1"} {/if} {$TITLE} {$DESCRIPTION nofilter} {if $DELIVERY_DATE} {intl l="Expected delivery date: %delivery_date" delivery_date={format_date date=$DELIVERY_DATE output="date"}} {/if} {/form_field} | {loop type="image" name="deliveryspicture" source="module" source_id=$ID force_return="true" width="100" height="72"} {/loop} | {if $POSTAGE} {format_money number=$POSTAGE symbol={currency attr='symbol'}} {else} {/if}
{hook name="order-delivery.extra" module="$ID"} {hook name="order-delivery.javascript" module="$ID"} {/loop} {/ifloop} {elseloop rel="deliveries"}
{intl l="Sorry! We are not able to give you a delivery method for your order."}
{/elseloop} {/form}