In Tabbed Products Pro I have created several tab clones to hold my several Cross Tab clones. Each tab functions properly just like the original cross sell tab of TPP. And now I am trying to create a "combo" tab that holds the data of two or more other tabs. I got that far but now realize I need to ensure that the "combo" tab is not omnipresent as is the case now.
What is it about Zen Cart, and in this case the Cross Sell mod, that lets Tabbed Product Pro to not display a contentless tab? Or what is it that is in TPP that hides empty tabs (which I can certainly ask in TPP if/when appropriate))?
This probably will be more involved than the copy'n'pasting I've done thus far (and obviously changing pertinent reference points and whatnot) in Cross Sell cloning and in includes\modules\tabbed_products_pro.php. Seeing as I am combining cross sell clones, I'll probably need to write or mimic an OR statement or two somewhere in one of Cross Sell's files or in tabbed_products_pro.php.
IF Cross Sell is empty AND Cross Sell 2 is empty AND Cross Sell 3 is empty, too, THEN do not show the Combo Tab OTHERWISE display the tab.
Bookmarks