robchef Posted August 29, 2012 Share Posted August 29, 2012 (edited) please help how do i hide a line of code in product.tpl <p id="product_reference" {if isset($groups) OR !$product->reference}style="display:none;"{/if}><label for="product_reference">{l s='Reference :'} </label><span class="editable">{$product->reference|escape:'htmlall':'UTF-8'}</span></p> Edited August 29, 2012 by robchef (see edit history) Link to comment Share on other sites More sharing options...
safa Posted August 29, 2012 Share Posted August 29, 2012 use html comment system <!-- comment --> <!-- <p id="product_reference" {if isset($groups) OR !$product->reference}style="display:none;"{/if}><label for="product_reference">{l s='Reference :'} </label><span class="editable">{$product->reference|escape:'htmlall':'UTF-8'}</span></p> --> Link to comment Share on other sites More sharing options...
coeos.pro Posted August 29, 2012 Share Posted August 29, 2012 you can : - delete the line - use html comment - use smarty comment {* your line *} Link to comment Share on other sites More sharing options...
Recommended Posts