Forums / All Other Contributions/Addons / Tabbed Products ''LITE'' version - Delimiter based

Tabbed Products ''LITE'' version - Delimiter based

Locked

Views: 234,294

Results 361 to 380 of 1,190
This thread is locked. New replies are disabled.
28 Jul 2006, 3:07 PM
#361
IDEASLady avatar

IDEASLady

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,453
Plugin Contributions:
4

Tabbed Products ''LITE'' version - Delimiter based

Ive never even tried tpl_product_free_shipping_info_display.php
Alej:

The difference between Product General and Product Free Shipping is that the Product Free Shipping configures the product for Always Free Shipping by default ...

The product_free_shipping_info page displays the Free shipping icon and the New, Features and All listing shows the Free Shipping icon ...

There are no physical database differences to Product Free Shipping ... this is all controlled by the products_type field in the products table which is set to 5 for Product Free Shipping ...
I have my downloadable products category set as FSP.

IDEASLady
IDEAS Creative Studio

Your image... our business!

28 Jul 2006, 5:50 PM
#362
qhome avatar

qhome

Totally Zenned

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

Re: Tabbed Products ''LITE'' version - Delimiter based

ideasgirl:

I have my downloadable products category set as FSP.

Well if its a completely new product type then that will have to wait. I need to do the music one still for BlessIsacola and I will be gone on vacation for 9 days starting in a couple hours. so hopefully you have no major problems with the contrib. :)

Ill see you all in the future!

28 Jul 2006, 6:25 PM
#363
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Tabbed Products ''LITE'' version - Delimiter based

My "free shipping" downloadable eBooks and eDocs display fine with TabbedLite installed (as Q shows on his demo).

I am using same product type, "Product - General", for all my products including eBooks and eDocs.

(Among other things the "Product - Free Shipping" product type enables "Always Free Shipping" radio button option whan adding a new product).

For this to work "Product - Free Shipping" must be set as as subtype of "Product - General". And this is how Zen Cart should be setup by default.

To check see Admin > Catalog > Product Types > "Product - Free Shipping"

I'm not sure what "FSP" is.

28 Jul 2006, 6:34 PM
#364
IDEASLady avatar

IDEASLady

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,453
Plugin Contributions:
4

Re: Tabbed Products ''LITE'' version - Delimiter based

I'm not sure what "FSP" is.
Free Shipping Product.

IDEASLady
IDEAS Creative Studio

Your image... our business!

28 Jul 2006, 7:12 PM
#365
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Tabbed Products ''LITE'' version - Delimiter based

This may be off topic...

For those fond of the Ask A Question (AAQ) mod, there was a new version uploaded to ZC downloads area on July 11 ("Other Modules" category). It is more efficiently designed mod than previous (no need for additional DB entries, etc).

But as such it works a bit differently (that is the code entered into the product_info template file is different from the previous version). So this maybe throwing some people off on making previous version of AAQ work with latest Tabbed Lite, like it did me, until I found out about the new AAQ version.

Also for a patch see the thread at http://www.zen-cart.com/forum/showthread.php?p=237138

Also note the new version AAQ does not come with the graphic button the previous version did. Unfortunatele the old version is no longer available on ZC downloads. So I will see if I can scavenge the button and provide to Scott to update the code to render a button instead of text.

Back to your regular TabbedLite programming...

28 Jul 2006, 8:11 PM
#366
qhome avatar

qhome

Totally Zenned

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

Re: Tabbed Products ''LITE'' version - Delimiter based

Woodymon:

This may be off topic...

For those fond of the Ask A Question (AAQ) mod, there was a new version uploaded to ZC downloads area on July 11 ("Other Modules" category). It is more efficiently designed mod than previous (no need for additional DB entries, etc).

But as such it works a bit differently (that is the code entered into the product_info template file is different from the previous version). So this maybe throwing some people off on making previous version of AAQ work with latest Tabbed Lite, like it did me, until I found out about the new AAQ version.

Also for a patch see the thread at http://www.zen-cart.com/forum/showthread.php?p=237138

Also note the new version AAQ does not come with the graphic button the previous version did. Unfortunatele the old version is no longer available on ZC downloads. So I will see if I can scavenge the button and provide to Scott to update the code to render a button instead of text.

Back to your regular TabbedLite programming...

