Jump to content

solived please help how do i hide a line of code in product.tpl


Recommended Posts

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 by robchef (see edit history)
Link to comment
Share on other sites

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

×
×
  • Create New...