<{t section="Mail" name=$order->getOrderFirstName()|escape}>Hej {name}<{/t}>,
<{assign var="products" value=$order->getProducts()}>
<{section name="i" loop=$products}>
<{assign var="image" value=$products[i]->getImage()}>
<{if $image}>
<{/if}>
<{/section}>
<{$products[i]->getAmount()}> <{t section="Mail"}>stk.<{/t}> <{$products[i]->getName()|escape}>
<{assign var="attributes" value=$products[i]->getAttributes()}>
<{if $attributes}>
<{section name="j" loop=$attributes}>
<{$attributes[j].name|escape}>: <{$attributes[j].val|escape}>
<{/section}>
<{/if}>