Aha that would explain a lot.. as it seemed so easy for me to add it but thats cuz i was using the simple link version. Never tried the other one. Good find Woody!

28 Jul 2006, 11:11 PM
#367
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Tabbed Products ''LITE'' version - Delimiter based

I have installed TPL3.11 FINAL on fresh install Zen Cart 1.3.0.2
Everything good. So doing some basic experimenting.

On my test product I have product description entered normal Zen Cart way, no tags.
I have not changed any TPL settings at top of template file.

So I have:

$bGblAddToCart = true;

One single tab appears with only theAdd To Cart button. However the Product Details (e.g. model name) does not appear on the tab. Rather it appears above the tabs. I understood this version would by default place Product Details on same tab as the Add To Cart button?

Or maybe I am missing understanding how the Globals are suppose to work and I have to manually add a tag?

Woody

Woody

29 Jul 2006, 12:24 AM
#368
IDEASLady avatar

IDEASLady

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,453
Plugin Contributions:
4

Re: Tabbed Products ''LITE'' version - Delimiter based

I understood this version would by default place Product Details on same tab as the Add To Cart button?
No, they should appear below the product name and price. It looks better, and makes more sense. :yes:

qhome:

Here is an small update.. a few new features.. a little reorganization.

* Added ability to ignore the globals for a certain product by adding the <!--@IgnoreGlobals@--> tag. This will allow you to set a product with no tabs or with a custom tab setup that you can add manually.
* Shifted the tables with the add to cart button and quantity discount table to make it look better. (thanks ideasgirl, IntelCos, and others)
* fixed a small bug related to having the add to cart tab by itself.
* added a line of logic to the javascript file to adapt to the IgnoreGlobals feature to prevent javascript errors
* Moved Product Details under the Price. This seems a good out of the way, yet informative place for this info.
* Cleaned up a lot of comments.
* Revamped the readme file.
* MADE SURE THAT CROSSSELL WAS SET TO FALSE

IDEASLady
IDEAS Creative Studio

Your image... our business!

29 Jul 2006, 7:31 AM
#369
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Tabbed Products ''LITE'' version - Delimiter based

ideasgirl:

No, they should appear below the product name and price. It looks better, and makes more sense. :yes:

Of course this is a subjective opinion. ;-)

A. I guess my inquiry below is misunderstood. What I was trying to say is I thought the product name and price, product details and the the add to cart were all suppose to appear on one tab if the following was set to true:

$bGblMainImageOnTabs = true; // adds Main image to tabs only if you have at least one custom tab

$bGblAddToCart = true; // adds Add to Cart, Product Details, Attribute Options, and Qty Discount to a tab

However this does not appear to consistently apply?

I have two test products.

  1. Product one description in admin shows:
<!--%Product Description%-->

blah, blah

The actual product info page shows two tabs with everything correctly on the "Product Description" tab. (but shows no products on the "We Also Recommend" tab when it should show one product).

  1. Product two description in admin has no tags. Just a short text string.

The actual product info page shows two tabs. The first tab labeled "add to cart" shows the add to cart box but nothing else.

The container for the second tab "We Also Recommend" is empty, but should display one product.

I understood the Global settings above would be in effect and place the product name and price, product details and product description on the first tab. But this is not the case?

I do see in the comments the "adds Main image to tabs only if you have at least one custom tab" so since I do not have a custom tab the product image should stays above the tabs, as it does. But I do not understand why the other items do not render on the tab, with global setting as it is?

So it appears that I have to add the <!--%Product Description%--> in every products description. Again I thought I would not need to do this with the new Global feature.

B. And here are my cross sell settings:

$bCrossSell_Exists = true; // if you have cross sell contrib installed, this enables the code to check for it.

$bGblCrossSell_Tab = true; // adds Cross Sell as its own tab only if the above is true.
So unsure why cross sell products are not showing up. I do not have images uploaded for either of the two products. Could this be an issue? I would have thought at least "No picture available" along with product title would have displayed on the Cross Sell tab.

I admit I am confused.

29 Jul 2006, 10:45 AM
#370
IDEASLady avatar

IDEASLady

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,453
Plugin Contributions:
4

Re: Tabbed Products ''LITE'' version - Delimiter based

woodymon:

Of course this is a subjective opinion. ;-)
Right!
woodymon:

