Hello!
I try to display the combination reference or product reference (if no combinations available) in a custom quotation page.
I land there coming from a product page after adding the product in cart. Other product elements as Name, Link or Image are displayed as expected..
I tried adding {$product.reference|escape:'htmlall':'UTF-8'} code in the foreach loop and I get nothing.
Prestashop 1,6
Can anyone help me?
<div id="fmm_quote_from">
<!-- {$products|@var_dump} -->
{if isset($products) && $products}
<div class="fmm_content_holder">
<ul>
{foreach from=$products item=product name=products}
<li>
<div class="pq_img"><a href="{$product.link|escape:'htmlall':'UTF-8'}"><img width="60" src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'small_default')|escape:'html':'UTF-8'}" /></a></div>
<h6>
<a href="{$product.link|escape:'htmlall':'UTF-8'}">{$product.name|escape:'htmlall':'UTF-8'}
</a>
<br/> Reference: {$product.reference|escape:'htmlall':'UTF-8'}<br />
<a class="fmm_quote_del" onclick="dropItemQuote({$product.id_quotes_products|escape:'htmlall':'UTF-8'})"></a>
<strong>
{l s='Quantity' mod='productquotation'}:
<input type="number" tabindex="{$product.id_quotes_products|escape:'htmlall':'UTF-8'}" value="{$product.qty|escape:'htmlall':'UTF-8'}" min="1" class="fmm_quote_row_qty" />
</strong></h6>
</li>
{/foreach}
</ul>
</div>