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

<{t}>Thank you for your review<{/t}>

<{t}>Thank you for your review. We really appreciate it.<{/t}>

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

<{t}>Review your purchase<{/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}>Order not found<{/t}>
<{/if}>