# <{t}>Ordre<{/t}> <{$order->getWebshopOrderId()}>

<{if $order->getVoucherCode()}>

Rabatkode: `<{$order->getVoucherCode()|escape}>` (<{$order->getVoucherDiscount()|escape}>)

<{/if}>

Status: <{$order->getStatus()}>

Trackingnummer: <{$order->getTrackingNumbers(1)|escape|replace:"\n":", "}>

## Ordreoplysninger

### Varer

<{assign var="products" value=$order->getOrderProducts()}>

<{section name="i" loop=$products}>
- <{$products[i]->getAmount()}> stk. <{$products[i]->getName()|escape}> <{assign var="attributes" value=$products[i]->getAttributes()}> <{if $attributes}>
  <{section name="k" loop=$attributes}>
  - <{$attributes[k].name}>: <{$attributes[k].val}>
  <{/section}>
  <{/if}>
<{/section}>

Fragtpris: <{$order->getShippingPrice()|number_format:2:",":"."}> <{$webshop->getCurrency()}>

Totalpris: <{$order->getTotalPrice()|number_format:2:",":"."}> <{$webshop->getCurrency()}> (Moms: kr. <{$order->getVat()|number_format:2:",":"."}>)

<{assign var="shipping" value=$order->getShipping()}> <{if $shipping}>

### Leveringsmetode

<{$shipping->getName()|escape}>

<{/if}>

<{t}>E-mail-address:<{/t}> <{$order->getEmail()|escape}>

<{t}>Telefonnummer:<{/t}> <{$order->getPhone()|escape}>

### Bestillingsadresse

<{$order->getOrderName()|escape}>

<{$order->getOrderAddress()|escape}>

<{$order->getOrderZipcode()|escape}> <{$order->getOrderCity()|escape}>

<{$order->getOrderCountry()|escape}>

### Leveringsadresse

<{$order->getDelName()|escape}>

<{$order->getDelAddress()|escape}>

<{$order->getDelZipcode()|escape}> <{$order->getDelCity()|escape}>

<{$order->getDelCountry()|escape}>

<{if $order->getComments()|escape}>

### Kommentar

<{$order->getComments()|escape}>

<{/if}> <{capture name="e"}><{strip}> <{foreach from=$order->getExtras() item="value" key="key"}> <{if $value}>

<{$key|escape}>: <{$value|escape}>

<{/if}> <{/foreach}> <{/strip}><{/capture}> <{if $smarty.capture.e}>

### Ekstrafelter

<{$smarty.capture.e}> <{/if}>