View Single Post
  #178  
Old 07-15-2009, 03:56 PM
 
royng royng is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 85
 

Default Re: DIY Tabbed Content Menu for Product Page

Quote:
Originally Posted by PhilJ
Put simply, if the content does not exist, then don't display the tab(s).

Solution...

Wrap an IF statement around the individual tab code.

For example with upselling products...

Code:
{if $active_modules.Upselling_Products eq ""}[*]Related Products {else} {/if}

Recommended products...

Code:
{if $active_modules.Recommended_Products eq ""}[*]Recommended Products {else} {/if}

etc.

Detailed Images is slightly different...

Code:
{if $images eq ""}[*]Detailed Images {else} {/if}

So is Customer Reviews...

Code:
{if $reviews eq ""}[*]Customer Reviews {else} {/if}


PhilJ, this Mod is super awesome!

I am using 4.1.11 and it's work great.

Few things I want to change for the tabs.
Change the order of the tab
Add the Additional images in it
Hide the Short Description for now(cause I don't have enough descriptions)
Change the name of the Recommended products list

Do I have to work on the the product.tpl and tabs_v4.1.x.tpl

One last thing, my "Recently Viewed" not capturing the recently viewed, what I did wrong?

Thanks in advance

X-cart's Newbie
__________________
X-Cart DB Version: 4.1.11 GOLD
Reply With Quote