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

Tabbed Products ''LITE'' version - Delimiter based

Locked

Views: 234,294

Results 661 to 680 of 1,190
This thread is locked. New replies are disabled.
19 Oct 2006, 12:16 AM
#661
qhome avatar

qhome

Totally Zenned

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

Tabbed Products ''LITE'' version - Delimiter based

im not seeing that on that page. Perhaps you got it figured out? It shouldn't show if u have it disabled in the Catalog->Product Types->Product - Free Shipping->Edit Layout

19 Oct 2006, 12:46 AM
#662
berserker avatar

berserker

Totally Zenned

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

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

qhome,

When you create a tab in admin/products using the code "<!--%Product Description%-->", the "Product Description" appears in the tab but is it possible to have the this in the main image itself?

The reason im asking is because the font i want to use is not supported so if possible i would like it to be in the image itself.

thanks

19 Oct 2006, 1:55 AM
#663
qhome avatar

qhome

Totally Zenned

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

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

Berserker:

qhome,

When you create a tab in admin/products using the code "<!--%Product Description%-->", the "Product Description" appears in the tab but is it possible to have the this in the main image itself?

The reason im asking is because the font i want to use is not supported so if possible i would like it to be in the image itself.

thanks

Im not sure I understand what you mean. You want words to appear in your main image? If you have a funky font that isn't supported you'd have to either make an image seperately or use that imagemagik stuff .. i think there is a button maker or something like that.

Im not sure how that works or even if this is what u mean.

19 Oct 2006, 2:58 AM
#664
berserker avatar

berserker

Totally Zenned

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

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

qhome:

Im not sure I understand what you mean. You want words to appear in your main image? If you have a funky font that isn't supported you'd have to either make an image seperately or use that imagemagik stuff .. i think there is a button maker or something like that.

Im not sure how that works or even if this is what u mean.

im not sure what imagemagik stuff is.

anyway, if you click on the link below, you will see two tabs (product info and recommendations). i want the font in this tab to be the same as in my sidebox header (categories, search etc) but since it is not supported, it does not work when i try to change it through html code. so if possible, i would like to create a tab with the words on it already and use that but im not sure how that would work.

http://www.animestrike.co.uk/shop/index.php?main_page=product_info&products_id=1&zenid=3ad2bb11cd239206d3dcb3894abe9cbd

thanks :)

19 Oct 2006, 3:13 AM
#665
rnet avatar

rnet

Zen Follower

Join Date:
Jun 2005
Location:
Pittsburgh
Posts:
99
Plugin Contributions:
0

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

I've looked and didn't see this covered:

I have the latest Tabbed v3.7 and Cross Sell v1.3.0 on zc v1.3.5

The tabs show correctly with the exception of cross sell items. To be sure the problem wasn't in cross sell, I have the related code included in the tpl_product_info_display file, supplied with tabbed.

The cross sell items appear because of the duplicate code (as a test) but do not show up as a tab.

I've checked the install instructions (BTW very good docs) and can find no errors.

<!--#CrossSell#--> is included in the products description at the bottom of the page, as raw code (not wysiwyg)

Is this a known issue or perhaps have I missed something?

Thanks -- Ken

19 Oct 2006, 3:24 AM
#666
qhome avatar

qhome

Totally Zenned

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

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

rnet:

I've looked and didn't see this covered:

I have the latest Tabbed v3.7 and Cross Sell v1.3.0 on zc v1.3.5

The tabs show correctly with the exception of cross sell items. To be sure the problem wasn't in cross sell, I have the related code included in the tpl_product_info_display file, supplied with tabbed.

The cross sell items appear because of the duplicate code (as a test) but do not show up as a tab.

I've checked the install instructions (BTW very good docs) and can find no errors.

<!--#CrossSell#--> is included in the products description at the bottom of the page, as raw code (not wysiwyg)

Is this a known issue or perhaps have I missed something?

Thanks -- Ken

There was recently a new Cross Sell release put out. I have not tested with the new version. If you have the old version of cross sell, please link me here or in a PM to see the page so i can sift through the html source.

19 Oct 2006, 6:28 PM
#667
qhome avatar

qhome

Totally Zenned

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

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

Berserker:

im not sure what imagemagik stuff is.

