<{if $order}>
<{if $get.voted}>
<{include file="components/svg.html" width="40" height="40" icon="check"}>

<{t}>Tak for din anmeldelse<{/t}>

<{t}>Tak for din anmeldelse. Den er vi glad for.<{/t}>

<{t section="Checkout"}>Gå til forsiden<{/t}>
<{else}>

<{t}>Anmeld dit køb<{/t}>

<{assign var="products" value=$order->getOrderProducts()}>
<{if $products|@count > 5}> <{/if}>
    <{assign var="counter" value=1}> <{section name="i" loop=$products}>
  • <{assign var="orderProduct" value=$webshop->getProductById($products[i]->getProductId())}> <{if $orderProduct}> <{assign var="image" value=$orderProduct->getImage()}> <{/if}> <{if $image}>
    <{include file="components/image.html" width="370" height="370" class="product-card__picture" alpine=$alpine}>
    <{/if}> <{assign var="attributes" value=$products[i]->getAttributes()}> <{if $attributes}>
      <{section name="j" loop=$attributes}>
    • <{$attributes[j].name|escape}>: <{$attributes[j].val|escape}>
    • <{/section}>
    <{/if}>

    <{$products[i]->getName()|escape}>

  • <{math assign="counter" equation="x+1" x=$counter}> <{/section}>
<{/if}>
<{else}>
<{t}>Ordre ikke fundet<{/t}>
<{/if}>