Jump to content

Hide "Data Sheet" product page


Fashionist

Recommended Posts

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

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 :)

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

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

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 :P

Edited by Fashionist (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...