Fashionist Posted September 29, 2014 Share Posted September 29, 2014 Hi all, I have added caratteristics to my products and now I can see a "Data Sheet" Tab in the products pages. How can I hide it? I have attacched a screenshot: Thanks Link to comment Share on other sites More sharing options...
nutxlago Posted September 29, 2014 Share Posted September 29, 2014 Fashionist, have you tried to disable "Features" in B.O. > advanced paramaters > performance? Link to comment Share on other sites More sharing options...
Fashionist Posted September 29, 2014 Author Share Posted September 29, 2014 Yeah thanks it is correctly hide. Howewer I use features to filter some products...If I disable it to hie "data sheet"module, filtering by features is still active??? Link to comment Share on other sites More sharing options...
nutxlago Posted September 29, 2014 Share Posted September 29, 2014 (edited) I am afraid not, but check if you have a module called Data Sheet in your product page hook. You can either disable it or unhook it from there, then enable features again. I think there is a problem in your template renaming product tabs if features is theproduct info you are showing in the first tab. Is that a non default theme? Edit: Data Sheet must show product features. Product's long description, as you have it now, seems to be showing your features. Edited September 29, 2014 by nutxlago (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted September 29, 2014 Share Posted September 29, 2014 You can hide it with css, or simply erase the block in product.tpl {if isset($features) && $features} <!-- Data sheet --> <section class="page-product-box"> <h3 class="page-product-heading">{l s='Data sheet'}</h3> <table class="table-data-sheet"> {foreach from=$features item=feature} <tr class="{cycle values="odd,even"}"> {if isset($feature.value)} <td>{$feature.name|escape:'html':'UTF-8'}</td> <td>{$feature.value|escape:'html':'UTF-8'}</td> {/if} </tr> {/foreach} </table> </section> <!--end Data sheet --> {/if} THis way they will still be available when you filter 1 1 Link to comment Share on other sites More sharing options...
nutxlago Posted September 29, 2014 Share Posted September 29, 2014 Great, Nemo, thanks! Link to comment Share on other sites More sharing options...
Fashionist Posted September 29, 2014 Author Share Posted September 29, 2014 (edited) Ok I have to remember this modify cause I'll re-enable it in future!!! EDIT: Nemo I have tried but in this manner I deleted various features in data sheet tab but not the tab with title.. I disable features in the BO...howewer filter research linked to featured is still showing Edited September 29, 2014 by Fashionist (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted September 30, 2014 Share Posted September 30, 2014 did you clear cache after amending product.tpl? Link to comment Share on other sites More sharing options...
Fashionist Posted September 30, 2014 Author Share Posted September 30, 2014 did you clear cache after amending product.tpl? Yes I have done! Link to comment Share on other sites More sharing options...
NemoPS Posted October 1, 2014 Share Posted October 1, 2014 Ah, right, above that, erase {if $features}<li><a id="more_info_tab_data_sheet" href="#idTab2">{l s='Data sheet'}</a></li>{/if} Link to comment Share on other sites More sharing options...
Fashionist Posted October 1, 2014 Author Share Posted October 1, 2014 (edited) Ah, right, above that, erase {if $features}<li><a id="more_info_tab_data_sheet" href="#idTab2">{l s='Data sheet'}</a></li>{/if} Thanks for your help Nemo1. I think that I only disable "features" in the back office. This delete only the tab in the product page and not the function (filtering is still active). Is better for me cause early 2015 I want to apply features to all products. I don't like to forgot what kind of code I have modified Edited October 1, 2014 by Fashionist (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts