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

Tak for din anmeldelse

Tak for din anmeldelse. Den er vi glad for.

<{t section="Checkout"}>Go to the front page<{/t}>
<{else}>

Anmeld dit køb

<{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}>: <{$attributes[j].val}>
    • <{/section}>
    <{/if}>

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

  • <{math assign="counter" equation="x+1" x=$counter}> <{/section}>
<{/if}>
<{else}>
<{t}>Order not found<{/t}>
<{/if}>