I thought the product name and price, product details and the the add to cart were all suppose to appear on one tab if the following was set to true
Not if you don't have a custom tab created (that changed on previous version/update). See note on comments:

$bGblMainImageOnTabs = false;  // adds Main image to tabs only if you have at least one custom tab

woodymon:

I do see in the comments the "adds Main image to tabs only if you have at least one custom tab" so since I do not have a custom tab the product image should stays above the tabs, as it does. But I do not understand why the other items do not render on the tab, with global setting as it is?
Ok...I left my previous answer for others benefit. What you mean? Do you mean you have custom tabs and they aren't showing?
woodymon:

So it appears that I have to add the <!--%Product Description%--> in every products description. Again I thought I would not need to do this with the new Global feature.
Yes, because "Product Description" is a custom tab.
woodymon:

So unsure why cross sell products are not showing up.
I don't know why they aren't working for you, they are working on my side. I made several tests (on, off, combined) and I'm not having problems with tabs content.
woodymon:

I admit I am confused.
No wonder! This is a false comment:

$bGblAddToCart =  true; // adds Add to Cart, Product Details, Attribute Options, and Qty Discount to a tab

Should say:

$bGblAddToCart = true; // adds Add to Cart, Attribute Options and Qty Discount to a tab

IDEASLady
IDEAS Creative Studio

Your image... our business!

29 Jul 2006, 12:33 PM
#371
picci avatar

picci

Zen Follower

Join Date:
Feb 2006
Posts:
125
Plugin Contributions:
0

Re: Tabbed Products ''LITE'' version - Delimiter based

I love this contribution, nice work! I found it very easy to move the Add to Cart button above the tabs so it always displays regardless of what tab the viewer is on.

I use basic CSS tabs (no background image, which I removed in stylesheet) with 3px space between them to separate them and have them change color in HOVER.

Thanks so much,

Pic

29 Jul 2006, 12:43 PM
#372
godspeed27 avatar

godspeed27

Zen Follower

Join Date:
May 2006
Location:
Japan
Posts:
322
Plugin Contributions:
1

Re: Tabbed Products ''LITE'' version - Delimiter based

I am trying to do what you just said you did, can you explain on this more, i don't want my add to cart at the bottom of the page.

Skin Evolution.
Lynda.com,its a great place to learn.
Camelot Hosting,it's where my site calls home!

E-Start your Zen-Cart,KH is the Man, Thanks for all the hard work!

29 Jul 2006, 5:19 PM
#373
picci avatar

picci

Zen Follower

Join Date:
Feb 2006
Posts:
125
Plugin Contributions:
0

Re: Tabbed Products ''LITE'' version - Delimiter based

This isn't road tested in a production web store but here is what I did. Let us know if you find there are problems with these edits.

In tpl_product_info_display.php

Make: bGblMainImageOnTabs = False;
Make: bGblAddToCart = False;

find:

<!--bof Add to Cart Box -->

copy all the lines down to

<!-- eof Add to Cart Box -->

copy the block of code up to line 107 under:

<!-- eof Main Product Image -->

I wrapped it in a DIV like:

<div> <!--bof Add to Cart Box --> copy all the lines down to <!-- eof Add to Cart Box --> </div> <br style="clear:both;" />

and threw in a BReak with clear:both after the DIV (could use Zen Carts <BR class="clearBoth" />)

So now it's sandwiched between:

<!-- eof Main Product Image -->

ADD TO CART CODE

<!-- bof Product Price block -->

I wanted it over the PRICE block and over the Product Name, so I move these also.

I took the

<!-- bof Product Price block --> (get it all, its wrapped in a H2 tag)

and gave it some new style:

<h2 style="float:right; margin:0px 35px 10px 0px:">

and put the

<!-- bof Product Name --> block under it because I wanted the Price to be under the Add to Cart button

Then open the stylesheet_tablitev3_silver.css file and find the:

#slidetabsmenu a {
background-color :#yourcolor;

#slidetabsmenu a span {
background-color :#yourcolor;

and remove the background:url style (i.e. image) and add background-color:#your color

then I added a different background-color to the:

#slidetabsmenu a:hover span {
background-color :#yourcolor;

#slidetabsmenu a:hover {
background-color :#yourcolor;

You will get this:
http://comedyspeak.com/store/index.php?main_page=product_info&products_id=1

If you can check it on a Mac in Safari and let me know how it looks.

good Luck,

