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 161 to 180 of 2,224
16 Feb 2008, 7:57 PM
#161
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

Tabbed Products Pro (TPP) Contrib - Official Thread

qhome:

They are already available. Read my posts above

So they are included in the 1.0 version? I installed Beta 0.4 and have made changes to product_info_display, can I just leave this file out and overwrite all the others when I install the latest version? Or have you made changes to product_info_display for 1.0 as well?

16 Feb 2008, 8:13 PM
#162
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

Just updated to 1.0.

Question, why did my product image, name, and prices all move into the first tab? I notice your demo http://www.unbannable.com/zen138a/index.php?main_page=product_info&cPath=25&products_id=36 still works as before, how do I move them back?

16 Feb 2008, 8:15 PM
#163
qhome avatar

qhome

Totally Zenned

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

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

quentinjs:

Okay my machine is on drugs and isn't sharing! I just re-did it and its working now.. SO BIZARRE!

So on to more fun things....

  1. how do I remove the <hr> lines?
  2. using http://www.totalgarage.ca/products/index.php?main_page=product_info&cPath=46&products_id=84 I want to have the dimensional information on the "Details" tab. Is this possible, as its just text in the product description currently.
  3. I'm going to look into how I can get the shipping dimension fields added to the tabs, should be interesting...
  1. Those aren't <hr> those are css borders. Edit the CSS file that you are using to set borders to 0px
  2. & 3. You can do it on a product-by-product basis by adding a <!--%Details%--> custom tab, then add that data under it, and use a <!--*sub_DetailsOnTab(1)*--> to put the details on that tab directly below it.

quentinjs:

Just updated to 1.0.

Question, why did my product image, name, and prices all move into the first tab? I notice your demo http://www.unbannable.com/zen138a/index.php?main_page=product_info&cPath=25&products_id=36 still works as before, how do I move them back?

Because you ran the sql file again which sets those as defaults. Simply change them back in your admin area.

16 Feb 2008, 8:16 PM
#164
qhome avatar

qhome

Totally Zenned

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

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

Berserker:

So they are included in the 1.0 version? I installed Beta 0.4 and have made changes to product_info_display, can I just leave this file out and overwrite all the others when I install the latest version? Or have you made changes to product_info_display for 1.0 as well?

No there are no changes to the product info file. You can keep the one you have.
The only files that changed are listed in the readme history, and here

16 Feb 2008, 8:28 PM
#166
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

qhome:

  1. Those aren't <hr> those are css borders. Edit the CSS file that you are using to set borders to 0px

Oh, I didn't run the SQL again, just copied the includes\ files.

Also on borders... there is 2 places in the CSS

#slidetabsmenu {
  border-bottom:1px solid #2763A5;

