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 401 to 420 of 2,224
3 Jun 2008, 2:44 PM
#401
qhome avatar

qhome

Totally Zenned

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

Tabbed Products Pro (TPP) Contrib - Official Thread

michaelhl:

I have the following problems:

  1. Advanced X-SELL works but not on a Tab:
    1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'MAX_DISPLAY_XSELL' at line 8

when tab is switched to off it works.

  1. Additional images: When they are not on a TAB they are displayed in the right way next to each other. When they ar on a TAB one underneath the other.

Are there any solutions for this problems?

Dunno.. these aren't problems that I have. Need a link

3 Jun 2008, 3:08 PM
#403
michaelhl avatar

michaelhl

New Zenner

Join Date:
Oct 2005
Location:
Germany
Posts:
60
Plugin Contributions:
0

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

The X-Sell Problem is solved. I run the following sql-patch from the original x-sell contribution:

## add switches for:  MIN_DISPLAY_XSELL, MAX_DISPLAY_XSELL
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Cross-Sell Products', 'MIN_DISPLAY_XSELL', 1, 'This is the minimum number of configured Cross-Sell products required in order to cause the Cross Sell information to be displayed.<br />Default: 1', 2, 17, now());
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Cross-Sell Products', 'MAX_DISPLAY_XSELL', 6, 'This is the maximum number of configured Cross-Sell products to be displayed.<br />Default: 6', 3, 66, now());
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Cross-Sell Products Columns per Row', 'SHOW_PRODUCT_INFO_COLUMNS_XSELL_PRODUCTS', '3', 'Cross-Sell Products Columns to display per Row<br />0= off or set the sort order.<br />Default: 3', 18, 72, 'zen_cfg_select_option(array(0, 1, 2, 3, 4), ', now());
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Cross-Sell - Display prices?', 'XSELL_DISPLAY_PRICE', 'false', 'Cross-Sell -- Do you want to display the product prices too?<br />Default: false', 18, 72, 'zen_cfg_select_option(array(\'true\',\'false\'), ', now());

after this it works. May be that the advanced x-sell deletes it from the database

3 Jun 2008, 3:18 PM
#404
michaelhl avatar

michaelhl

New Zenner

Join Date:
Oct 2005
Location:
Germany
Posts:
60
Plugin Contributions:
0

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

I just see that the picture problem is only in German language not in English. How could this be?

3 Jun 2008, 4:05 PM
#405
michaelhl avatar

michaelhl

New Zenner

Join Date:
Oct 2005
Location:
Germany
Posts:
60
Plugin Contributions:
0

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

All problems are solved. I found a tabbed products lite file in the german language folder. After the deletetion all works well.

9 Jun 2008, 2:32 PM
#406
knighs2 avatar

knighs2

New Zenner

Join Date:
May 2007
Posts:
42
Plugin Contributions:
0

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

Hi Guys,

Can anyone advise how you add content to the tabs.

Say for example - something simple to start with like the product name in inf_desplay its <h1 align="center"><?php echo $products_name; ?></h1>

Now as far as i was lead to belive you can enter info in the tabbed_products_pro.php file so i tried just echo $products_name; under: //<!--bof Add to Cart Box --> about line 277 to see if i could get the product name to show in the Add to Cart tab. But nothing.

Can anyone shed some light on how to add info into tabs.

Thanks
Shane

9 Jun 2008, 3:20 PM
#407
knighs2 avatar

knighs2

New Zenner

Join Date:
May 2007
Posts:
42
Plugin Contributions:
0

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

Ive half worked out the above but also have an issue with my tab layout

Where i have changed some of my tab names they dont fit on one line the last title is wrapped and creats a gab below before then next name on a separate line See here is there a way to make sure if this happens it just puts the tabbs ona new line?

Thanks
Shane

9 Jun 2008, 8:25 PM
#408
qhome avatar

qhome

Totally Zenned

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

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

^^
Not really. You can however edit the language file and add a <br /> between words so instead of

Product Description | Additional Images | Cross Sell

you can have

  Product         Additional      Cross
Description  |      Images     |   Sell
10 Jun 2008, 8:29 AM
#409
knighs2 avatar

knighs2

New Zenner

Join Date:
May 2007
Posts:
42
Plugin Contributions:
0

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

qhome:

^^
Not really. You can however edit the language file and add a <br /> between words so instead of

Product Description | Additional Images | Cross Sell

> you can have
> ```
  Product         Additional      Cross
Description  |      Images     |   Sell

Thanks Ill try that, however it worked fine in tabbed products lite ? see here
i have two rows of tabs one under the other and its deplays fine, not sure why it should be different in this version ?

Can you also confirm the correct way of adding info the the actual tabs. Again it apears to be very different from tab products lite.

for expmple i want to add:

<h2 id="productRewardPoints" class="productRewardPoints"> <?php /** * display the product reward points */ include($template->get_template_dir('/tpl_product_reward_points.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_product_reward_points.php'); ?> </h2> <!--eof Product Reward Points block --> to my add to cart tab. Exactly which area to i add it too, ive been trying add to cart pre load and the add to cart. So far only way i can get anything to show up in the actual tab its self is by adding this to some areas $fmtATC .= however as im not a programmer im having issues trying to get tho show. Do you have a small guide you could do to explain how to add code to tabs.

Thanks
Shane

10 Jun 2008, 10:37 AM
#410
qhome avatar

qhome

Totally Zenned

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

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

knighs2:

Thanks Ill try that, however it worked fine in tabbed products lite ?

That just happens to look right because the spacing is exactly perfect and there is a little extra padding in the css. Still, that look is undesirable imo.. that is why i fixed it a bit in TPP. The ideal look is to have no wrapping at all.

10 Jun 2008, 10:53 AM
#412
knighs2 avatar

knighs2

New Zenner

Join Date:
May 2007
Posts:
42
Plugin Contributions:
0

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

qhome:

That just happens to look right because the spacing is exactly perfect and there is a little extra padding in the css. Still, that look is undesirable imo.. that is why i fixed it a bit in TPP. The ideal look is to have no wrapping at all.

Ive managed to make it look better by adding the <br /> as u said. as long as i dont add any more tabs it should look ok.

Would you be able to answer the below please, im really struggling with it at the moment:

Can you also confirm the correct way of adding info the the actual tabs. Again it apears to be very different from tab products lite.

for expmple i want to add:

<h2 id="productRewardPoints" class="productRewardPoints"> <?php /** * display the product reward points */ include($template->get_template_dir('/tpl_product_reward_points.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_product_reward_points.php'); ?> </h2> <!--eof Product Reward Points block --> to my add to cart tab. Exactly which area to i add it too, ive been trying add to cart pre load and the add to cart. So far only way i can get anything to show up in the actual tab its self is by adding this to some areas $fmtATC .= however as im not a programmer im having issues trying to get tho show. Do you have a small guide you could do to explain how to add code to tabs.
10 Jun 2008, 11:17 AM
#413
qhome avatar

qhome

Totally Zenned

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

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

knighs2:

Would you be able to answer the below please, im really struggling with it at the moment:

Yea, the way it was redone makes it a bit harder because you have to convert the code a bit. I will look into making that part easier today.

11 Jun 2008, 11:45 AM
#414
miles avatar

miles

Zen Follower

Join Date:
Oct 2006
Location:
At Home
Posts:
357
Plugin Contributions:
0

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

How can I disable the 'Details' tab? I want the details to be shown under the product price.

- Nothing is impossible. Some things are just less likely than others. -

11 Jun 2008, 1:11 PM
#415
qhome avatar

qhome

Totally Zenned

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

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

miles:

How can I disable the 'Details' tab? I want the details to be shown under the product price.

move the details in your tpl_product_display_info.php file to where you want it. Then just disable the Details tab from the admin->TPP Config section.

Unless you also want the product price on a tab, then you need to do a code change in the tabbed_products_pro.php module file

I'm probably going to redo the whole thing when zc1.4 comes out so that things like this can be done easier. But for now, moving stuff onto other tabs, and changing the order globally isn't easy.

11 Jun 2008, 4:25 PM
#416
koge avatar

koge

New Zenner

Join Date:
Aug 2007
Posts:
19
Plugin Contributions:
0

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

Hey all,

Thanks for this great contrib!

I installed it and it went fine but I'm getting this in result.

Can someone tell me what is wrong with it? It's a fresh installation of the addon. I didn't edit any files.

Thanks in advance!

PS Qhome i looked at the link you have posted I'm not sure what im looking at:blink:

"OK Fixed:

Fixed: Prevent product title from including model number
Files affected:
-modules/tabbed_products_pro.php

Attached

(Milo, don't use this one. Use the one in your PM)"

this post?

Thanks

11 Jun 2008, 9:20 PM
#417
qhome avatar

qhome

Totally Zenned

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

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

koge:

Hey all,

Thanks for this great contrib!

I installed it and it went fine but I'm getting this in result.

Can someone tell me what is wrong with it? It's a fresh installation of the addon. I didn't edit any files.

Thanks in advance!

PS Qhome i looked at the link you have posted I'm not sure what im looking at:blink:

"OK Fixed:

Fixed: Prevent product title from including model number
Files affected:
-modules/tabbed_products_pro.php

Attached

(Milo, don't use this one. Use the one in your PM)"

this post?

Thanks

Sorry.. its a vbforum bug...

anyway.. you are in the right thread now. You "were" in the Tabbed Product "Lite" thread, so the link was to link you to Tabbed Products "Pro" thread, which is where you are now.

As far as your problem, I'd need to see a live link.

12 Jun 2008, 2:32 AM
#418
miles avatar

miles

Zen Follower

Join Date:
Oct 2006
Location:
At Home
Posts:
357
Plugin Contributions:
0

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

How to move product 'model' and 'unit in stock' from the bottom page to just under the product price? Can't locate the code in tpl_product_info_display.php.

- Nothing is impossible. Some things are just less likely than others. -

12 Jun 2008, 3:32 AM
#419
qhome avatar

qhome

Totally Zenned

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

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

miles:

How to move product 'model' and 'unit in stock' from the bottom page to just under the product price? Can't locate the code in tpl_product_info_display.php.

Its under a section called "product details"

12 Jun 2008, 7:16 PM
#420
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

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

Qhome, would you please kindly provide the list of files to uninstall from Tabbed Lite (since it's no longer available in the download section for comparison purpose).

This would be something nice to add in the readme file.

Also, no mention is made of what to do with SQL update for those of us upgrading from Tabbed Lite. Some of the configuration options in TabbedProductsPro.sql looks like they are part of tabbed lite which would mean this would generate an error if I simply install the new sql. Please advice.

Thanks!