anyway, if you click on the link below, you will see two tabs (product info and recommendations). i want the font in this tab to be the same as in my sidebox header (categories, search etc) but since it is not supported, it does not work when i try to change it through html code. so if possible, i would like to create a tab with the words on it already and use that but im not sure how that would work.

http://www.animestrike.co.uk/shop/index.php?main_page=product_info&products_id=1&zenid=3ad2bb11cd239206d3dcb3894abe9cbd

thanks :)

Ah I see, you want image based tabs. like http://www.target.com/gp/detail.html/ref=sc_fe_r_3_0_img/601-1467962-3473762?ie=UTF8&asin=B000BLNSPM
For Fixed tabs like that you would normally have to a different tab system.. or at least a completely redone css/js system. Tabbed Products Lite was designed to be dynamic via the use of text based tabs.

But, in one of my genius moments (:P), I allowed the tab tags to support HTML inside the tabs you could actually include <img src...> tags in the title.
So instead of

<!--%Product Description%-->

you could any variation of html, Some examples:

<!--%Product<br />Description%--> - Wrap tab text <!--%<b>Product</b><i>Description</i>%--> Bold first word, Italic second <!--%<img src="/path/to/textimage.jpg">%-->

And of course, even a Demo for you :)
http://www.unbannable.com/zen/index.php?main_page=product_info&products_id=4

Now the last tab is probably more what you want. but of course you'd have to make transparent background images

Give it a try. Let me know how it works out. :)

You could probably do it the same way in the language file to do it for the Global Products Description tab.

20 Oct 2006, 7:39 AM
#668
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

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

Wonderful contribution!
But I can't see in product info the end date of promotion :-(

20 Oct 2006, 10:51 AM
#671
qhome avatar

qhome

Totally Zenned

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

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

100asa:

Please, see this page:
http://www.100asab2b.it/zen/pistola-laser-industriale-dragon-d101-long-range-p-248.html
this offer end 30/10, but in the the page I can't see this date, end date of offer.

Oh you mean it's not showing when that sale ends. That doesn't show up for me on any of my products even without the tab version of the file. I think that may be a question for the Zen-Cart team in "General Questions"

20 Oct 2006, 12:18 PM
#672
thetankgirl avatar

thetankgirl

New Zenner

Join Date:
Jul 2005
Posts:
33
Plugin Contributions:
0

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

Hi!
I want to say that you've made a great contribution to zen-cart!
I have just a little problem:

When I use

<!--#AddToCart#-->

The attributes and the add-to-cartbox come on the first tab, in the right order. I want to have the attributes and cart on the second tab, so I use this:

<!--*sub_AttributeOptions(2)*--> <!--*sub_AddToCart(2)*-->

The attributes and the add-to-cart box come on the right tab, but in the wrong order!
the add-to-cart box is above the attributes.

can you help me?

20 Oct 2006, 1:16 PM
#673
qhome avatar

qhome

Totally Zenned

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

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

thetankgirl:

Hi!
I want to say that you've made a great contribution to zen-cart!
I have just a little problem:

When I use

<!--#AddToCart#-->

The attributes and the add-to-cartbox come on the first tab, in the right order. I want to have the attributes and cart on the second tab, so I use this:

<!--*sub_AttributeOptions(2)*--> <!--*sub_AddToCart(2)*-->

The attributes and the add-to-cart box come on the right tab, but in the wrong order!
the add-to-cart box is above the attributes.

can you help me?

Currently, ordering them is not possible. The reason they show up correct on the first tab is because for that one I made a table to keep all of that stuff in line. But on the sub tags, they just go by the default order I've set in the code, which is just the default zen-cart way.

But it is simple to change it to the way you want it. To get the Attribs above the add to cart, edit the:
/includes/templates/YOURTEMPLATE/templates/tpl_tabbed_products_lite_subtabs.php file
Cut line 57-68

