Forums / All Other Contributions/Addons / Tabbed Products Pro (TPP) Contrib - Official Thread

Tabbed Products Pro (TPP) Contrib - Official Thread

Started by qhome on 21 Jan 2008, 7:19 AM · Views: 398,462

Results 121 to 140 of 2,224
12 Feb 2008, 9:52 PM
#121
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Tabbed Products Pro (TPP) Contrib - Official Thread

PM2008:

Sorry, my host is experiencing issues...I was able to capture a screenshot when it was up. Please have a look and let me know.

Thanks,
PM

You pasted the tabblock in the wrong spot. Should be before the Add to cart button, not after it.

13 Feb 2008, 12:39 AM
#122
quentinjs avatar

quentinjs

Zen Follower

Join Date:
Mar 2004
Location:
Calgary, Alberta
Posts:
289
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

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....

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''),');
13 Feb 2008, 1:59 AM
#124
quentinjs avatar

quentinjs

Zen Follower

Join Date:
Mar 2004
Location:
Calgary, Alberta
Posts:
289
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

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.

13 Feb 2008, 2:02 AM
#125
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

quentinjs:

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.

Is Javascript on?

13 Feb 2008, 2:14 AM
#127
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

quentinjs:

Sorry, I meant to list that. I did check FireFox, and just checked IE and JavaScript should be on.

Got a link for me to check? When uploading, you did change the words "YOUR TEMPLATE" to the actual template name I assume :P

(Also a quick note, the link in your signature is not set to link correctly)

13 Feb 2008, 3:32 AM
#128
quentinjs avatar

quentinjs

Zen Follower

Join Date:
Mar 2004
Location:
Calgary, Alberta
Posts:
289
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

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?

13 Feb 2008, 4:23 AM
#129
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

quentinjs:

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.

13 Feb 2008, 1:33 PM
#130
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

quentinjs:

Fixed :-)

I'd suggest leaving the "Add-to-cart" tab as off. I think this would be the preferred option for most people.

Ya i used to have a default setup but forgot to do it when i was redoing the sql file

13 Feb 2008, 3:57 PM
#131
pm2008 avatar

pm2008

New Zenner

Join Date:
Feb 2008
Posts:
15
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

qhome:

You pasted the tabblock in the wrong spot. Should be before the Add to cart button, not after it.

Thanks for your help, I was able to modify the Cherry Zen template for Tabbed pro, now all is fine!

I noticed in my testing that, if the Javascript is turned off, the product info is not displayed. Is there a way to check for Javascript when loading the store, to warn the user to turn Javascript on? or check for Javascript and bypass the Tabbed Pro logic and display the default Product Info w/o Tabs?

Thanks,
PM

13 Feb 2008, 4:29 PM
#132
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

PM2008:

Thanks for your help, I was able to modify the Cherry Zen template for Tabbed pro, now all is fine!

I noticed in my testing that, if the Javascript is turned off, the product info is not displayed. Is there a way to check for Javascript when loading the store, to warn the user to turn Javascript on? or check for Javascript and bypass the Tabbed Pro logic and display the default Product Info w/o Tabs?

Thanks,
PM

That shouldn't be. Sounds like you still don't have something right. The design is that when Javascript is off, you see the normal default zen-cart view of the product display page, including the product description. The tabs are set to hide by default and javascript enables them.

Take a look at my demo site with and without javascript. You should see product info and everything else while jscript is off. Be sure you didn't edit it out of your product info file when adding the tab block.

(Trying to check your site now but once again.. its taking its time to load. You might want to change hosts asap unless your not targeting USA)

13 Feb 2008, 4:43 PM
#133
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

@PM.

I took a look at your site and sure enough you seem to be missing the productdescription section that should appear directly under the tab block. In the default tpl_product_display_info.php file it is denoted by id="productDescription".

Not finding that in your source

13 Feb 2008, 6:17 PM
#134
pm2008 avatar

pm2008

New Zenner

Join Date:
Feb 2008
Posts:
15
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

qhome:

@PM.

I took a look at your site and sure enough you seem to be missing the productdescription section that should appear directly under the tab block. In the default tpl_product_display_info.php file it is denoted by id="productDescription".

Not finding that in your source

I had to take that out because the description was showing up all the time, please check the link below:

http://www.herbalbazar.com/index.php?main_page=product_info&cPath=6_11&products_id=13

And also attached the code for your review.

thanks,
PM

13 Feb 2008, 6:40 PM
#135
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

PM2008:

I had to take that out because the description was showing up all the time, please check the link below:

http://www.herbalbazar.com/index.php?main_page=product_info&cPath=6_11&products_id=13

And also attached the code for your review.

thanks,
PM

Hmm... I see what you mean. Very odd... i see the code that is supposed to hide the extra productDescription it is there, but its not hiding for some reason.

I'll do some more debug and get back to you.

13 Feb 2008, 10:32 PM
#136
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

PM2008:

I had to take that out because the description was showing up all the time, please check the link below:

http://www.herbalbazar.com/index.php?main_page=product_info&cPath=6_11&products_id=13

And also attached the code for your review.

thanks,
PM

Oh I see the problem. You didn't read the readme :lamo: :D

There are 3 code blocks to add to your product info file, not just 2. The last one does the javascript execution to remove the extra copies. Please see readme area under the "Installation" tab.

13 Feb 2008, 11:24 PM
#137
baltzar avatar

baltzar

New Zenner

Join Date:
Jul 2007
Posts:
25
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

Tabs flickers under IE and even disapear some times after you click on one,
FF works perfect!

anyone have fix for that?

And thank for this great mod.

14 Feb 2008, 3:07 AM
#138
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

baltzar:

Tabs flickers under IE and even disapear some times after you click on one,
FF works perfect!

anyone have fix for that?

And thank for this great mod.

Just Delete IE :smile: Is this IE6 or IE7? I know there was a problem with IE6 with the old tabs lite version that would hide the headerbar when you clicked on the main image to enlarge it. But I'm not quite sure what flicker means in this case.

Can you give steps to reproduce it?

14 Feb 2008, 10:49 AM
#139
pm2008 avatar

pm2008

New Zenner

Join Date:
Feb 2008
Posts:
15
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

qhome:

Oh I see the problem. You didn't read the readme

There are 3 code blocks to add to your product info file, not just 2. The last one does the javascript execution to remove the extra copies. Please see readme area under the "Installation" tab.

:oops: I was going back and forth on this display page and missed that piece...but trust me, I read your readme so many times, now know all of it by heart! anyhow thanks for your help and for the great mod.

  • PM