Yep, completely transparent to IH2. I have it on 2 of my sites. Since the only feature of IH2 on the product info page is the watermark, there's not much else that could go wrong :PQuote:
Originally Posted by getyourgameshere.com
Printable View
Yep, completely transparent to IH2. I have it on 2 of my sites. Since the only feature of IH2 on the product info page is the watermark, there's not much else that could go wrong :PQuote:
Originally Posted by getyourgameshere.com
Ok Im a dumbass :blush:
I changed my small images width and height to 0
trying to customize the look of my pages.
Why I dont know
0= Bad
150x120= Good
All is working now, would you like to kick me now?
Sorry about mucking up this thread because of my own stupidity
Thank You
GYGH
qhome
Ive recently been saved by ZenCart from Oscommerce hell,
and I cannot Thank everyone here enough for the excellent
work and support around here. I will be donating often.
Thanks Again
:blink: Geeeez don't be so tough to yourself, we all do silly things sometimes.Quote:
Ok Im a dumbass
NO! He should be banned from this forum and stripped of his Zencart and forced to use OSC!!! :P J/k Welcome to ZC.. Prepare to be Zenned!Quote:
Originally Posted by ideasgirl
Enjoy the tabs:)
If anyone can please step me through what I need it would be much appreciated. I am still stuck on the background images.
All I need is a custom tab labeled backgrounds.
When people click on the tab it will show all the background options available (of course small images) and when they click on an image it will enlarge to full size.
All the images will be in a 1 directory. All the images will be FTP'd into that directory. I need all the images in the directory to automatically appear under the backgrounds tab.
This will allow customers to see the background options when choosing poems to go with the background. See website for details at www.poetryinpictures.com/shop/ to get a better hint at what I am trying to accomplish.
Thanks,
Mitch
Sorry sent the wrong link. Correct link would be www.poetryinpictures.com/store/
Hey sf
I believe I can help you on this.
I had set up something similar on a site Ive been working on.
additional images module wont work for you unless you only have 6 backround
options
You will need a thumbnail size image for each backround, that will go into the
product descriptions in the admin section along with the "Backrounds" tab
then a seperate html page with the full size image on that page, for the click
for larger image function.
then just link that thumbnail image on the backround tab to the appropriate html page for that backround.
hope I didnt confuse you, but a basic html editor and image program to resize
would be all you need. eg Gimp and notepad
I dont want to step out of line in this thread by going into too much detail
so PM me tommorrow and I can give you a step by step if needed.
just tryin to help, and give something back for the knowledge and help Ive gained
myself from the great folks here.
Thanks Again Zen peeps
You also have another option. I see on your site you have a drop down box for background options. There is an option in the attribs area that you can have an image for each of the options you offer. I am not sure tho if it switches on the fly when you select a different option.. i dont think so at this time. But With some modifications, I could put the attribs on their own tab and you could use this method. But this could also be confusing if the backgrounds are on a diff tab and people dont see them and end up gettin a bg they dont want or get an error talkin about something and they aren't smart enough to figure it out.
brilliant
forgot about the images for attributes, but Im still learning the Zen way. I do like
qhome's idea about having attributes on their own tab.
I would definitely like that option myself.
as Im not happy with the location of my options
being so far down the page.
Im working on figuring out how you got your attributes above the
add to cart button as seen on your demo here:
http://www.unbannable.com/zen/index....&products_id=1
Thats because on the tab version (ie the button and options on the actual tab) I used a table to get everything lined up better. I too didn't like the options being below the add to cart button.. but there were issues doing it with divs only at one point. But i didnt want to force people to use tables if they wanted the add to cart stuff outside of the tabs. so i left it as default.Quote:
Originally Posted by HeadScratcher
You can copy the "add-to-cart" section from the tab template and overwrite the add to cart section on the normal template and it should have it the way u want it.
As far as options on a different tab.. I will look into it.
I have got the Tabbed Lite template set up on my site and I love just about everything about it. In running through and adding some test products I noticed something I havent been able to correct.
When using the Tabbed Lite set up it forces my 'Add to Cart' box, 'Tell a Friend' box, 'Write a Review' box and the shipping weight, stock and manufacture info down to the bottom of the page. I have been searching everywhere to try and correct this.
I found out how to control the width of the tab box that has focus by adding a width statement to the css in the following:
.ditch-tab-skin-default .ditch-tab-pane-wrap {
position:relative;
z-index:9;
border:1px solid silver;
padding:8px 15px;
}
I just added a width statement to that and it changed the width but had no affect on the placement of the affected items above.
I then went into the tpl_product_info_display.php file that is provided with Tabbed Lite and found the following there:
starting around line 240
echo '<table width="100%" cellpadding="0" cellspacing="0">';
There were a few entries like that and I tried changing them individually with no luck. I dont know if I need to change all of the entries as well as change/remove the style="display:block; statement that accompanies each of the divisions that contain the table statements above.
I love the Tabbed Lite template but I dont know what to do about the items that are forced to the bottom of the page. It would seem its possibly a CSS thing, but Im not sure what to look for.
Ive tried doing my homework and checking as best I know how and Im at a loss so Im hoping someone here has an idea of what to do. The 'Tell a Friend' and 'Write a Review' parts I dont care if they are at the bottom, but I really would like the 'Add to cart' and the shipping and stock information near the product information.
If anyone has any ideas or has/is using this template and knows what to look for I would greatly appreciate some assistance. Thanks everyone.
Quote:
Originally Posted by SyntheticShield
EEP! you are using version 1.x of TabbedLite.. I'm not even sure where you found that :P. The tab system is actually completely different now in version 2.x and 3.x. I don't support 1.x any longer. Please completely remove the version you installed and install the latest 3.6AE version. That should fix your problems as well. Download it from the link in my signature.
Well crap, I thought I had the latest version. I downloaded it not a week ago or so. Sorry about that, I'll grab the latest. Thanks.
Okay, I messed something up. Hopefully someone has an idea, though I'll keep searching for a solution from my end.
I installed the new version of Tabbed Products (after uninstalling the old version) and now im getting the below error message from the product display page (shows up at the very bottom of the page). When I go to the admin side and try to access the product from there to revise the description I see the same error message there and my product list doesnt show up.
1 Can't create/write to file '/tmp/#sql_8e5_0.MYI' (Errcode: 13)
in:
[select c.categories_id, cd.categories_name, cd.categories_description, c.categories_image, c.parent_id, c.sort_order, c.date_added, c.last_modified, c.categories_status from categories c, categories_description cd where c.parent_id = '0' and c.categories_id = cd.categories_id and cd.language_id = '1' order by c.sort_order, cd.categories_name]
I'll keep looking for what I messed up. I dont know how to undo the sql patch. The store is not online yet but I had pretty much most of it set up the way I wanted but only had a couple test products in there to work out the final details. Thanks in advance for any help.
Okay, went to Tools > Layout Box Controller and did a reset and everything seems fine now. Product list on the backend shows up and Im not seeing any more error messages.
Ok, this is what I got so far...
http://www.poetryinpictures.com/stor...&products_id=3
I would like the attribute of the backgrounds on it's own tab, sorted out 3 wide and 3 high per page, if more then 9 backgrounds images it would create a link to the next page of backgrounds. Is this going to be possible?
By the way I am also going to be doing this with the Frame Options.
Thanks so far for the great support!
Well. to have it the way you want it, you'd either have to make your own module that acts like the additional images module that uses those extra images and displays them dynamically. Or you can do it the easier way and directly code them into the product description and just use html to create a table. Then if I can easily pull the attrib code and put it on that tab, you could have the drop down up top, and the images on the tab.
I will take a look at that this week.
Thought I would come back here and check on something.
On the Admin side for the configuration of Tabbed Products, the only thing there is an option for Global Product Description Tab. Are there supposed to be more options that that?
Reading the Readme.htm file I got the impression that there were more configuration options on the backend side. As well under Admin > Config I have two menu listings for Tabbed Products Config. Anyone have any ideas?
Now that Ive said all that, let me tell you the ways I love this contrib. I have messed with a lot of ecommerce (open source) solutions out there and this contribution has to be the finest of any third party contribution I have ran across.
The whole Tabbed Product concept is wonderful and affords you a ton of flexibility. I really REALLY hope they would not only consider but make this a permanent part of ZC.
Its a tad bit more work setting up the <!--% tags as I had to give thought to the tab names and then with each product I have to cut n past that into the editor then add the relevant information, but for what it affords you in flexibility it is well worth it.
So hats off to qhome for not only putting this out there but for the outstanding support he is providing for this contribution.
Im glad you like it. :) Concerning your admin panel showing only one menu option. This is a problem affecting a small handful of people. The best way to fix it is to manually fix the configuration_group_id in phpmyadmin to point to the correct configuration_group_id.
However, I just had another idea that might work. I might be able to write either a sql script to correct the numbering OR a script that uses a forced super high number like the user_tracking contrib to ensure proper table creation. Give me till tomorrow to work on that and see if I can find a better solution for those having this problem.
SQL FIX
For those people having a problem with the Tabbed Lite menu in the Admin panel showing only 1 option instead of 10, run this sql file to correct it.
This file will delete any existing problematic Tabbed Product Tables that are having problem with the last_insert_id() mysql function. I've tested it on 2 different shops with success.
Only run this if you have problems with the admin panel area showing only one option.
Golly qhome, you are pretty dang quick with the help. Your post said maybe tomorrow and the next reply is the fix. Jeeesh, great contrib, great, no, excellent support and its all free. It really baffles me, with open source stuff, how people give some much of often over the top tallent and dont ask for much if anything in return. I feel guilty sometimes that I dont know more PHP and such so I can contribute.
Okie Dokie qhome, that worked, I now have all the options on the admin side. I LOVE the fact I can put the image and Add To Cart on the first tab, VERY nice touch. It cleans everything up very nicely. They HAVE to make this part of the distribution of ZC. I mean ZC is just on another level altogether from other solutions Ive tried but this contrib, added to the main install/distribution would just put ZC over the top.
The only thing left that I see is that I have two menu links on the admin > configuration to the Tabbed Products Config. Any ideas on how I can get rid of the extra one. One link takes me to the configuration page with all the options, while the other goes to a configuration page with nothing. It has the title bar but absolutely no options.
Its not a biggie, I can deal with it, it doesnt interfere with the operation of anything other than I click on the wrong one sometimes.
Anyway, thanks again for your very quick help qhome. It is greatly appreciated.
qhome, fantastic work! I love this!!!!
Just one observation though.. the "bluewhite" additional CSS file has incorrect image definition.. in the file its looking for images/menuleft.gif i believe, while in the images directory its actually called bw_tab or something like that. Just thought you should know!
Hmm.. i thought that would have been deleted with the sql file. No problem. Can you tell me what the gID number in the address bar shows for the Broken TPL Config link. After you select that option it should show something like:
http://www.mysite.com/admin/configuration.php?gID=51
I will make a quick sql file to delete that table row based on that number.
Ah yes.. some left over from a naming convention change. I actually have a few more css/image options as well.. Whenever i see something I like I usually add it to my folder.
Here is a CSS Addon pack for tabbedlite. It should work with all 3.x versions.
Just a few extra css choices for you.
Remember to try them one at a time. The extra css files are in a subdirectory of the css folder so drag one in at a time from the sub folder to the main root to try them all. Remember to backup any of your custom tabbed lite css changes and read the readme file.
OK, I've got a new version coming out with support to add the hardcode stuff to any tab based on the tab number. So now you can have the add to cart button on any or all pages or combine other modules on one tab.
DemoQuote:
Originally Posted by From the Readme
Give it a try and let me know how it works for you.
Woops.. forgot to add code that removes it from outside of the tabs if it already exists inside of the tabs. Well I'll work on that.. but in the mean time you can play with it, just add the <!--#AddToCart#--> tag to the product as well for now.
OK fixed it..Quote:
Originally Posted by qhome
Now try it:
qhome, I checked (sorry it took so long, been busy adding products to the site) and the GID is 32. The one that works is 888 just in case you need that.
You DA MAN!!! That fixed it qhome. I have just one menu entry now. I really need to learn more about the database and MySQL in general, I could probably have taken care of that myself if I had a little more knowledge. Just the same, I think you for taking the time to do that for me.
I spent nearly a year with my previous ecommerce solution and NEVER came close to the flexibility of ZC and with the Tabbed Products contrib there is just nothing that compares.
Please, Please tell me they are planning to make this contrib a permanent part of ZC...
Sorry Im a little confused
So this new update will put the options/attributes on their own tab?
Ive been trying to move mine up above the add to cart stuff with no luck,
if this will fix that, all hail qhome. :D
Essentially, Yes.
If you disable the "Global Add to Cart" and remove all <!--#AddToCart#--> tags from the description, then add a new custom tab called backgrounds and put <!--*sub_AttributeOptions(2)*--> in there, it will put the attribs on that tab and any other information you want. There may be some tweaking yet to be done, but it should work the way you want it for now.
Is there any way I could possibly get a copy of your tpl_product_info_display
to get the look you accomplished on the demo site qhome?
http://www.unbannable.com/zen/index....&products_id=2
Ive tried editing it myself with disaterous results, I seem to missing something everytime and reverting to my backup copy.
I kind of a show me once, and Ive got it type.
Any help would be appreciated.
http://www.nationalvinylfence.com/in...&products_id=3
I'm not sure what you mean. On the demo site I'm using the default product info display file. If you are referring to the tab image style, those are available in the css add on pack that i just released (in my signature). The rest is all default stuff.
Unless you mean my color scheme and site theme?
That sounds darn handy!!! :ohmy:Quote:
So now you can have the add to cart button on any or all pages or combine other modules on one tab.
I will try it during the week as soon as I have a chance. :wink2:
I was referring to how your options are above the addd to cart
box
sorry I should have been more clear about what I was trying to do
Options are above the add to cart button by default if you set "<!--#AddToCart#-->" tag in your description. Inside the tabs, I put it all on a table to make it look better. If you want to put the table outside of the tabs as well, I can help you with that.
I'll post it up in a bit.
Ok got it set up
http://www.nationalvinylfence.com/in...&products_id=3
Wow, what a contribution, qhome, you got my vote for support of the century
on this.
:clap:
I'm having problems with my tabs. My first problem is nothing happens when I click on the tabs. I noticed when I hover over the tab it says" javascript:void(0). Would this have something to do with it?
Also, I cannot get my additional images tab to display correctly. I've added additional images (test.jpg (main image) and test_1.jpg (2nd image), uploaded them to the proper folder, added this in my product description:
<!--%Product Description%-->Test <!--#AdditionalImages#-->
but my tab text says TEXT_TAB_TITLE_ADDITIONAL_IMAGES instead of Additional Images. Any ideas on what's happening?
Sounds like you dont have the full install. Did you download version 3.6AE from the downloads page? Did you rename YOUR_TEMPLATE to the template that you are using. Javascript(void) is fine, but if the script isn't in the right folder, then it wont work.
Gotta link i can look at?
Here's a link to the test page I created. The store hasn't been live but I turned it back on for the moment so you can see what I'm talking about.
http://whipperscrapper.net/index.php...roducts_id=640
Disregard the 2nd product description tab. I was testing something and must not have blown that away yet. How do I check what version I have downloaded? Yes, I believe I have the contrib in my custom template folder. I had printed out the directions and walked through them step by step. At least I think I have it in the right folder. Could you post the path again just in case I screwed it up?
Thank you!
Ok, looks like I have version 3.6, according to the read me file.
OK, after looking at that page. I see the css file is there, but the Javascript file does not seem to be loaded. check your includes/templates/classic/jscript/ folder. If this folder doesn't exist, you need to create it and put the jscript_tablitev3.js file in there from the tabbedlite zip file.
For the TEXT_TAB_TITLE_ADDITONAL_IMAGES thing, check your:
/includes/languages/english/extra_definitions/ folder for a file called tabbed_products_lite.php. That is the language file that will fix that.
If you are a little confused because there are a lot of files with the same name that do different things, don't be. Its just the way zen-cart matches everything together. Just be sure to follow the complete structure that is in the zip file. It looks as if you may have overlooked a few files to copy.
Please let me know if this fixes the problem for you. Your store is starting to look very nice so far :)
:)
Yes that has solved both of my problems! Thank you so much. I had the javascript file but not enclosed in the folder. As soon as I moved it inside everything worked great. And I was missing the 2nd file. I so appreciate your help. And thank you for the compliment on the store. It's been a long week and lots of designing tweaks to get it to the point of where it's almost ready to go live.
NEW RELEASE! v 3.7 Admin & Non-Admin Editions.
New version uploaded to the Download section. This includes the new sub_ tags, a slight template change to the included tpl_product_info_display.php file (not necessary to replace if you are happy with your current modified one), and an fancied-up readme. Also updated and included the old Non-database version of the tabs to have all the new features as well in case anyone still wanted to use the non-admin version.
- Added sub_ tags to allow the use of multiple core code modules to be added the same tab (See new section regarding sub tags)
- Updated both the Admin Edition & Non-Admin Editions in this release. There are now 2 versions you can choose from, both with all the same features.
- Moved the Attributes above the Add to Cart button in the included tpl_product_info_display.php file when not using tabs. This seemed to be a highly liked customization when I did it on my demo site. It's not really related to the contrib, just a change that anyone could really make to their template, I just added it along with this.
- Updated the readme to change the look a bit and explain more.
- Updated the latest CSS add-ons so there are a few more tab styles to choose from.
Enjoy!
Now that I have set up my store using Tabbed Products I have found something I think would be a neat feature to have if it were possible to do so.
When you add a product you first go to the preview page so that you can see how everything looks. Would it be possible for this page to interpet the Tabbed products and show us how it will look in the end?
As it is now I have to include the product then go to the front side of the store and pull up that product and make sure that the tabs look right and so forth. Its not a big hassle as I just made a template of the tabs I use and put them into a notepad and just cut and paste or fill out the information I want then cut and paste all that into the product description on the admin side when you are adding the product so I have had consistent results. It would just be nice to see it all on the preview page if possible.
Ya, I thought about doing that a while back.. but initially when i first named it LITE i was so high on the horse with making all the changes to one file, that I wanted to leave it at that. Of course, now that I've spanned it across more files and even the database, I guess you are right. It would be handy to have that there.
Another idea was to have little checkboxes on the new product page that would auto-add the tags so you could just click them to add them. I have actually been working on a popup style window for that so that I dont make it easy to add to any new product page (music, document, etc)
I will also look again into the preview area as well.
Thanks for the feedback and ideas :)
hi, qhome, i have 3 questions:
1)is it possible to add a new tab 'read customers reviews'
2)does the tab 'customer also purchased' require a cross sell module?
3)is a rounded corner tab style possible? just like nifty zen template?
thanks. ;-)
1. The Read reviews tab is a conundrum because i would need to replicate the code ... It "could" be done and I've thought about making it... i have been reluctant to because it could mean more maintenance, but considering how this project grows, and how much code I've already begun to replicate, it might just be worth it. That and the Tell a Friend button.
2. Customers Also Purchased is completely seperate from Cross Sell. Cross Sell is a 3rd party contrib that is also supported by tabbed products lite, but not required. Customers Also Purchased is a core zen-cart feature.
3. I've dabbled in the nifty rounded corner world a bit but am still not that proficient in knowing how to implement it in the tabs. perhaps sometime in the future.
In asking for things or improvements, however you want to look at them I have to consider a few things:
1. This contrib is completely free.
2. Its awesomely supported.
3. Its been continually improved, imparting to me that valuable time and effort is spent on it.
So when I consider the above facts, I am timid in saying 'hey, how about you do this'. So please understand, I know you invest your valuable personal time in this project and I surely hope that ZC sees the value of it and makes it part of the core install.
That said, when I first started using Tabbed Products, one thing that did occur to me was it would be nice (I say these things having NO idea of what would be involved in implementing them) if I could perhaps 'pre-define' tab names and then somehow point and click. I want to use this tab, heres the text/html/xml for that tab, then next I want this tab include and here is the text for it and so on. Then click, see the preview and confirm or hit back to go and make any corrections.
My experience with PHP has been solely at the hands of Joomla CMS where Ive dived in simply to make minor and mostly pretty obvious corrections. Stuff that would cause validation errors and the like. When it comes to actually writing PHP to create something, well, I just aint there yet. Having said that, I would be more than willing to beta test anything, I have ZC set up on my laptop as well as a localhost server. So if I can help out in that way, let me know.
I am nearly done with all the products Im going to add to ZC for now and each and everyone of them has been done with Tabbed Products. I came up with a very nice workflow that got things done in a hurry so now Im at the stage where I would need things to be backwards compatible if any updates were made but with the way Tabbed Products works I dont think that would be a major issue.
Anyway, I'll stop rambling. If you need someone to try things out let me know. I cant offer any real coding experience, but you're making an effort to bring an awesome contrib to the community, I'll do what I can if you need that kind of help.
Oh, by the way. Why in the world are my email notifications to replies to this thread not working. Actually, they aren't working on any thread I have subscribed to. Ive clicked on 'Instand email notification' in the drop down, and I get nothing. Anyway, thanks again for an awesome contrib.
qhome,
I downloaded your tabbed lite version 3.7 and i unzipped the Admin Edition but there is no "TabbedProducts_v3.7_Full.sql" included.
Instead, the two sqls included are "TabbedProducts_v3.6_Full_AlternativeForSQLProblems.sql" and "TabbedProducts_v3.6_FullwithDelete".
Lastly, do you have to upload all files under includes/templates/custom_template/templates even if you're not using some of them? i see myself only using the tpl_product_info_display.
Thank you
P.S. Awesome Mod! :)
I knew there was something I forgot to rename! Yes use the 3.6FULLWithDelete version. Its the same version I was just gonna update the number.
You dont have to if you are not planning on using the music product or freeshipping product. Just upload all files except those two templates.
Thank you! :)
qhome,
In admin, is there only supposed to be 1 setting? i only have Global Product Description Tab.
Thank you
::cough::: Readme.html ::cough::: :)
if you are one of those lucky people to be having this situation, (its unclear why, but it seems to be the way certain webhosts holds the value of a mysql variable during sql code insertion) you can use the AlternativeforSQLProblems file. Just run that and it will autocorrect your problem. :)
ALSO as an update:
I've got a few new features coming up.
First: Tabs on the preview page after updating a product description so you can see what it looks like before hitting update.
Second: Read Reviews as its own tab is working as well :)
Stay tuned !!!
qhome,
thanks for that :)
and i'll stay tuned for the new updates :)
Here's a demo for your drooling pleasure:
http://www.unbannable.com/zen/index....&products_id=1
Click thru the other products to see what it looks like with no reviews as well.
Im looking forward to all this. I 'assume' it will be backwards compatable? Ive have a lot of products loaded, and while I would probably do it, Id hate to have to reload everything.
We need to start a petition to get this thing included with the ZC distro. There is nothing like it out there that I am aware of. I nominate qhome for president and the first executive order should be that all ZC versions from here forth include Tabbed Products.
LoL.
Well yea I try to make upgrades as painless as possible. Thats why i keep all the tab code inside a seperate file. There is only a small change needed to make to the product_info template file. but everything else is just replacing the existing tabbed lite files. This wouldn't affect anything in your products tho, it is just a complex display manipulation.
Thank you for your presidential vote.. "Ahem.... I swear i did not have relations with that intern..." (just practicing)
I'm not sure if this was answered or not. I have installed the Tabbed lite 3.7 admin addition. As you can see here http://www.digitaleyours.com/test/bl...t-set-p-5.html (on a test site)
It is showing the The model, weight (details), but I would prefer it NOT to show these. I have these set in Admin to NOT show, but for some reason they are showing anyway. How do I remove them?
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
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.
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/in...dcb3894abe9cbd
thanks :)
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
Ah I see, you want image based tabs. like http://www.target.com/gp/detail.html...sin=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....&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.
Wonderful contribution!
But I can't see in product info the end date of promotion :-(
Please, see this page:
http://www.100asab2b.it/zen/pistola-...nge-p-248.html
this offer end 30/10, but in the the page I can't see this date, end date of offer.
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
And paste it above line 24:Code:<!-- 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 -->
That will put those attribs above the add to cart button.Code:<!-- sub_AddToCart -->
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
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.
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?
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
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.
Site is for a Client and not yet live, this is the URL: http://reelstackle.com/index.php
Although most of the changes within the 'tpl_product_info_display.php' file are cosmetic, it did require a changing of the logic flow. So my only concern was your Mod looking for certain code in certain places.
Once I get a chance to read through your material I'll have a better idea of how it all works together. I do like the idea though, of using a seperate file for any Mod.
The code needed to add is basic logic so that if you set something to show up on a tab, it doesn't also show up in its original area. So in the default zen core prod info template, you see a lot of <!-- bof Add to Cart box --> and <!-- bof Quantity Discounts box -->. I simply put an if statement around each box that checks a variable that is set when you set something to be on the tabs. If it finds the global tab is set or that the tag for that tab was found in the product description area, it will set that on_tab_flag to true and if true on tab, then don't show in normal location.
Other than that, i only do a logic check to see if you want the main image to be on the tab or if you just want the tabs under the image. Then I require the tabs module template for the tab stuff.
The changes that I see on your site shouldn't be affected tho as those are well below the description area.
You'll have to wait and see :p
I am really new at all of this, so hope you will bear with me.
I've installed newest ver. of Zen-Cart, works great.
Now I am trying to get Tabbed Lite to work.
Installed temple files to custom dir, /includes/templates/custom.
uploaded db files with SQL Query Executor
Now my page looks like this:
http://www.naturalhealthcarenet.com/pics/screen.bmp
where have I gone wrong, and how do I get the tabbed templates to work.
The tabbed look would only be on the products themselves. That page appears to be the main store front page. Try clicking on a product to see what it looks like. Also, check in your Admin->Configuration->Tabbed Products Config page to see if you have more than just "Global Product Description on Tab". If not, then run the 3.6AlternativeSQL file that I included. You should have 10 settings there, not just one.
Installed 3.6AlternativeSQL still no change. Called up product, this is what I get:
http://www.naturalhealthcarenet.com/pics/screen2.bmp
Also need to know how to get templates to load, do I do that with the stylesheet, and do you have any examples of what to chage on thattold you I'm new to php. Just started to understand HTML, this is a whole new ball game.
Would like it to look more like this:
http://www.naturalhelthcarenet.com/pics/screen3.bmp
Didn't get loaded right. Want it to look more like this:
http://www.naturalhealthcarenet.com/pics/screen3.bmp
hi saberman
when it says "custom" template.. it does not literally mean the word custom - it means whichever template you are using. So, if your template's name is "REGULAR", you would rename the "CUSTOM" folder to "REGULAR" and upload it. That is why your store is appearing like it is.. because the stylesheet is associated with the "template_default" folder
It would be wise to learn more about the templating system, and theres tons of great info in the wiki :)
I finally got the template to load up, now I just have to figure out how I want to change it.
I have been reading the wiki files on templates, but find them to be pretty general for someone thats new to this game. Would help if there were more detailed examples, I just have to do some trial and error.
It might help to have a more detailed list of files that need to be changed when adding templates. There might be someone that has already gone over that, but I haven't found it yet. There are sure a lot of messages to go over, search doesn't always find the subject your looking for, tabbed lite has over 60+ pages of messages. I seem to learn better by doing then reading some of the lessons on php. It sure helps to have people willing to help out. I know some of us newbe's can be a pain in the ***, asking the same questions. Us old guys(51) have a problem keeping up, I've been lost since they quit using DOS.
Thanks again for the help, I'm sure I'll have more questions later.
How can I put the reviews in the Tab like the Music Demo 1 ?
Thanks
New Release!
version 3.8
- Added Reviews tab :) Includes new custom reviews template.
- Optimized the config file a bit.
- Fixed a potential bug that the sub_ tags added. Unfortunately it requires minor changes to your tpl_product_info_display.php file if you have a custom one.
- Since both the Admin Edition & Non-Admin Editions are basically the same, only the top part of includes/modules/tabbed_products_lite.php changes for the Non-Admin version. It is now included in a folder inside the modules folder. Switch it with the one in the folder up to the root modules/ folder if you don't want to use the admin area to make config changes.
- Fixed the SQL to properly create all the new configuration settings in the Admin area
- Updated the readme again to make it a tabbed view for fun.
Important! For upgraders, you will need to run the SQL again to add the 2 new configurations as well as to clean up any "work arounds" from the other sql file. The new file will fix all the problems causing the config to only show you one setting.
There were quite a few changes to the tpl_product_info_display.php file unfortunately, more for the sub tag stuff that I tried lumping with other variables.
As usual, my demo in my sig shows examples.
Enjoy!
If I havent made any changes to the 3.6 version should I be able to upgrad to this without any trouble?
Again, I voice the belief this should be a part of the core distro of ZC.
Cool, I'll have to upgrade tonight then.....
you're developing this mod too quickly qhome! i haven't even installed it on my live site yet :(.. thats how quick you are :P