<{if $product->getIsInStock() || $product->getAllowNegativeStock()}> <{assign var="profile" value=$product->getProfile()}> <{assign var="attr" value=$profile->getAttributeList()}>
<{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}> <{if $product->hasVariants()}>
<{assign var="stock" value=$product->getInStockVariants()}> <{assign var="profile" value=$product->getProfile()}> <{assign var="attr" value=$profile->getAttributeList()}> <{section name="j" loop=$attr}> <{if $attr[j]->getIsVariant()}> <{if $attr[j]->getDataType() == "valuelist"}> <{$values = $attr[j]->getValues()}> <{/if}> <{/if}> <{/section}>
<{/if}>
<{else}> <{if $get.out_of_stock_signup}>

<{t}>Tak for det - du hører fra os, når varen er på lager igen<{/t}>

<{else}>
<{t}>Varen er udsolgt<{/t}>

<{t}>Skal vi sende en mail, når den er på lager igen?<{/t}>

<{/if}> <{/if}>