[Q] Product Tabs?

Mod, Add-on & other Development discussion
Post Reply
Martin
Site Admin
Site Admin
Posts: 1854
Joined: Wed Jun 17, 2009 6:30 pm
Location: South Yorkshire UK
Contact:

[Q] Product Tabs?

Post by Martin »

I've been looking through the code for Product Tabs and it's occurred to me that people would like to be able to turn some tabs on/off, make others default and in some cases, add a tab or two of their own.

So far I've found that the code files that contain references to tabs are:

includes/classes/class.product.php
javascript/product.js
templates/__Master/Panels/ProductTabs.html

Plus of course the admin sections that control them..

From what I can tell it seems that disabling a tab is relatively easy with just a few comments prepended to the offending Tabname[footab] variable in the JS and lang.footab variable in the ProductTabs template.

The rest of it is a bit more involved but most people seem to prefer the approach of hacking the language file to either take over the Product Warranty or expand its role (ref)

Post Reply