[Q] Product Tabs?

Martin

2009-06-20 13:14:05

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)