archangel777 Posted August 11, 2013 Share Posted August 11, 2013 I don't want Prestashop to display the reference number on the product page, only on the order page. How do I code the reference number out of the product.tpl file? I'm using the latest version 1.5.4.1. Thank you! Link to comment Share on other sites More sharing options...
tdr170 Posted August 11, 2013 Share Posted August 11, 2013 (edited) In the product.tpl file comment out or delete the lines below, In the cose I posted below I show it with the comment out tags {*code*} Should be lines 329-332 {*<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 14, 2013 by tdr170 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 11, 2013 Share Posted August 11, 2013 with <!-- code --> comments method - commented code will be visible in the page source if you want to remove the code - use different method = {* *} tags , like a: {* code *} this is the proper way of commenting the smarty syntax inside the template files Link to comment Share on other sites More sharing options...
Recommended Posts