Jump to content

Product Tabs


NiteFox

Recommended Posts

Evening all, 

Was wondering if anyone knows what "product tabs" relates to in content.product.php (see example below) as i can't seem to find anything in the admin panel which would relate to it so can't test my new layout.

{foreach from=$PRODUCT_TABS_CONTENTS item=product_tab_content}
	{if isset($product_tab_content.content_id) && isset($product_tab_content.content)}
		
		{$product_tab_content.content}
	
	{else}
		
		{$product_tab_content}
			
	{/if}
{/foreach}

 

Cheers

Link to comment
Share on other sites

The PRODUCT_TABS_TITLES and PRODUCT_TABS_CONTENTS are arrays that are populated by hooks, usually the hook in the Catalogue->displayProduct method.

When viewing a product of the storefront, there are three established tabs: Product Information, Specification, and Quantity Discounts.

Each TAB has a corresponding CONTENT panel.

Other hooks in admin will add tabs and content panels to collect whatever additional data would be related to the product.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...