<{* Template: approve.html Description: This template handles the last (optional) step of the checkout. Author: 1260 A/S, @1260-digital Since: 2022-09-01 *}> <{capture name="title_basket_value"}> <{$price|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency}> <{/capture}> <{capture name="title"}> <{t section="approve.html" x=$total_amount y=$smarty.capture.title_basket_value s=$webshop->getName()}>Step 4 of 4 - You have {x} item(s) in your basket at a total of {y} - {s}<{/t}> <{/capture}> <{include file="partials/checkout.start.html"}>

<{t}>Approve your order<{/t}>

<{include file="partials/checkout.approve.information.html" }> <{include file="partials/checkout.approve.shipping.html" }> <{include file="partials/checkout.approve.payment.html" }> <{include file="partials/checkout.approve.totals.html" }> <{include file="partials/checkout.terms.html" title="Terms & Conditions"|t}> <{assign var="shipping_methods" value=$webshop->getShippings()}> <{assign var="payment_methods" value=$webshop->getPaymentGateways()}> <{assign var="skip_approve" value=$webshop->getSkipApprove()}>
<{if $shipping_methods|@count == 1 && $payment_methods|@count == 1 && $skip_approve}> <{include file="components/button.html" class="btn--checkout btn--checkout-previous" text="Back to information"|t type="link" variant="default" icon="chevron-left" href="/address"}> <{elseif $shipping_methods|@count == 1 && $payment_methods|@count == 1}> <{include file="components/button.html" class="btn--checkout btn--checkout-previous" text="Back to information"|t type="link" variant="default" icon="chevron-left" href="/address"}> <{else}> <{include file="components/button.html" class="btn--checkout btn--checkout-previous" text="Back to shipping"|t type="link" variant="default" icon="chevron-left" href="/shipping"}> <{/if}> <{include file="components/button.html" class="btn--checkout btn--checkout-next" text="Go to payment"|t type="submit" variant="action"}>
<{include file="partials/checkout.end.html"}>