lukk Posted January 21, 2012 Share Posted January 21, 2012 On the product page (product.tpl) product codes and EAN13 are written this way: <p id="product_reference" {if isset($groups) OR !$product->reference}style="display: block;"{/if}><label for="product_reference">{l s='Reference :'} </label><span class="editable">{$product->reference|escape:'htmlall':'UTF-8'}</span></p> <p id="product_reference" {if isset($groups) OR !$product->ean13}style="display: block;"{/if}><label for="product_reference">{l s='EAN :'} </label><span class="editable">{$product->ean13|escape:'htmlall':'UTF-8'}</span></p> But when I tried the same thing on the list of items (product-list.tpl) - where I need to get it also product codes and EAN13 are written only this way: Reference: EAN: Is somebody here who can help me please? Thanks in advance! Link to comment Share on other sites More sharing options...
lukk Posted January 22, 2012 Author Share Posted January 22, 2012 product ID + EAN in product_list.tpl <p id="product_reference" {$product.id_product|truncate:35:'...'|escape:'htmlall':'UTF-8'}style="display: block;"><label for="product_reference">{l s='Kód zboží :'} </label><span class="editable">{$product.id_product|truncate:35:'...'|escape:'htmlall':'UTF-8'}</span></p> <p id="product_reference" {$product.ean13|truncate:35:'...'|escape:'htmlall':'UTF-8'}style="display: block;"><label for="product_reference">{l s='EAN :'} </label><span class="editable">{$product.ean13|truncate:35:'...'|escape:'htmlall':'UTF-8'}</span></p> Link to comment Share on other sites More sharing options...
Hardwell Posted February 17, 2014 Share Posted February 17, 2014 Super lukk fonctionne nickel Link to comment Share on other sites More sharing options...
Recommended Posts