Jump to content

Possible to Hide data sheet? 1.5.4.1


Recommended Posts

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

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

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...