You pasted the tabblock in the wrong spot. Should be before the Add to cart button, not after it.
Printable View
What I've seen of this tool looks fantastic. Its exactly what I decided today I needed to write... as it didn't exist (or so I thought) and then I found this... WOW... I have found 1 concern so far.
Here is some install problems... I'm using MySQL 5, and its a little more picky on the inserts, it likes all the fields to be specified (if you can). And you can't use "" as NULL should be used instead.
I quickly modded the TPP one here....
PHP Code:
SET @gid=0;
SELECT @gid:=configuration_group_id
FROM configuration_group
WHERE configuration_group_title LIKE '%Tabbed Products Config%'
LIMIT 1;
DELETE FROM configuration WHERE configuration_group_id = @gid;
DELETE FROM configuration_group WHERE configuration_group_id = @gid;
SET @gid=0;
SELECT @gid:=configuration_group_id
FROM configuration_group
WHERE configuration_group_title LIKE '%TPP - Config%'
LIMIT 1;
DELETE FROM configuration WHERE configuration_group_id = @gid;
DELETE FROM configuration_group WHERE configuration_group_id = @gid;
DELETE FROM configuration_group WHERE configuration_group_title LIKE '%Tabbed Products Config%';
DELETE FROM configuration_group WHERE configuration_group_title LIKE '%TPP - Config%';
DELETE FROM configuration WHERE configuration_description LIKE 'Set this to 1%' LIMIT 12;
DELETE FROM configuration WHERE configuration_title LIKE 'TPP - %' LIMIT 11;
INSERT INTO configuration_group VALUES (NULL, 'TPP - Config', 'Tabbed Products Lite - Config', '1', '1');
SET @gid=last_insert_id();
UPDATE configuration_group SET sort_order = @gid WHERE configuration_group_id = @gid;
INSERT INTO configuration VALUES(NULL, 'TPP - Global Enable Tabs', 'GLOBAL_ENABLE_TABS', '1', 'Set this to 1 if you want to enable the global use of tabs on your products', @gid, 1, '2008-01-14 20:11:07', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Product Description Tab', 'GLOBAL_PROD_DESC_ON_TAB', '1', 'Set this to 1 if you want all products to have the Main Product Description on its own tab', @gid, 2, '2008-01-14 20:18:34', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Attributes on Tab', 'GLOBAL_ATTRIBUTES_ON_TAB', '1', 'Set this to 1 if you want the Attributes to appear on their own tab. This will only show up if the product has attributes to show. If there are no attributes, the tab will not show up.', @gid, 3, '2008-01-14 20:19:22', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Details On Tabs', 'GLOBAL_DETAILS_ON_TAB', '1', 'Set this to 1 if you want the Product Details to appear on their own tab (weight, model number, etc). This will only show up if the product has details enabled. If there are no product details, the tab will not show up. ', @gid, 4, '2008-01-15 15:34:07', '0001-01-01 00:00:00', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Add To Cart Tab', 'GLOBAL_ADD_TO_CART_ON_TAB', '1', 'Set this to 1 if you want the add to cart button to be on its own tab. Note this includes Add To Cart button and Qty Discounts table.', @gid, 5, '2008-01-14 19:29:49', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Additional Images Tab', 'GLOBAL_ADDL_IMAGES_ON_TAB', '1', 'Set this to 1 if you want the additional images for a product on its own tab. This will only show up if the product has additional images to show. If there are no additional images, the tab will not show up.', @gid, 6, '2008-01-14 20:19:09', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Customers Also Purchased Tab', 'GLOBAL_CUST_ALSO_PURCH_ON_TAB', '1', 'Set this to 1 if you want the Customers Also Purchased module on its own tab. This will only show up if the product has other products to show. If there are no other products, the tab will not show up.', @gid, 7, '2008-01-14 20:19:15', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Cross Sell Is Installed', 'CROSS_SELL_IS_INSTALLED', '0', 'Set this to 1 ONLY if you have the Cross Sell contrib installed as per the Cross Sell contribs instructions. This will give an error if you enable this to true without already having it installed', @gid, 8, '2007-01-12 22:07:11', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Cross Sell Tab', 'GLOBAL_CROSS_SELL_ON_TAB', '0', 'Set this to 1 if you want the Cross Sell module on its own tab. This will only work if the setting "Cross Sell Is Installed" above is set to 1', @gid, 9, '2007-01-12 22:07:11', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Reviews Tab', 'GLOBAL_REVIEWS_ON_TAB', '1', 'Set this to 1 if you want the Product Reviews to show up on its own tab. This will always show up even if there are no reviews. The Review module has its own "No reviews found" so it defaults.', @gid, 10, '2008-01-14 20:19:36', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Show Tab Headers', 'SHOW_TAB_HEADERS', '1', 'Set this to 1 if you want a header bar to appear under the tabs, above the tab content', @gid, 11, '2007-01-12 22:07:11', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),');
Glad you found it useful.
Thank you for the Mysql5 update. I will add it to the Final version with credits to you.
So I'm not sure what I've not done, or is not configured correctly...
1. I installed the config sql
2. I installed all the files, including templates to my templatye folder
3. I can see the TPP config under the configuration tab.
4. The files all look to be in the correct locations, as I've done a check
But when I go to products I don't see any tabs. I've tried FireFox and Explorer and both are showing just a standard product display.
Very puzzled.
Sorry, I meant to list that. I did check FireFox, and just checked IE and JavaScript should be on.
Fixed :-)
I'd suggest leaving the "Add-to-cart" tab as off. I think this would be the preferred option for most people.
If I added a new set of fields to all products, how would I add those to a specific standard tab? Also if these fields are blank then they shouldn't be added.
Can I add additional standard tabs to all products, with the caveat that if there isn't any info, then they shouldn't display?
Well the way it works now is based on each module. For example. Additional Images, Customers Also Purchased, and Cross Sell... if there aren't any additional images, purchased products, or cross sell items, it doesn't show up.
So to add more features to a product would be essentially adding a new module to the product and then you could follow the process that was used to create those tabs to create more tabs structures.