<{if $subject}> <{if $order}> <{t section="Mail" order_id=$order->getWebshopOrderId() webshop_name=$webshop->getName()}>Ordrebekræftelse på din ordre nr. {order_id} fra {webshop_name}<{/t}> <{elseif $recurring_order}> <{t section="Mail" sub_id=$recurring_order->getWebshopRecurringOrderId() webshop_name=$webshop->getName()}>Ordrebekræftelse på dit abonnement nr. {sub_id} fra {webshop_name}<{/t}> <{/if}> <{else}> <{t section="Mail"}>Tak for din bestilling<{/t}>
<{t section="Mail"}>Hej<{/t}> <{$order->getOrderFirstName()|escape}>,

<{t section="Mail"}>Tak for din ordre. Vi sender dig en e-mail når den er færdigbehandlet og afsendt.<{/t}>

<{t section="Mail"}>Ordredetaljer<{/t}>
<{assign var="products" value=$order->getProducts()}> <{section name="i" loop=$products}> <{/section}>
<{t section="Mail"}>Produkt<{/t}> <{t section="Mail"}>Antal<{/t}> <{t section="Mail"}>Pris<{/t}> <{t section="Mail"}>Total<{/t}>
<{$products[i]->getName()|escape}>
<{assign var="attributes" value=$products[i]->getAttributes()}> <{if $attributes}>
<{section name="j" loop=$attributes}> <{$attributes[j].name}>: <{$attributes[j].val}><{if !$smarty.section.j.last}>, <{/if}> <{/section}>
<{/if}>
<{$products[i]->getAmount()}> <{$products[i]->getPrice()|number_format:2:",":"."}> <{$webshop->getCurrency()}> <{($products[i]->getPrice() * $products[i]->getAmount())|number_format:2:",":"."}> <{$webshop->getCurrency()}>
<{t section="Mail"}>Subtotal<{/t}> <{($order->getPrice() - $order->getShippingPrice())|number_format:2:",":"."}> <{$webshop->getCurrency()}>
<{if $order->getShippingPrice() > 0}>
<{t section="Mail"}>Fragt<{/t}> <{$order->getShippingPrice()|number_format:2:",":"."}> <{$webshop->getCurrency()}>
<{/if}>
<{t section="Mail"}>Total<{/t}> <{$order->getPrice()|number_format:2:",":"."}> <{$webshop->getCurrency()}>
<{t section="Mail"}>Ordrenummer<{/t}>
#<{$order->getWebshopOrderId()}>
<{t section="Mail"}>Dato<{/t}>
<{$smarty.now|date_format:"%d-%m-%Y"}>
<{t section="Mail"}>E-mail<{/t}>
<{$order->getEmail()|escape}>
<{t section="Mail"}>Telefon<{/t}>
<{$order->getPhone()|escape}>
<{if $order->getPickupAddress()}>
<{t section="Mail"}>Pakkeshop<{/t}>
<{$order->getPickupAddress()|escape|nl2br}>
<{/if}>
<{t section="Mail"}>Faktureringsadresse<{/t}>
<{$order->getOrderName()|escape}>
<{if $order->getOrderCompanyName()}> <{$order->getOrderCompanyName()|escape}>
<{/if}> <{$order->getOrderAddress()|escape}>
<{$order->getOrderZipcode()|escape}> <{$order->getOrderCity()|escape}>
<{$order->getOrderCountry()|escape}>
<{t section="Mail"}>Leveringsadresse<{/t}>
<{$order->getDelName()|escape}>
<{if $order->getDelCompanyName()}> <{$order->getDelCompanyName()|escape}>
<{/if}> <{$order->getDelAddress()|escape}>
<{$order->getDelZipcode()|escape}> <{$order->getDelCity()|escape}>
<{$order->getDelCountry()|escape}>
<{t section="Mail"}>Se din ordre online<{/t}>
<{/if}>