.tabcontent{
  border-bottom: 1px solid;

that have borders noted, like the top one, but if you look at http://www.totalgarage.ca/products/index.php?main_page=product_info&cPath=46&products_id=84 you will see that there is additional lines across, and on the reviews page there is even more. These are very distracting, plus you can see that the image/name/price are not where they used to be, and from what I can see in the admin, there is not a specific config to just move those, either I loose the entire first tab or everything is on it.

16 Feb 2008, 8:35 PM
#167
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

Found flag for the header bar in the admin->config that solved that problem. looks much better.

On "reviews" and "customer purchased" there is still an additional border along the top. Where does this come from?

16 Feb 2008, 8:48 PM
#168
qhome avatar

qhome

Totally Zenned

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

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

quentinjs:

Found flag for the header bar in the admin->config that solved that problem. looks much better.

On "reviews" and "customer purchased" there is still an additional border along the top. Where does this come from?

These borders are part of the original module. They aren't part of the tabs. You'd have to override them in the zen-cart stylesheet.

As far as the header bar, your template css is in need of some updating as you are seeing only the border lines because you have no header image set and you have white text on the white background so you don't see the header.

16 Feb 2008, 8:56 PM
#169
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

  1. How do I move the Product Image, Name and Price back to upper arad, but leave the description in the tabs ?

  2. I have 2 "details tabs"

I did

<font size="2" style="font-family: arial,helvetica,sans-serif;">The InterChange IVB-1R Vertical Bike Hook is great for storage of anything heavy from bikes, leaf blowers and chainsaws to everything in between. Easy installation using the InterChange WallDock (included). The unit is made of sturdy solid steel construction and a durable epoxy finish. </font><font size="2"><br style="font-family: arial,helvetica,sans-serif;" /><br style="font-family: arial,helvetica,sans-serif;" />
<!--%Details%-->
<b style="font-family: arial,helvetica,sans-serif;">Dimensions:</b><span style="font-family: arial,helvetica,sans-serif;"> 10 3/4" x 5 3/4" x 3 1/2" Packaged</span><br style="font-family: arial,helvetica,sans-serif;" /><b style="font-family: arial,helvetica,sans-serif;">Color:</b><span style="font-family: arial,helvetica,sans-serif;"> Black </span><br style="font-family: arial,helvetica,sans-serif;" /><b style="font-family: arial,helvetica,sans-serif;">Max Capacity:</b><span style="font-family: arial,helvetica,sans-serif;"> 50 lbs </span><br style="font-family: arial,helvetica,sans-serif;" /></font>
<br /><br /><!--*sub_DetailsOnTab(1)*-->

I have also tried

<!--*sub_DetailsOnTab(#)*-->

and

<!--*sub_DetailsOnTab(2)*-->

with no sucess on making them only be 1 tab.

And thanks for the help. I also fixed that CSS thing for reviews, looks better..

16 Feb 2008, 9:19 PM
#170
qhome avatar

qhome

Totally Zenned

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

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

quentinjs:

  1. How do I move the Product Image, Name and Price back to upper arad, but leave the description in the tabs ?

  2. I have 2 "details tabs"

I did

<font size="2" style="font-family: arial,helvetica,sans-serif;">The InterChange IVB-1R Vertical Bike Hook is great for storage of anything heavy from bikes, leaf blowers and chainsaws to everything in between. Easy installation using the InterChange WallDock (included). The unit is made of sturdy solid steel construction and a durable epoxy finish. </font><font size="2"><br style="font-family: arial,helvetica,sans-serif;" /><br style="font-family: arial,helvetica,sans-serif;" />

<!--%Details%-->

<b style="font-family: arial,helvetica,sans-serif;">Dimensions:</b><span style="font-family: arial,helvetica,sans-serif;"> 10 3/4" x 5 3/4" x 3 1/2" Packaged</span><br style="font-family: arial,helvetica,sans-serif;" /><b style="font-family: arial,helvetica,sans-serif;">Color:</b><span style="font-family: arial,helvetica,sans-serif;"> Black </span><br style="font-family: arial,helvetica,sans-serif;" /><b style="font-family: arial,helvetica,sans-serif;">Max Capacity:</b><span style="font-family: arial,helvetica,sans-serif;"> 50 lbs </span><br style="font-family: arial,helvetica,sans-serif;" /></font>
<br /><br /><!--*sub_DetailsOnTab(1)*-->

> 
> I have also tried
> <!--*sub_DetailsOnTab(#)*-->
> and 
> <!--*sub_DetailsOnTab(2)*-->
> with no sucess on making them only be 1 tab.
> 
> And thanks for the help.  I also fixed that CSS thing for reviews, looks better..

Oh I see ... you probably never upgraded to TPP BETA 0.6 that added the MainImage stuff. You DO need to run the SQL file that came with v1.0. Sorry about that confusion.

For the details on tabs you need to disable the global one if you are using the sub tab one.
16 Feb 2008, 9:39 PM
#171
brianpat avatar

brianpat

New Zenner

Join Date:
Jun 2007
Posts:
14
Plugin Contributions:
0

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

Hi ,
I have installed as being said by doc. I am getting error messages as below while accessing the product info page:
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
in:
[select distinct p.products_id, p.products_image, pd.products_name from TABLE_PRODUCTS_XSELL xp, products p, products_description pd where xp.products_id = '11' and xp.xsell_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '1' and p.products_status = 1 order by xp.sort_order asc limit MAX_DISPLAY_XSELL]

Could any body help me?

Thanks
Brian

16 Feb 2008, 10:04 PM
#172
qhome avatar

qhome

Totally Zenned

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

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

brianpat:

Hi ,
I have installed as being said by doc. I am getting error messages as below while accessing the product info page:
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
in:
[select distinct p.products_id, p.products_image, pd.products_name from TABLE_PRODUCTS_XSELL xp, products p, products_description pd where xp.products_id = '11' and xp.xsell_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '1' and p.products_status = 1 order by xp.sort_order asc limit MAX_DISPLAY_XSELL]

Could any body help me?

Thanks
Brian

looks like you enabled the Cross Sell option on TPP but don't have the Cross Sell contrib installed. You need to have Cross Sell already installed before you can use it as a tab. If you don't want cross sell, disable the "Cross Sell as a tab" and "Cross Sell is installed" options from the admin section of TPP.

16 Feb 2008, 11:42 PM
#173
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

qhome:

Oh I see ... you probably never upgraded to TPP BETA 0.6 that added the MainImage stuff. You DO need to run the SQL file that came with v1.0. Sorry about that confusion.

For the details on tabs you need to disable the global one if you are using the sub tab one.

SQL fixed my problem, thats good, and I never saw the 0.6 beta :-)

Now the "Detail" thing is going to be a big concern for me... as I have a lot of products I'll want to add stuff there for... not good :-( So there isn't a way to blend them. I would think that from the brief look at the code that it should be doable. (I still need to delve in to add my other database fields to the "Details" tab.)

17 Feb 2008, 12:35 AM
#174
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

A small amount of space between the bar and the content I think is a good idea. I added:

.tabcontent{
padding-top: 10px;
}

17 Feb 2008, 5:47 AM
#175
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

For those using Canada Post, or dimensional shipping, I posted a new thread with some changes to allow all dimensions to be shown, the one additional change to use it for TPP is

			$fmtDOT .= (($flag_show_product_info_model == 1 and $products_model !='') ? '<li><b>' . TEXT_PRODUCT_MODEL .':</b> '. $products_model . '</li>' : '') . "\n";
			$fmtDOT .= (($flag_show_product_info_weight == 1 and $products_weight !=0) ? '<li><b>' . TEXT_PRODUCT_WEIGHT .':</b> '.  $products_weight .' '. $products_weight_type . '</li>'  : '') . "\n";
			$fmtDOT .= (($flag_show_product_info_weight == 1 and $products_length !=0) ? '<li><b>' . TEXT_PRODUCT_LENGTH .':</b> '.  $products_length .' '. $products_dim_type . '</li>'  : '') . "\n";
			$fmtDOT .= (($flag_show_product_info_weight == 1 and $products_length !=0) ? '<li><b>' . TEXT_PRODUCT_WIDTH .':</b> '.  $products_width .' '. $products_dim_type . '</li>'  : '') . "\n";
			$fmtDOT .= (($flag_show_product_info_weight == 1 and $products_length !=0) ? '<li><b>' . TEXT_PRODUCT_HEIGHT .':</b> '.  $products_height .' '. $products_dim_type . '</li>'  : '') . "\n";
			$fmtDOT .= (($flag_show_product_info_quantity == 1) ? '<li><b>' . $products_quantity . TEXT_PRODUCT_QUANTITY . '</li>'  : '') . "\n";
			$fmtDOT .= (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)) ? '<li><b>' . TEXT_PRODUCT_MANUFACTURER .':</b> '. $manufacturers_name . '</li>' : '') . "\n";
