Jump to content
Sign in to follow this  
NiteFox

Product Tabs

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

Share this post


Link to post
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.

  • Thanks 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...