RCP90 Posted May 20, 2013 Share Posted May 20, 2013 Hello! i was wondering how i can hide the Data Sheet from end users of our website. I want to use the data sheet for features which will be used to filter items in the layered Navigation, but the details will also be in the general description, so if possible I would like to hide the data sheet. I have found others asking this question on the website, but some did not seem to be answered and/or were for much older versions of PrestaShop. Thanks in advance for any replies! Link to comment Share on other sites More sharing options...
benjamin utterback Posted May 20, 2013 Share Posted May 20, 2013 Hi RCP90, I don't understand what you mean by Datasheet? Do you mean statistics? Thank you for clarification. 1 Link to comment Share on other sites More sharing options...
nadie Posted May 20, 2013 Share Posted May 20, 2013 Hello! i was wondering how i can hide the Data Sheet from end users of our website. I want to use the data sheet for features which will be used to filter items in the layered Navigation, but the details will also be in the general description, so if possible I would like to hide the data sheet. I have found others asking this question on the website, but some did not seem to be answered and/or were for much older versions of PrestaShop. Thanks in advance for any replies! File: /themes/your-template/product.tpl Search and change this: {if $features}<li><a id="more_info_tab_data_sheet" href="#idTab2">{l s='Data sheet'}</a></li>{/if} for this {* {if $features}<li><a id="more_info_tab_data_sheet" href="#idTab2">{l s='Data sheet'}</a></li>{/if} *} Search and change this: {if isset($features) && $features} <!-- product's features --> <ul id="idTab2" class="bullet"> {foreach from=$features item=feature} {if isset($feature.value)} <li><span>{$feature.name|escape:'htmlall':'UTF-8'}</span> {$feature.value|escape:'htmlall':'UTF-8'}</li> {/if} {/foreach} </ul> {/if} for this {* {if isset($features) && $features} <!-- product's features --> <ul id="idTab2" class="bullet"> {foreach from=$features item=feature} {if isset($feature.value)} <li><span>{$feature.name|escape:'htmlall':'UTF-8'}</span> {$feature.value|escape:'htmlall':'UTF-8'}</li> {/if} {/foreach} </ul> {/if} *} Sorry for my English 1 Link to comment Share on other sites More sharing options...
RCP90 Posted May 20, 2013 Author Share Posted May 20, 2013 Thank you Nadie, i will try this, and Benjamin, I meant the Data Sheet which is associated with Features. Thank you both for the replies Link to comment Share on other sites More sharing options...
benjamin utterback Posted May 20, 2013 Share Posted May 20, 2013 Oh okay, the whole layered navigation block you wanted to hide? Link to comment Share on other sites More sharing options...
RCP90 Posted May 20, 2013 Author Share Posted May 20, 2013 No, Just the Data Sheet from the product. I think the code form Nadie will work Link to comment Share on other sites More sharing options...
vekia Posted May 20, 2013 Share Posted May 20, 2013 No, Just the Data Sheet from the product. I think the code form Nadie will work hey, im really interested in this thread, so please reply if it will work for you Link to comment Share on other sites More sharing options...
nadie Posted May 20, 2013 Share Posted May 20, 2013 No, Just the Data Sheet from the product. I think the code form Nadie will work ¿Solved? Sorry for my English ! Link to comment Share on other sites More sharing options...
RCP90 Posted May 20, 2013 Author Share Posted May 20, 2013 I will try the code change and update the thread once I know And your English is fine, thank you for helping! Link to comment Share on other sites More sharing options...
nadie Posted May 24, 2013 Share Posted May 24, 2013 I will try the code change and update the thread once I know And your English is fine, thank you for helping! How has finished all end? Sorry for my English Link to comment Share on other sites More sharing options...
Recommended Posts