<{* Template: thanks.html Description: This template handles the reciept page Author: 1260 A/S, @1260-digital Since: 2022-09-01 *}> <{capture name="title"}> <{if $order}> <{capture name="order_total"}> <{$order->getTotalPrice()|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency}> <{/capture}> <{t section="Thanks" x=$order->getWebshopOrderId() y=$smarty.capture.order_total}>► Step 3 of 3 - Order (#{x}) has been received. Total: {y}<{/t}> <{else}> <{t section="Thanks"}>The order was not found in the system.<{/t}> <{/if}> <{/capture}> <{include file="partials/header.html"}> <{if $settings.integrations.enable_clerk && $settings.integrations.clerk_api_key && $order}> <{/if}>
<{if $order}>

<{if $settings.checkout_thankyou.title}> <{$settings.checkout_thankyou.title}> <{else}> <{t section="Thanks"}>Your order has been received<{/t}> <{/if}>

<{if $settings.checkout_thankyou.text}> <{$settings.checkout_thankyou.text}> <{else}> <{t section="Thanks"}> Thank you very much for shopping with us. We will immediately start proccessing your order, and we will send an order confirmation to your mail. Remember to check your spam filter if you haven't received the order confirmation within 5 mintues. <{/t}> <{/if}>

<{if !$order->getIsPaid()}> <{assign var="gateways" value=$webshop->getPaymentGateways()}> <{section name="i" loop=$gateways}> <{if $order->getPaymentGatewayId() == $gateways[i]->getPaymentGatewayId()}> <{assign var="payment_info" value=$gateways[i]->getHtmlField('payment_info')}> <{if $payment_info }> <{include file="components/alert.html" margin="t" variant="info" icon="information" text=$payment_info}> <{/if}> <{/if}> <{/section}> <{/if}>
<{include file="partials/order.details.html"}> <{else}> <{if $basket}> <{include file="partials/checkout.empty.order.html"}> <{else}> <{include file="partials/checkout.empty.basket.html"}> <{/if}> <{/if}>
<{include file="partials/footer.html"}> <{if $settings.checkout_thankyou.enable_confetti}> <{include file="partials/confetti.html"}> <{/if}>