Pic

29 Jul 2006, 5:24 PM
#374
godspeed27 avatar

godspeed27

Zen Follower

Join Date:
May 2006
Location:
Japan
Posts:
322
Plugin Contributions:
1

Re: Tabbed Products ''LITE'' version - Delimiter based

thanks for the good info, i will try it and see what happens. my luck, it won't work right away, i will accutally have to understand it before it works:schmoll:

Skin Evolution.
Lynda.com,its a great place to learn.
Camelot Hosting,it's where my site calls home!

E-Start your Zen-Cart,KH is the Man, Thanks for all the hard work!

29 Jul 2006, 6:15 PM
#375
godspeed27 avatar

godspeed27

Zen Follower

Join Date:
May 2006
Location:
Japan
Posts:
322
Plugin Contributions:
1

Re: Tabbed Products ''LITE'' version - Delimiter based

man, you kind of lost me, i sent you a pm

Skin Evolution.
Lynda.com,its a great place to learn.
Camelot Hosting,it's where my site calls home!

E-Start your Zen-Cart,KH is the Man, Thanks for all the hard work!

29 Jul 2006, 6:34 PM
#376
godspeed27 avatar

godspeed27

Zen Follower

Join Date:
May 2006
Location:
Japan
Posts:
322
Plugin Contributions:
1

Re: Tabbed Products ''LITE'' version - Delimiter based

Ok, i took all what you said in the 1st part and added it up to line 7 and it worked, but just to let you know

<!--bof Add to Cart Box -->

This comes up 3 times in the code, but i took it as you ment the 1st one. I didn't do any of the other stuff, but it seems to have worked, so I am guessing if i want to take add to cart off the bottom of the page, i could just delete this code that i just copied and pasted, right?

Skin Evolution.
Lynda.com,its a great place to learn.
Camelot Hosting,it's where my site calls home!

E-Start your Zen-Cart,KH is the Man, Thanks for all the hard work!

29 Jul 2006, 6:38 PM
#377
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Tabbed Products ''LITE'' version - Delimiter based

ideasgirl:

Not if you don't have a custom tab created (that changed on previous version/update). See note on comments:

$bGblMainImageOnTabs = false; // adds Main image to tabs only if you have at least one custom tab

Still missing communicating my primary point, which is...

The comment "// adds Main image to tabs only if you have at least one custom tab" refers only to the need for a custom tab if want to display the "main image" on a tab. It does not state that I need the custom tab to display any other items on the tab.

So the question remains why the other items I previously listed are not displaying on a tab when a Global is set to true (when not employing a custom tab).

Or is it required that one custom tab be employed for ALL items to appear on the tab, even if global is set to true or not.

This would seem to defeat the primary purpose of the global? (that is, a tag need not be assigned to each and every product description to employ tabs).

ideasgirl:

I don't know why they aren't working for you, they are working on my side. I made several tests (on, off, combined) and I'm not having problems with tabs content.

Thanks. I should add that If I set to false the two Cross Sell config settings, the Cross Sell products display correctly below the tab container.

I will await response from Q.

ideasgirl:

No wonder! This is a false comment:

$bGblAddToCart = true; // adds Add to Cart, Product Details, Attribute Options, and Qty Discount to a tab

Yes indeed, that is a point of confusion for me.

30 Jul 2006, 3:43 AM
#379
godspeed27 avatar

godspeed27

Zen Follower

Join Date:
May 2006
Location:
Japan
Posts:
322
Plugin Contributions:
1

Re: Tabbed Products ''LITE'' version - Delimiter based

thanks for the upload!

Skin Evolution.
Lynda.com,its a great place to learn.
Camelot Hosting,it's where my site calls home!

E-Start your Zen-Cart,KH is the Man, Thanks for all the hard work!

30 Jul 2006, 8:03 AM
#380
reesy avatar

reesy

Totally Zenned

Join Date:
Mar 2005
Posts:
535
Plugin Contributions:
3

Re: Tabbed Products ''LITE'' version - Delimiter based

Hi Q,
Your right (above), I hadnt upgraded to 3.11, now that line has gone.
I have made a few other changes (in addition to adding the admin buttons as previously mentioned) by removing the hard coded English in the tabs to defines.
As this is your baby, I dont want to spoil all the hard work you have done, would you like me to email you what ive done?

Cheers
James