<{* Lande (#1363): ordrens valuta, når ordren er i en anden valuta end den, siden vises i *}> <{if $order && $order->getCurrency() != $webshop->getCurrency()}><{$currency = $order->getCurrency()}><{/if}> <{if $order}>

<{t}>Return items<{/t}>

<{t}>Order ID<{/t}>: <{$order->getWebshopOrderId()}> <{if $order->getInvoiceId()}>
<{t invoice_id=$order->getInvoiceId()}>Invoice number: {invoice_id}<{/t}> <{/if}>
<{$line = 0}> <{foreach $order->getOrderProducts() as $product}> <{assign var="p" value=$product->getProduct()}> <{$returned = $product->getReturned()}> <{section name="i" loop=$product->getAmount()}> <{$line = $line+1}> <{if $smarty.section.i.iteration > $returned}> <{/if}> <{/section}> <{/foreach}>
<{t section="Order"}>Products<{/t}>
<{t section="Order"}>Product<{/t}> <{t section="Order"}>Price<{/t}> <{t section="Order"}>Return<{/t}>
<{if $image = $p->getImage()}> <{$image->getDescription()|escape}> <{/if}>
<{$product->getName()|escape}> <{if $attributes = $product->getAttributes()}>
    <{foreach $attributes as $attribute}>
  • <{$attribute.name|escape}>: <{$attribute.val|escape}>
  • <{/foreach}>
<{/if}>
<{if $webshop->getUseCalculatedUnitPrice()}> <{$product->getCalculatedUnitPrice()|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency}>
<{t}>VAT<{/t}> <{$product->getCalculatedUnitVat()|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency}>
<{else}> <{$product->getUnitPrice()|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency}>
<{t}>VAT<{/t}><{$product->getUnitVat()|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency}>
<{/if}>
<{include file="components/label.html" for="return[<{$line}>]" text="Return this item"|t }> <{include file="components/input.html" name="return[<{$line}>]" type="checkbox" value=$product->getOrderProductId() }>
<{include file="components/label.html" for="reason[<{$line}>]" text="Reason for return"|t class="sr-only" }> <{include file="components/input.html" name="reason[<{$line}>]" type="text" placeholder="Reason for return"|t inputmode="text" }>
<{if $offer_exchange}>

<{t}>Pick another size or a completely different product, faster than waiting for a refund.<{/t}>

<{elseif $order->isExchangeOrder()}>

<{t}>This order is already an exchange, and items can only be exchanged once. Please contact us if you have changed your mind. You can still return the items for a refund.<{/t}>

<{elseif $order->hasExchange()}>

<{t}>You have already created an exchange on this order. Please contact us if you have changed your mind. You can still return the remaining items for a refund.<{/t}>

<{/if}> <{if $offer_store_credit}>
<{include file="components/input.html" name="return_as_credit" type="checkbox" value="1" }> <{include file="components/label.html" for="return_as_credit" text="Få et tilgodebevis i stedet for refundering"|t }>
<{if $credit_free_label}>

<{t}>Vælg tilgodebevis og få gratis returlabel. Hele returværdien udbetales som tilgodebevis.<{/t}>

<{/if}>
<{/if}> <{if $return_shipping = $webshop->getReturnShipping($order->getDelCountryId())}>

<{t}>Varer skal returneres via<{/t}> <{$return_shipping->getName()|escape}>. <{if $webshop->getReturnShippingPrice($order->getDelCountryId())}> <{t currency=$webshop->getCurrency() price=$webshop->getReturnShippingPrice($order->getDelCountryId())|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> Pris for returlabel m.m. er {currency} {price}. Dette modregnes i den endelige returnering. <{/t}> <{else}> <{t currency=$webshop->getCurrency() price=$return_shipping->getCost()|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> Pris for returlabel m.m. er {currency} {price}. Dette modregnes i den endelige returnering. <{/t}> <{/if}>

<{else}>
<{include file="components/label.html" for="shipping_id" text="Select Return Method"|t required="true" }> <{capture name='shipping_id_options'}> <{foreach $webshop->getShippings() as $shipping}> <{if $webshop->getReturnShippingPrice($order->getDelCountryId())}> <{$shipping_price = $webshop->getReturnShippingPrice($order->getDelCountryId())}> <{else}> <{$shipping_price = $shipping->getCost()}> <{/if}> <{/foreach}> <{/capture}> <{include file="components/select.html" name="shipping_id" required="true" options=$smarty.capture.shipping_id_options }>

<{/if}>
<{else}>

<{t}>Returcenter<{/t}>

<{if $get.not_found}> <{include file="components/alert.html" variant="error" icon="x" text="Your order was not found"|t}> <{/if}>

<{t}>Find order<{/t}>
<{include file="components/label.html" for="webshop_order_id" text="Order Number"|t required="true" xclass="{'label--is-floating': webshop_order_id && webshop_order_id.length > 0 }" }> <{include file="components/input.html" name="webshop_order_id" type="text" placeholder="Order Number"|t inputmode="text" required="true" xclass="{'input--has-value': webshop_order_id && webshop_order_id.length > 0 }" xmodel="webshop_order_id" xvalue="webshop_order_id" xref="webshop_order_id" }>
<{include file="components/label.html" for="email" text="E-mail-adress"|t required="true" xclass="{'label--is-floating': email && email.length > 0 }" }> <{include file="components/input.html" name="email" type="text" placeholder="E-mail-adress"|t inputmode="text" required="true" xclass="{'input--has-value': email && email.length > 0 }" xmodel="email" xvalue="email" xref="email" }>

<{include file="components/button.html" size="lg" text="Search"|t type="submit" variant="action"}>
<{/if}>