<!-- bof sub_AttribOptions -->
		<?php if (strpos($proddata, $sub_AttributeOptions . $a . ")*-->") > 0) { ?>
		  <!--bof Attributes Module -->
      <?php
      if ($pr_attr->fields['total'] > 0) {
        // display the product atributes
        echo '<br />';
        require($template->get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php');
      } ?>
      <!--eof Attributes Module -->
    <?php } ?>    
		<!-- eof sub_AttribOptions -->

And paste it above line 24:

<!-- sub_AddToCart -->

That will put those attribs above the add to cart button.

20 Oct 2006, 1:43 PM
#674
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

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

It's possible to have a new filed called "tech sheet", in admin too, where I can write the tech info product?
Plase, let me know.

20 Oct 2006, 2:20 PM
#675
qhome avatar

qhome

Totally Zenned

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

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

100asa:

It's possible to have a new filed called "tech sheet", in admin too, where I can write the tech info product?
Plase, let me know.

a tech sheet for a tab name? You can have any tabname you want by adding the tags to the product description area with <!--%Tech Sheet%-->

I also notice that on your site you probably need to run the other sql file included in the package called 3.6AlternativeForSqlProblems.sql

20 Oct 2006, 2:41 PM
#676
qhome avatar

qhome

Totally Zenned

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

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

Regarding the database sql problems that some people are having.

If you goto Admin->Configuration->Tabbed Products Config and see only ONE option, then you must run the AlternativeSQL file that I included with the release to fix your problem.

I finally got smart and learned how to properly use mysql variables in queries (actually unbelievably simple). Now the SQL query coming in version 3.8 should work just fine. Previously, I was using the same query style that the TY Package Tracker used, which also gave me the same problem with giving only one admin configuration option, and the User Tracking contrib which used a hard coded gID for the Alternativesql file.

The first method used was the best dynamically because it was supposed to autoincrement the gID and use that same number to map the configurations to that gID. The problem is that last_insert_id() is a willy-nilly function that may or may not auto-increment itself with each run. I've seen it work fine on my server and then try again and it gives the "only one option in the tpl config screen" problem. So it was too unstable for perfect use. The Alternative method used a hard code of 888 for the gID, similarly how UserTracking used a hardcode of 999. if you were to ever install that many configurations tho, (not likely) you might have some overlap.

The new version adds the config group stuff first, and then gets that number and saves it to a mysql variable for the rest of the config options to ensure that even when the number is dynamically created, it is used to properly map the rest of the config options to the configuration group that it designated.

This sql patch will come with version 3.8.

20 Oct 2006, 3:59 PM
#677
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

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

Being a recent convert from osCommerce to ZenCart, I am just now playing catch-up with coding, customizing, and modules. I can see the advantage this module provides and have a quick question.

Do I understand correctly that this module works in conjunction with this file:
includes/templates/template_default/templates/tpl_product_info_display.php

If yes and one has done some heavy customizing to the above file, will that cause a problem with the TP module, any version?

The learning is in the doing.

Potent Products

20 Oct 2006, 4:04 PM
#678
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

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

A new extra filed, called tech sheet, to add product description, so I write tech information in this field, and automatically show as a new tab

20 Oct 2006, 4:24 PM
#679
qhome avatar

qhome

Totally Zenned

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

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

100asa:

A new extra filed, called tech sheet, to add product description, so I write tech information in this field, and automatically show as a new tab

Yes, read the readme file included for reference on how to do that. Also follow the example i posted above about that.

20 Oct 2006, 5:24 PM
#680
qhome avatar

qhome

Totally Zenned

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

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

Website Rob:

Being a recent convert from osCommerce to ZenCart, I am just now playing catch-up with coding, customizing, and modules. I can see the advantage this module provides and have a quick question.

Do I understand correctly that this module works in conjunction with this file:
includes/templates/template_default/templates/tpl_product_info_display.php

If yes and one has done some heavy customizing to the above file, will that cause a problem with the TP module, any version?

Hi Rob,

Well in earlier versions, I had all the tab stuff inside a custom tpl_product_info_display.php file, which was hell for people with lots of customizations.

Since v3.5, Ive smartened up and put everything tab-related into its own file. Now there are only a few changes needed to make the tabs work with an already custom tpl_products_info_display.php page, as documented in the "extras" folder included with the package.

There is one limit. The layout of the data, when displayed on the tabs is displayed using a clone of the zen-cart core design. It will still use the custom css values for your content, but for example if you have the add to cart button above the description on your custom template without tabs, if you enabled the Global Add To Cart on Tabs option, it will show the Add to cart button under the description. However, if you dont enable the add to cart button as a tab, it will go back to your setup of having the add to cart button above the tabs.

The parts of that page that aren't on tabs, will still default to your custom changes. This can vary based on how big the changes were. If you could link me to a page or send me a custom tpl_product_info_display.php file I could take a look at what custom needs there might be.