Hi
Brilliant, thanks qhome! I couldnt get your second suddestion to work but the iframe solution works a treat!
Thanks very much for you rhelp
Kind Regards
Paul
Printable View
Hi
Brilliant, thanks qhome! I couldnt get your second suddestion to work but the iframe solution works a treat!
Thanks very much for you rhelp
Kind Regards
Paul
Great MOD ghome!
I do have one question if anyone knows;
Is there a way to have the reviews fully display instead of having to read more and
then click to open the others ones.
Whereas the reviews never show up outside of the tabs and fully spell
out the entire reviews.
This code worked for me:
Quote:
<object data="bka/test.html" type="text/html" width="700" height="900">
alt : <a href="bka/test.html">test.html</a>
</object>
So does this mean that the the "add to cart" button will only show up on the "Add to Cart" tab and not be viewable from all the tabs (at the bottom of the page)?
My problem is that I have a lot of attributes/options (stuff people need to fill in) and so I wanted to put them all on their on tab to make things nicer looking and keep the pages shorter.
BUT I kept getting people email me asking me where is the area they are to give me their info/choices. They do not seem to even see the Attributes/Options tab. Not even after I put in the follow text in bold red print in the Product description: IMPORTANT: Click the Attributes/Options tab above and FILL OUT THE INFO NEEDED.
What else can I do to make it easier for people to understand where they are to put their info?
1. I could just put all the attributes on the Product Description page and just have a L O N G page.
2. I could add a "Add to Cart" tab and only have the "add to cart" button on that tab and not showing from the other tabs (not at the bottom of all the tabs). That would force people to find and click on the right tab or leave the cart.
3. Keep the Attributes/Options in its own tab, but rename the tab, "Add to Cart" maybe more people would click it then?
3. I am open to suggestions on this one.
Any one else having this problem?
Page to see what I am talking about:
http://www.horse-logos.com/logodesig...posit-p-5.html
Thanks for any help with this. I added a cart to my site to try to make it easier for people to order from me and to cut down on having so many people email me that they are lost, but that doesn't seem to be the case. What am I doing wrong, or how can I do this better?
I'm going to work on a new minor version for 1.3.x to address the popular requests to make the add to cart its own tab. But I will be making a whole new version for 1.4. Give me a few days to release a new version.
:oops:
I read through this thread and am impressed by the great work. Today I tried to install the tabbedProducts-LITE into my site (Zencart 1.3.7): http://www.bioland-sci.com. I copied all the files (shown in readme 'Files to upload". Then I run the SQL file in admin-->tools-->install SQL patches by uploading (not copying). Then it comes the error info:
1146 Table 'biolands_zc1.configuration_group' doesn't exist
in:
[SELECT @gid := configuration_group_id FROM configuration_group where configuration_group_title LIKE 'Tabbed Products Config';]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
How can I resolve this problem? Help is appreciated.
:smile:Thanks. I made one change in the SQL script:
[SELECT @gid := configuration_group_id FROM configuration_group where configuration_group_title LIKE 'Tabbed Products Config';]
to
[SELECT @gid := configuration_group_id FROM zen_configuration_group where configuration_group_title LIKE 'Tabbed Products Config';]
and upload.......works!!! Don't change all the table to "zen_ " as mentioned in the thread, it doesn't work. How do I find the database prefix? Go to your hosting server CPanel--> mySQLdatabase--> phpMyAdmin-->select your database--> will show all the tables such as zen_configure, zen_figuration_group. Obviously, "zen_" is the prefix of the database. Wish it's helpful.
Hi All,
The URL for where i got the iframe code to work is
http://www.funkyfancydress.com
Website is still being designed but up and runnn well and sales are staring to come through,
Many thansk for this mod
Paul
THANK YOU VER MUCH FOR THE HINT...I found the code and that did it!!Quote:
Quote:
Originally Posted by Kruna http://www.zen-cart.com/forum/images...s/viewpost.gif
Hello,
first of all thanks for the great mod!!! Just what I was looking for....
I installed the NonAdmin-Edition and everything was working fine so far, just two things I cama across and dont know how to fix. I aplogize if it was asked before, but after reading some 50 pages I gave up looking...:blush:
Please take a look at
http://clickyshop.com/newzen/index.p...&products_id=2
How can i get rid of teh header?
I already put
, but somehow only on cross-sell the header shows up...
I prefer to have the tabs shorter and the tab which says īcomentariosī has a gap, how can I fill it?
Thanks a lot for help.
Regards,
kruna
The Header is a hack. The Cross Sell contrib has its own separate code base. Since my tabs didn't have that header, I added one to make it look more like the Cross Sell contrib so they would all have their own header and look more natural. If you are going to disable the header, you'll have to edit the Cross Sell mod files separately as I have nothing to do with that contrib.
I also want to apologize for late feedback, but until today I noticed that you answered me already long time ago, must have missed the email:blush:.
I am still struggeling with the tab image, on some tabs there is this īgapī, like you can see here:
http://www.clickyshop.com/tienda1/in...products_id=55
any idea what I can do?
Best regards,
Kruna
Ok, more info. Looks like so long as I don't have any custom tabs, or the Xsell tab enabled, then I will receive the global add to cart tab. However, as the Author of this mod mentioned elsewhere, if there are other tabs, the cart gets added to the first tab.
Sounds like, until the mod is updated, this behavior is by design.
Right, the add to cart has been there from the start but it shouldn't affect the Xsell tab. But the design idea was that you always would (well i always would) want your customers to find the fastest way to add the item to their cart... subconsciously.
So the current behavior of the "Global Add to Cart" is:
A) if you have custom tab(s) the Add to Cart button will go on the first custom tab.
OR
B) if you have NO custom tab(s), the Add to Cart button will make its own tab and put the button on it.
(This can be overridden by the sub_AddToCart tag)
It took some creative coding (at least for me) to do this but it appears people would rather have other control. So I am going to rewrite that part of it to make it act like any of the other "hard" tabs (i.e. Additional Images, Customer also purchased, etc). It will still be positioned first however.
In future designs, which will probably not come out until ZC 1.4 and php5, I'd like to implement some way of sorting them and some other features.
I hope someone can help. I installed mods and works fine. I'm using the admin version and I wanted to change the wording in "Additonal Images" to "Styles" can someone point me to this pls.
tks
you should find this in includes/languages/english/extra_definitions/tabbed_products_lite.phpQuote:
I hope someone can help. I installed mods and works fine. I'm using the admin version and I wanted to change the wording in "Additonal Images" to "Styles" can someone point me to this pls.
tks
hope this helps.
regards,
kruna
Hi...
Well if it is not one thing, it MUST be another!!!
I installed my cart completely new and made the changes to look like before.
What I miss now are the additional images and the cross sell products?
please take a look here:
http://www.clickyshop.com/tienda1/in...products_id=61
As you can see, no additional images and no cross sell either, even no tab.
I installed new versions of Image Handler and Zenlightbox, is it possible that there is a conflict?
Any idea?
Thanks a lot in advanced,
Kruna
well..doesnt matter anymore, I installed the cart new and I guess it has something to do with updated Image Handler mod and updated Zenlightbox. i guess there is conflict.
Regards,
kruna
Hi there,
I believe there is a bug in IE 6.x or a bug in the code for Cross Sell or Tabbed Products Lite that makes the cross sell tab display strangely. It is possible it also the result of the sophy blue grey template I have installed.
Here is the link to the behavior: http://www.pccapital.ca/test-2/nuclear-peanut-5.html
In Firefox, the blue header "Buy Two or More Items and Get Free Shipping" displays just fine. There is also some text below the header that is shows up as normal in Firefox.
In IE 6.x, both of them are invisible, although they ARE there.... if you select the area with the mouse, you can select the header and the text below. Very strange! Note that this behaviour only shows up on the xsell tab... not on the other tabs. THe headers show up fine there.
I will attach the PHP from my TPL_Modules_xsell_products... perhaps you can see something wrong.
Thanks again for the help everyone!PHP Code:
<?php
/**
* Cross Sell products
*
* Derived from:
* Original Idea From Isaac Mualem [email protected] <mailto:[email protected]>
* Portions Copyright (c) 2002 osCommerce
* Complete Recoding From Stephen Walker [email protected]
* Released under the GNU General Public License
*
* Adapted to Zen Cart by Merlin - Spring 2005
* Reworked for Zen Cart v1.3.0 03-30-2006
*/
// calculate whether any cross-sell products are configured for the current product, and display if relevant
include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_XSELL_PRODUCTS));
if (zen_not_null($xsell_data)) {
$info_box_contents = array();
$list_box_contents = $xsell_data;
$title = '';
?>
<!-- bof: tpl_modules_xsell_products -->
<div class="centerBoxWrapper" id="crossSell">
<h2 class="centerBoxHeading"><?php echo TEXT_XSELL_PRODUCTS; ?></h2>
Buy any two or more items and get Free Shipping on your order! Get a spare charger, maybe some premium Lithium AA's like the Energizer e2's. Choose from the following, or add any other sku in our catalog to get Free Shipping! <br><br>
<?php
/**
* require the list_box_content template to display the cross-sell info. This info was prepared in modules/xsell_products.php
*/
require($template->get_template_dir('tpl_columnar_display.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_columnar_display.php');
?>
<br><br>
</div>
<!-- eof: tpl_modules_xsell_products -->
<?php } ?>
I always add the <!--%brochure%--> and then text.
Is there a way to add the field "brochure" in admin and then have the tablite with this information?
Thank's
[QUOTE=bifficus;451115]Hi there,
I believe there is a bug in IE 6.x or a bug in the code for Cross Sell or Tabbed Products Lite that makes the cross sell tab display strangely. It is possible it also the result of the sophy blue grey template I have installed.
Here is the link to the behavior: http://www.pccapital.ca/test-2/nuclear-peanut-5.html
In Firefox, the blue header "Buy Two or More Items and Get Free Shipping" displays just fine. There is also some text below the header that is shows up as normal in Firefox.
In IE 6.x, both of them are invisible, although they ARE there.... if you select the area with the mouse, you can select the header and the text below. Very strange! Note that this behaviour only shows up on the xsell tab... not on the other tabs. THe headers show up fine there.
Ok... I have learned a little more. This bug is called the Peekaboo Bug and is a known issue for ie6 and CSS Stylesheets. A fix for it has been reported here:
http://www.zen-cart.com/forum/showth...+bug+disappear
However, this fix does not completely resolve my problem. It makes the header stay visible, but some of the text in the "cross sell" tab still appears and reappears. Also, at that link, you will see that that fix is reported to create problems in Firefox.
I am going to keep working on this, and will post further updates elsewhere, as this does not seem to be an issue with Tabbed Products after all. Search Peekaboo.
Hi, Just installed and got this error when running the sql file:
1146 Table 'funfancy_zc1.configuration_group' doesn't exist
in:
[SELECT @gid := configuration_group_id FROM configuration_group where configuration_group_title LIKE 'Tabbed Products Config';]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Any ideas?
Thanks
Pete
Scratch that, I just added zen as the database prefix, however now it shows bullets instead of tabs, can you help please.
Thanks
Pete
sorry but scratch that also, the stylesheet wasn't uploaded...I really need to pay more attention in class!
Thanks
Pete
I am having trouble with the attributes location in the product display page. FF displays everything in the center (for now) but IE does not. I would like control of the placement of the attributes (Please Choose:, Products, and the drop down box), the "add to cart", "tell a friend" buttons and the image. I have tried several suggestions but have hit a wall.
http://www.sweetzouzou.com/catalog/i...roducts_id=188
Thx
bump, i still have this problem
Hi,
I've read backwards to page 111 where qhome said he was going to be doing a minor update for v1.3X back in the beginning of October. I didn't see it in the downloads section, or here. Therefore I am just wondering if the one in the downloads section for v1.35 is compatible with v1.37 and 1.3.71?
I want to install it as well as his column divider lite on an already heavily modded v1.37 store and just want to make sure that this mod is v1.35 happy first.
thank you,
betty
Yes the current version works with all 1.3.x versions of Zencart.. the minor update is meant to remove the auto assumption that people want the Add to Cart button always to be on the first tab... But I've not had the time lately to do anything... and with talks of 1.4 PHP5 coming eventually i dont know how much I want to put into 1.3 PHP4
Hey Guys
First of all thank u for this GREAT add on.... Really gives an extra value for any store...
My question is:
Can I use the tabs on other pages? Lets say main page??? I don't need to use the universal tabs, I will make few of my own for the first page but is it possible to use the tabs in other places beside the product page???
Thank You
Yair
I think this is the right thread.
Can someone help me to put the right and left box container border underneath the box heading instead of including the heading in it?
Thanks much
Franco
Just trying to tweak the display options on this mod. When I select 'global main image on tab' I lose the add to cart button completely. So I thought, ok I'll just add the 'global add to cart button' but no because that also add the attributes to that tab, but my attributes are sizes which already have their own tab.
So, is there a way for me to have 'global main image on tab' activated without losing the add to cart button?
Many Thanks
Pete
I am using your Tabbed Lite as you might recall. I have also added Catagory Tabs which turned out nice.
Concerning the Review Tab, I keep getting the following displayed and I am not sure where it might be coming from :
_ALT) . ''; ?>
website: www.pinwest.net.
Any direction would be appreciated.
David...
Fixed pinwest's reported problem.
yellow1912
Hi All,
Just installed this mod with the latest version of ZC, 1.3.8.
Wont display a product or any of its info and gives some problem where the entire footer is gone too.
Any Ideas here?
Thanks,
John
Ok...I have uploaded all the files. I am attempting to run the tabbedProducts_v3.8_Full file. It has been giving me errors. So I have attempted to use the Zen Cart SQL Query Executor.
The first two lines go thru with no problem. the third line...
SELECT @gid := configuration_group_id FROM `configuration_group` where `configuration_group_title` LIKE 'Tabbed Products Config';
gives me this error.
1146 Table 'digita57_zc1.configuration_group' doesn't exist
in:
[SELECT @gid := configuration_group_id FROM configuration_group where configuration_group_title LIKE 'Tabbed Products Config';]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
In MyPHP all the files are named zen_configuration_group as an example.
please help!!
Update...
Uninstalled everything and started from scratch.
Upload the includes folder and contants renaming the YOUR_TEMPLATE folder to classic which is the template that is the default. Installed the TabbedProducts_v3.8_Full and with a few changes of adding zen_ the patch did succeed.
Logged out of my admin and logged back in and it is not showing under Configuration. I went back into via ftp and changed all my php and js to 755 permissions as the ftp set them at 644.
What am I missing????
Sulution was to make sure every single file is set with 755 permissions including images .... Interesting lol
Hi All,
I have installed this mod and it 'works' for want of a better word, fine.. Except to the point where additional images do not show up in the appropriate tab, eg Additional Images.
I have followed the various threads, in particular, Ajehs, that discuss naming images etc eg image.gif and image_01.gif and have uploaded said images etc, but the additional ones do not appear.
I get the tab ok, but no picky. If I delete the additional image, the tab is removed. Uploading the image re-generates the tab, but still no image.
I've installed and uninstalled on my local server with no joy, and deleted and re-uploaded across FTP on my live site.
http://www.nortsandones.com.au/index...roducts_id=666
As you can see by the link, the tab is there...
Any one else have this same issues, are there other add-on that I should have as well as this to make the images appear..
Any clues...??????
Thanks in advance...
Mike
Sorry to bump this, but was hoping someone might have a suggestion..
Can I place a table or list within my Tabs?
Better question how I can control the format within the tags?
Thanks for this great mod!
I just installed it and I have one question.
I want to split out the attributres.
The first tab shows the description and the attributes.
How do I make the attributes show only on the 2nd tab.
http://www.allforyourwedding.com/~no...roducts_id=308
Thanks I appreciate that.Quote:
I need to rewrite that part...gimme a day or 2
One more thing... Can you put in a global, Put Attributes on a seperate tab?
To me this is the most obvious tab, however I don't know about everyone else.
If not, I am currently just thinking of ways to get around it with over 1000 products. I can download all the products with easy populate. Manipulate it so the codes get added to every single product in excel and then re-upload it then I only have to add the codes for new products. Then the only thing I am worried about is if there are no attributes, then what?
I've finally taken the time to rewrite TPL. Actually I was actually looking at a whole new method of operation and was gonna call it something else, but I have to research that more. For now I've pretty much rewritten most of the code to be smarter (i think) and a lot less cluttered. But its only about 60% done. I've moved most of the code from the tpl_tabbed_products_lite.php file into the module file because I was doing calculations in the template file still. I've started using an array for each tab so that with luck I can add the ability to arrange the tab order from within the admin area.
I've also simplified a lot of it. No more extra smart code to keep add-to-cart button the main tab. Now it acts like all the other zencart features (e.g. Additional Images, Customer also purchased, etc) so you can put it on it's own tab.
I also will be adding the Attributes to be able to go on its own tab.
stay tuned!
:lamo:
Will be waiting... Thanks for all the hard work.
If its completely redone, just let us know what to do if we have this one installed...
Well I am going to see if I can completely remove the tpl_tabbed_products_lite.php from the equation and then all the calculations will be done on the module and the resulting code will be set into variables. then there "should" be minimal code to add to the tpl_product_info_display.php file.
I am also going to be changing some of the admin global stuff so there will be a script to remove the old stuff and apply the new.
In the end, the normal layout shouldn't change much. But i'll be sure to document all the steps.
Is there a way to order the tabs and control how they wrap to the next line? I tried adding numbers at the end of the names. I have some long tab names and they "hang" in mid air (check the Whiskey Cake product page).
Thx Sweet
I didn't think about the <br/> code. This will help with the longer names. I will wait for the new release and the added ordering functionality.
Thx Sweet
I've got the add-on running just right on www.vitaminsupplementsstore.com, and was looking for a reply to YairOz's questions a couple of pages ago...
Is there a way to make this work on a page other than a description page? Specifically here: http://www.vitaminsupplementsstore.c...ner_affiliates
so that each type of banner is on a separate tab.
I required the tabbed_products_lite.php just like it is done in the TPL, then added the custom tab tags, but no luck. What am I missing that will make this run?
Vitaminx
TPL = tabbed products lite
Tho I am trying to work on a way to "tabify" things on the fly that would apply to everything.. but that needs more research. That wouldn't be called TPL tho as I would make it its own contrib.
For now tho,
UPDATE
TPL 3.9 - New Version almost complete.
Change log:
- Complete code rewrite
- Made use of functions to cut down on reused code
- Moved all calculations into the module file.
- Simplified the design
- No longer supporting the MainImageOnTabs feature, as that was the largest headache.
- No longer forcing the Add to Cart button to be on the first tab. Now it acts like any other tab.
- No longer need the tpl_tabbed_products_lite.php file.
- Added Attributes as its own tab
- Added "Global Attributes on Tab" feature
- Removed MediaCollection tab (cuz media collection isn't very good and not worth tabbing)
- Using variables to store all the calculated code, now a single variable is all that is needed to add the tabs to your product info page.
- Added "Global Enable Tabs" which can quickly enable or disable the use of tabs
Still to do:
- Figure out how to implement Sorting the order they are in.
- Find a better way to hide div blocks that the product info file calls, if they are already on the tabs
I hope to be done possibly today or tomorrow. The ToDo list may not make it for the first release.
I am going to start a new thread for it as well, as it can be easy to lose track of stuff with so many pages. Glad to see so many people find it useful.
Well I must be on some good drugs because I think I just figured out a way to use some magical javascript sorcery to make adding tabs to your product info page as easy as adding one variable and one requires reference.
I fear tho that it might open a whole new can of worms. So I think I will keep the safe version and maybe release this magickery version as a try-at-your-own-risk.
Fear not, as there is no permanent damage to be done.. and its all in one file so if you run into a problem, you could always revert to the safe(r) one.
Currently, the "Safe" one works by:
1. requiring the tabbed prod lite module file which performs all the calculations and saves it to a single variable.
2. add echo $variable to the product info template
3. add 'IF' logic to each existing location where the attribs, add to cart, etc stuff would be so you don't show it twice.
The last step is the ugly part, as it requires many changes to custom product info files. Tho I will of course include a pre-modified copy based on zen-carts default version.
The "magickery" one works by:
1. requiring the tabbed prod lite module file which performs all the calculations and saves it to a single variable. It also uses fake id's for the tabbed version of the existing divs. Then, using javascript, it manipulates the real div ids to a fake name with display:none. And manipulates the fake divs to use the real names with display:block.
2. add echo $variable to the product info template
That's it. There would be no more modifications to make to the product info file except for those 2 simple changes because the javascript would finagle all the values around.
The way I do it also prevents duplicate ids for validation.
And, if javascript is disabled, it will simply not show the tab box and just default to the normal page style as if tabs never existed.
Magic indeed!
I still gotta put it all into the code to try it, I've got it working for one section tho, so as long as I don't run into any other craziness, it might just work!
Stay Tuned!
I have still not worked on the ordering thing. I have an idea for it, but it seems to be stuck at the back of my mind so I am waiting patiently for my mind to send it front and center.
-EDIT- Duplicate
Glad to hear about your efforts qhome. :clap:Keep up the good work. I'm looking forward to trying out your new version.
Much Appreciated,
Jamey
QHome, good work and I am keenly reading your post. Quick question, why would you want attributes on it's own tab? I am not sure that will be customer friendly.
For example if you have t-shirts with the descriptions on one tab and the size attributes (Small, Medium, Large etc) on another tab, it will be confusing (or shall I say not customer friendly).
That was how it was designed up till now. But the masses have asked for it to be that way.. So I giveth it in 3.9. Up until now I had the Attribs, Qty discount, and Add to cart on the same tab.
Great news....
I got my "magickery" version working perfectly!
I even got it to revert to the default product info style if jscript is disabled.
Now there are only 3 single-line changes needed to be made to the product info template. And only 1 tabbed lite module file for all the coding. (as well as the rest of the css and jscript files)
I will be finishing up the readme and release tomorrow.
The only thing I haven't added yet was sorting. Which will need more time.
Some people have products that are very heavy on attributes
Making pages go own for ever. So having it on its own tab would be much better.
Now I suppose with the coding you could have the best of both worlds right?
Set global to off then code when you need it on?
Set global to on, then if you want the attributes on the first tab for a product,
set the code to turn on attributes for tab one?
I think its made to work for either...
Well as it is now (until I can figure out how to implement ordering)
Tab priority from first to last is:
1. Product Description
1b. Any other custom tabs
2. Attributes
3. Product Details (weight, model #, etc)
4. Add to Cart (with Qty Discount box)
5. Additional Images
6. Customers Also Purchased
7. Cross Sell (if installed)
8. Reviews
With the new code, it will be much easier to move them around and/or merge multiple items together. It will still need to be modified in the code to do it.. but its still a lot easier.
Also, as with the other versions, if there are no items to be displayed on "Zen based" tabs (attribs, product details, add'l images, etc) then the tab will not show up for that product, even if the tab is enabled. The only exception to the rule is the reviews tab. Since that references the real reviews page, it uses its own "There are no reviews" message.
Just thinking about this...
Will there be a way (Globally)
To have either...
Add to Cart on every tab
or
Add to cart on its own tab
Personally I would want it on every tab,
Ill see how it flows...
I am very new to this contrib.
How long do you estimate the release of the new version?
I'm testing it now with most of the configurations but there are a lot of ways they can be configured between global and manual tags so I'm just doing as many as I can.
Found & fixed a few bugs already. Zen-Cart uses a lot of id based css.. which seems unnecessary when you could use class instead.. so for each id I find I have to "finagle" it so that it still w3c validates without changing or breaking anything else.
I am also testing it with 1.3.8a.. and it's working fine.
I will release it tomorrow for sure.. as I will be tired of testing it by then :P
You can sneak a peak here:
http://www.unbannable.com/zen138a/in...products_id=36
It won't look like much has changed from the last version but it's a complete rewrite from start to finish.
Hi QHome and other Zenners,
Thanks again for one of my favorite mods.
Question: Is there any impact in using tabbed product lite on search engine postion optimization (SEO for future searchers)? I believe, based on my rudimentary understanding, that it should be ok, as the text and keywords are still included on the page. However, if I am wrong on this, I definintely need to make some changes on how I have done my descriptions.
For this interested, you can take a look at a sample product on my site:
http://www.certifiedbattery.com/cell...5696b-108.html
Normally what I do is put the compatibility information on another tab, as HP is notorious for having thousands of different skus that work with a single model.
If you check the example page I sent, then click compatibility, you will see the various models that the battery works for. Some (or most) of those are never in the front tab of the product description, and I am scared that it might impact SEO results.
Anybody care to comment on the potential impact of TPL and SEO? I would really appreciate it.
Thanks kindly,
Todd
Since you are editing the default template_info_display
Perhaps you could make a slight mod to where the price lays out.
Looks a little off center on my site...
http://www.allforyourwedding.com/~no...oducts_id=1661
I know, I should learn some php programming myself by now...
Since TPL doesn't actually modify any of the meta data or description, there is no impact. TPL just takes the existing page data and manipulates it on the client to look differently. With the upcoming version, this will be even more accurate as now I am using requires of the real zc files instead of creating a subclassed version of them.
In TPL 3.8, I use a subclassed version of the reviews module, and I copied a lot of DB queries from the real files and cloned them in TPL. In the new version, I call the existing files for the functions so even if the files were to change, it should be transparent to TPL.
So there should be no impact at all on SEO.
Well in the previous versions of TPL, I did a lot of restructuring of the add to cart and stuff using tables because of the way the addtocart was set to "float" in its css properties. This was causing the add to cart button to float off the tab. I also left in some other modifications that I had on my site cuz i thought it looked better than the zc default.
In efforts to keep it more basic, I removed all the tables. I did however add <fieldset> </fieldset> tags around the add to cart button to keep it on the tab but it should be cleaner and still rely on the rest of its CSS props for alignment. Which on my demo above is right up against the right-side wall where it should be.
In other news...
I finally got all the w3 validation stuff worked out from what I can tell.
I fixed a few more minor bugs
I am working on making the rendered html look cleaner and easier to read (useful for debugging problems)
I also am trying a different method for the sql file. The previous versions seem to cause a lot of people grief, mainly those that had prefixes on their database. I have not yet tested it with a prefixed database.
Other than that I will be updating the Readme file now and get it packaged up for release.
I am going to release the "magic" one first to see how it works for everyone. That one has the least maintenance for bugs and stuff but I am still unsure if using the "magic" will cause any other unforeseen problems.
You guys will be my guinea pigs :) but I will also use it on my live site.
Well I just found the first "semi-major" problem with the "magic" version.
Because of the way the magic works, it basically creates 2 copies of each module and uses javascript to figure out if it exists on the tabs, then hide the real one on the product display template. But it's only hiding it from your browser, the code still loads in the background.
Then i use jscript to set the real divs to be hidden, and change the rendered id of the tabbed version of the modules to have the real id name so that it uses the correct css settings. So its really an optical illusion. The actual source code will show 2 copies, while the rendered page will only show one.
The problem is that this is a form. So while the add to cart button does the send action, i forgot that there are other modifiers.... the attributes and the add to cart qty box.
It works fine for radio buttons. But for textboxes and dropdown boxes, there is a default value already set. So while changing it on the tab, the real version, which loads after the tabbed version, is hidden but still applies its own default value. Which means that the tabbed version gets over written when clicking add to cart. Same with the qty box. If you use the qty box option and enter qty 10.. it will use the default min qty number from the hidden one.
So to fix this I have 2 options.
Option 1.
I can:
- use php to save the actual name value of the tabbed version to a variable.
- Rename the name value to add "_tab" to the name so that when the real one loads they are uniquely named.
- Pass that php variable from step 1 to a jscript variable and match that name to the real one. Then change the real one on the rendered client to be something else.
- Then change the tabbed one to the real one to apply the form action when submitting.
The problem with this one is that I have not yet proven that the form will accept the jscript manipulated name vs the one that is in the code. If it doesn't, then this option is completely out of the water.
Option 2:
I can hybrid with the non-magic one for the add to cart and attributes in the product template. So instead of just 3 lines added to the template, you need to add 2 more IF statements. It would still be less changes than the old versions have needed to date.
OK. it looks like Option 1 will work. I even found a little easier way of doing it by basically replacing the off-tab code with a blank via javascript el.innerHTML = '';
now when the form is sent, it has nothing to override the value so it uses the correct value.
I will need another few hours to work on it tho, and tonight isn't looking good. Tomorrow late morning it should be ready.
I have been looking at this other mod.
But thinking, perhaps I can get this done with tabs.
It allows a product to be placed (for that mod in 1 Catagory)
Without a Add To Cart or Price Button.
They call it Gallery.
http://www.zen-cart.com/index.php?ma...roducts_id=606Quote:
Stores with one-of-a-kind products may benefit from a showcase gallery for sold items.
This mod allows regular products to be simply moved to one or more designated categories when sold; they will then, in product listing and product info pages, appear without price or add to cart/sold out displays.
Other elements of display can also be turned off or modified following simple coding examples.
This may also be useful for upcoming items which are not yet available for sale.
Now the reason I want this is because I want to actually just use the product listing to launch to another site where I earn the refferal fee... But
Listing things this way will allow me to still send it to google etc...
Unless of course this can be done by putting a code in which would also be cool.
Gallery mod is basically a product info template modification to remove the add to cart. Technically if all you want to do is remove the cart button all together that could be done easily with TPL or just by editng the product info template. I don't know what else that mod offers as I haven't installed it.
I'm not sure but I would think it would have made more sense to make the gallery a separate product type that would follow the format.. so that you could make some products "Gallery only" and other products could be normal with add to cart button. But I digress and don't fully know the contrib.
you could also use the Gallery Mod's product info template and add the 3 lines of TPL code to make it tabbed and have the best of both :)
UPDATE:
Ok I got all the kinks worked out with the attribute over writes. It was even easier than I thought after taking a break. I realized that instead of just hiding the non-tabbed code for items that exist on tabs, I could just make the client think that the innerHTML was deleted. So there's nothing there to override the tabs. Works Great!
As I said before, I am going to be creating a new thread as this one has reached it limit. Because this version has been completely rewritten, I will be jumping up to TPL v4.0... tho i'm not sure how i ever got past 1.x :P I was living fast and loose with my version numbers in the early days :P
Maybe I'll just rename the whole contrib to something like TabMagic or something. I'll sleep on it.
stay tuned
Cool. Ill wait untill tabMagic comes out first. Wouldn't make sense to try it now.Quote:
you could also use the Gallery Mod's product info template and add the 3 lines of TPL code to make it tabbed and have the best of both :)
Just checking in... Thought you would have it up by now... Running into any problems???
LOL Sorry forgot to update this thread with the new thread. I released it last night:
http://zen-cart.com/forum/showthread...690#post493649
Hi,
I'm attempting to install this module on a freshly installed ZenCart and am getting the following error when uploading the SQL Patch.
------------------------------------------------------------
1146 Table 'zencart.configuration_group' doesn't exist
in:
[SELECT @gid := configuration_group_id FROM configuration_group where configuration_group_title LIKE 'Tabbed Products Config';]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
------------------------------------------------------------
I would be grateful for any help diagnosing what is going wrong!
http://www.cottoncloudfutons.com/onlinefutonstore.01
thanks
dtb
This contrib is no longer supported and has been replaced by "Tabbed Products Pro". the Pro version should fix this problem and others.
You can see the official support thread here:
http://zen-cart.com/forum/showthread...013#post496013
Hey all,
Thanks for this great contrib!
I installed it and it went fine but I'm getting this in result.
http://img365.imageshack.us/img365/4808/sampleaz5.jpg
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!
TREMENDOUS - I have been watching and waiting for development to slow down before installing.
Did it today on www.nativitydisplays.com on the Cherry Zen Template.
I have nothing to say but "Excellent Work" about all of your contributions.
:bigups:
JOhn ><>
Hi,
You can see working demo here.
http://www.sizzlingshop.com/mobile-s...le-phone-p-207
hetalsagar
Hi
I seem to have a problem, now it could be the image handler or it could be tab lite, Im not sure which so thought I would try here first since its the more active one.
I recently relocated a friends site to my hosting temporarily, after fiddling for a short while its working ok, however, for some reason, on several of the products, when you go into the product to view it you get the following.
Image displays ok
Description Tab is visible, followed by this line.
Warning: ereg_replace() [function.ereg-replace]: REG_EPAREN in /home/xxxxxxxx/public_html/macropackaging.co.uk/includes/templates/Custom1/templates/tpl_product_info_display.php on line 248
Under this line I then have the same line repeated some 3 pages in length.
Warning: preg_match() [function.preg-match]: Compilation failed: missing ) at offset 49 in /home/xxxxxxxx/public_html/macropackaging.co.uk/includes/templates/Custom1/templates/tpl_product_info_display.php on line 261
Then I have the description and all other items displaying without problem
You can see it here http://www.macropackaging.co.uk/doub...xes-p-223.html
Now I dont know enough about php to be able to work out where the issue is, but I have read the possibility of not having a / in front of a " but honestly am not sure.
Can anyone help me with this.
Thanks in advance:unsure:
Be sure you removed the Tabbed Product "Lite" stuff when upgrading to Tabbed Product "Pro". That doesn't seem related to this error, but it will be related to future errors.
I'm not sure where this error is coming from. Try using the included tpl_product_display_info file and see if that works. Then if you need to merge it into a custom version, you can rule out any problems with TPP.
I know for a fact that TPP works with IH2
the original template file does not deal with ereg_replace;
please post lines tpl_product_info_display.php on line 248 & 261
yes TPP works well with IH2 & zen_lightbox; look at: http://demo.zen-cart.at/index.php?ma...id=viennabloodQuote:
I know for a fact that TPP works with IH2
These are the lines 248 to 261
I sort of figured the issue was here, but failed to see anything weird character wise in the product description, which again I am assuming is whats going on, so I am at a loss as to how to fix it, and I do not know this command or many php commands that well to be able to workit all outCode:$products_image_directory = ereg_replace($products_image, '', substr($products_image, strrpos($products_image, '/')));
if ($products_image_directory != '') {
$products_image_directory = DIR_WS_IMAGES . ereg_replace($products_image_directory, '', $products_image) . "/";
} else {
$products_image_directory = DIR_WS_IMAGES;
}
// Check for additional matching images
$file_extension = $products_image_extension;
$products_image_match_array = array();
if ($dir = @dir($products_image_directory)) {
while ($file = $dir->read()) {
if (!is_dir($products_image_directory . $file)) {
if(preg_match("/" . $products_image_base . "/i", $file) == '1') {
From my understanding though the ereg replace simply translates certain characters so they will work
First, I will say preg_replace is faster
Second, the error is due to having something not within the realms of eregs regex matching.
Do a search for that error on google. You don't really even have anything to regex, looks like it could be done with a simple str_replace, but im no expert on regex
Hi, I have TP Lite, how do I add the main picture into the description area? :blink:
Get Tabbed Product "Pro".
Lite is dead
Hi,
I am having some issues with this. I have installed it and all works perfectly apart from one thing. My Images no longer increase "Larger". the error can be seen here. If someone doesnt no how to rectify this could someone explain how i uninstall it and start again.
Many thanks
Just installed this and now my product display page is blank :frusty:
Site is http://www.craftmagick.com
Please help
Saw the post that 'lite' is no longer supported. I installed PRO and re-posted this question on the PRO thread at
http://www.zen-cart.com/forum/showth...=blank&page=91