View Single Post
  #5  
Old 01-06-2011, 06:21 AM
 
Fascinations Fascinations is offline
 

Member
  
Join Date: Dec 2010
Posts: 16
 

Default Re: Product Tabs Display

Thanks for your reply, but I am a newbie at this x-cart stuff and far from an expert with php coding, so with that being said -- can you give me an exact example of how this would be written out with the code below. With the code the way it is, it displays the "Specifications" tab all the time whether there are any extra fields empty or not.

This is the code in include/product_tabs.php

Code:
if ($active_modules['Extra_Fields']) { $product_tabs[] = array( 'title' => func_get_langvar_by_name('lbl_specifications'), 'tpl' => 'modules/Extra_Fields/product.tpl', 'anchor' => 'specs' ); }
__________________
X-Cart Pro 4.4
Reply With Quote