<{assign var="profile" value=$product->getProfile()}> <{assign var="attr" value=$profile->getAttributeList()}>
<{if $product->getIsInStock() || $product->getAllowNegativeStock()}>

- På lager
<{if $product->getDeliveryTime()}>
- Leveringstid: <{$product->getDeliveryTime()|escape}>
<{/if}> <{if $product->getPackage()}>
- <{$product->getPackage()}> i kolli
<{/if}>

<{else}>

- Ikke på lager
<{if $product->getDeliveryTimeNotInStock()}>
- Leveringstid: <{$product->getDeliveryTimeNotInStock()|escape}>
<{/if}> <{if $product->getPackage()}>
- <{$product->getPackage()}> i kolli
<{/if}>

<{include file="out_of_stock_signup.html" product=$product}> <{/if}>
<{assign var="pdf_files" value=$product->getPdfFiles()}> <{if $pdf_files}>
Download fil <{section name="j" loop=$pdf_files}>
<{$pdf_files[j]->getFilename()|escape}> (<{$pdf_files[j]->getMB()|number_format:2:",":"."}> MB)
<{/section}>
<{/if}> <{if $product->getIsInStock() || $product->getAllowNegativeStock()}> <{if $product->hasBundleProducts()}> <{assign var="bundle" value=$product->getBundleProductsCount()}>
<{if $bundle}>

#### I denne samlepakke:

<{section name="f" loop=$bundle}>
<{assign var="b_product" value=$bundle[f].product}> <{assign var="b_profile" value=$b_product->getProfile()}> <{assign var="b_attr" value=$b_profile->getAttributeList()}> <{assign var="b_img" value=$b_product->getImage()}>
<{if $b_img}> <{/if}>
<{$bundle[f].count}> x <{$b_product->getName()|escape}>
<{section name="j" loop=$b_attr}> <{if $b_attr[j]->getIsVariant()}> <{if $b_attr[j]->getDataType() == "valuelist"}> <{assign var="values" value=$b_attr[j]->getValues()}>
<{/if}> <{/if}> <{/section}>
<{if !$smarty.section.f.last}>
<{/if}> <{/section}> <{/if}>
<{/if}> <{section name="j" loop=$attr}> <{if $attr[j]->getIsVariant()}>
<{$attr[j]->getName()|escape}>: <{if $attr[j]->getDataType() == "valuelist"}> <{assign var="values" value=$attr[j]->getValues()}>
<{elseif $attr[j]->getDataType() == "string"}> <{elseif $attr[j]->getDataType() == "integer"}> <{elseif $attr[j]->getDataType() == "boolean"}> <{/if}>
<{else}> <{/if}> <{/section}>
getPackage()}>package="<{$product->getPackage()}>" value='<{$product->getPackage()}>'<{else}>value='1'<{/if}> class="qty" style="box-sizing: content-box !important" />
<{/if}>