<{include file="add_financial_products.html"}>
<{if $get.s == "NaN"}>
En eller flere varer er ikke på lager
<{/if}>
Vare
Navn
Pris
Antal
Total
<{section name="i" loop=$basket}> <{assign var="attributes" value=$basket[i].attributes}> <{assign var="product" value=$basket[i].product}> <{if $attributes.0.value_id}> <{assign var="image" value=$product->getImage($attributes.0.value_id)}> <{else}> <{assign var="image" value=$product->getImage()}> <{/if}>
<{if $image}> <{else}> <{/if}>
getBrand()}> data-product_brand="<{$product->getBrandName()}>" <{/if}> <{if $product->getMainCategory()}> data-product_category="<{$product->getMainCategoryName()}>" <{elseif $product->getCategory()}> data-product_category="<{$product->getCategoryName()}>" <{/if}> data-productlist_position="<{$smarty.section.products.iteration}>" data-productlist_name="cart" <{if $product->hasVariant()}> <{assign var="variant" value=$product->getVariant()}> data-product_variant="<{$variant->getName()}>" <{/if}> > <{$product->getName()|escape}> <{if $attributes}>

<{foreach from=$attributes item=a}>
  <{$a.name|escape}>: <{$a.value|escape}> <{/foreach}>

<{/if}> <{if $campaign_matches && in_array($product->getProductId(), $campaign_matches)}>

Kampagnerabat

<{/if}> <{if $product->hasBundleProducts()}> <{assign var="bundle" value=$product->getBundleProducts()}> <{if $bundle}>

<{section name="j" loop=$bundle}> <{assign var="b_product" value=$bundle[j]}> <{assign var="id" value=$b_product->getProductId()}>
  <{$b_product->getName()|escape}> <{if $basket[i].bundle.$id}> (<{$basket[i].bundle.$id.val}>) <{/if}>
<{/section}>

<{/if}> <{/if}>
Stykpris:
<{if $product->getBulkDiscountOver() && $basket[i].amount > $product->getBulkDiscountOver()}> <{$product->getBulkDiscountPrice()|number_format:2:",":"."}> <{$webshop->getCurrency()}> <{else}> <{$product->getRealPrice(1, $basket[i].attributes)|number_format:2:",":"."}> <{$webshop->getCurrency()}> <{/if}>
Antal:
<{if !$basket[i].in_stock && !$product->getAllowNegativeStock()}>
Ikke nok på lager <{if $product->getDeliveryTimeNotInStock()}>
Leveringstid: <{$product->getDeliveryTimeNotInStock()|escape}>
<{/if}>
<{/if}> getPackage()}>step="<{$product->getPackage()}>"<{/if}> min="0" id="amount<{$basket[i].id}>" name="amount[<{$basket[i].id}>]" value="<{$basket[i].amount}>" class="amount<{$basket[i].id}> qty-number" style="box-sizing: content-box !important" />
Total:
<{$product->getRealPrice($basket[i].amount, $basket[i].attributes)|number_format:2:",":"."}> <{$webshop->getCurrency()}>
<{/section}>
<{if $get.wrong_voucher}>
Ugyldig rabatkort
<{/if}>
<{include file="mobilepay_checkout.html" show="button"}>
<{include file="paypal_checkout.html"}>
<{assign var="countries" value=$webshop->getCountries()}> <{if $countries}>

### Leveres til:

<{/if}>

### Samlede pris

Subtotal | <{$price|number_format:2:",":"."}> <{$webshop->getCurrency()}>
<{if $voucher}>
Rabat | <{if $voucher->getPercentDiscount()}> <{$voucher->getPercentDiscount()}> % <{/if}> <{if $voucher->getPriceDiscount()}> <{$voucher->getPriceDiscount()}> <{$webshop->getCurrency()}> <{/if}> <{if $voucher->getFreeShipping()}> Gratis fragt. <{/if}> <{if $voucher_discount && !$voucher->getPriceDiscount()}> Du sparer <{$voucher_discount|number_format:2:",":"."}> <{$webshop->getCurrency()}>. <{/if}>
<{/if}> <{if $campaign_ids && $campaign_discount}>
Kampagnerabat | <{$campaign_discount|number_format:2:",":"."}> <{$webshop->getCurrency()}>
<{/if}>
Levering | <{$shipping_price|number_format:2:",":"."}> <{$webshop->getCurrency()}>
Total | <{$total_price|number_format:2:",":"."}> <{$webshop->getCurrency()}>
Heraf moms | <{$vat|number_format:2:",":"."}> <{$webshop->getCurrency()}>

<{if $settings.settings.show_additional_sales}>
<{section name="i" loop=$basket}> <{assign var="product" value=$basket[i].product}> <{capture name="box_title"}>Andre der købte <{$product->getName()|escape}> købte også<{/capture}> <{include file="carousel.html" title=$smarty.capture.box_title products=$product->getAlsoBought()}> <{/section}> <{include file="carousel.html" title="Populært lige nu" products=$webshop->getPopularProducts(25, 14)}>
Din kurv (<{$total_amount}> vare<{if $total_amount != 1}>r<{/if}>): <{$total_price|number_format:2:",":"."}> <{$webshop->getCurrency()}>
<{include file="mobilepay_checkout.html" show="form"}> <{/if}>
<{include file="klaviyo_add_to_cart.html" product=$product type="basket"}>