17 Feb 2008, 6:37 AM
#176
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

I've been slowly working the layout, and getting it I think nearly to where I want it. And I have a question related to the space between the last bar on the content and the "write a review" button below it. There is a lot of white space and I'd like to tighten it up. If I toggle to normal view that space isn't there so I'm thinking its a TPP CSS thing, so any guidance would be appreciated to try and cut it down some.

see http://www.totalgarage.ca/products/index.php?main_page=product_info&cPath=46&products_id=340 for an example.

17 Feb 2008, 9:20 AM
#177
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

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

Qhome,

I uploaded the files from modules/css/appropriate images from this latest version and left the files from languages/templates as they are. I also did not run the sql file again but for some reason, the images/product title/prices are in the product information tab as well as outside the tabs? I only want them outside.

I only have Global, Additional Images, Customers Purchased and Reviews enabled in admin.

Thx

17 Feb 2008, 11:11 AM
#178
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

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

Forgot to add, I like the idea of alt_tpp_side1 in not having any images to load but is it possible to have it on top instead? Also, can the colors for it be changed?

17 Feb 2008, 6:09 PM
#179
qhome avatar

qhome

Totally Zenned

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

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

Berserker:

Qhome,

I uploaded the files from modules/css/appropriate images from this latest version and left the files from languages/templates as they are. I also did not run the sql file again but for some reason, the images/product title/prices are in the product information tab as well as outside the tabs? I only want them outside.

I only have Global, Additional Images, Customers Purchased and Reviews enabled in admin.

Thx

Berserker, I believe you said earlier that you last installed Beta 0.4. There were changes made to other files after BETA 0.4. The only file that hasn't changed since then was the product display template. You will need to run the new sql and upload ALL files except for the tpl_template_display_info file, as that didn't change. When I said upgraders didn't need the new files I had BETA 0.6 users in mind. Sorry about that.

Berserker:

Forgot to add, I like the idea of alt_tpp_side1 in not having any images to load but is it possible to have it on top instead? Also, can the colors for it be changed?

You mean you want a non-image styled top-tab style? you can take any of the top-tab stylesheets and copy it. Instead of using the images, you can just use colors.

17 Feb 2008, 6:58 PM
#180
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

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

qhome:

Berserker, I believe you said earlier that you last installed Beta 0.4. There were changes made to other files after BETA 0.4. The only file that hasn't changed since then was the product display template. You will need to run the new sql and upload ALL files except for the tpl_template_display_info file, as that didn't change. When I said upgraders didn't need the new files I had BETA 0.6 users in mind. Sorry about that.

You mean you want a non-image styled top-tab style? you can take any of the top-tab stylesheets and copy it. Instead of using the images, you can just use colors.

Thx for that. I was worried I did something wrong.

And yes, I want non-image styled top-tab but im not sure what you mean by copy? Do you mean, copy the content of alt_tpp_tabs1 (for example) and paste that inside alt_tpp_side1? or use any stylesheet apart from side 1 and replace the image with colors?