-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Well thats how it WAS.. but on my latest demo, i have the attribs table cell set to the full width of the page, and the qty discount and add to cart in a whole new row, so if you have a lot of wide attribs it wont be squished now.
I will continue to work on this.... :sleepy:
I'm also having the following issue.... When I set the Xsell to true (both) the product page turns up white without tabs or info at all (only name, image, and price). Anything to solve this? I do this without doing any changes to your original code, and yes, I do have XSell module installed.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by ideasgirl
I will continue to work on this.... :sleepy:
if you want it the way I just mentioned above its an easy fix to try.
If you look again, I've enabled the table border so you can see, the attribs get the whole row to themselves now:
http://www.unbannable.com/zen/index....&products_id=2
I think that is what you want, let me know and ill show you how to set that up. This might be a better way to do it anyway.
Quote:
Originally Posted by ideasgirl
I'm also having the following issue.... When I set the Xsell to true (both) the product page turns up white without tabs or info at all (only name, image, and price). Anything to solve this? I do this without doing any changes to your original code, and yes, I do have XSell module installed.
I only saw this white screen when I tried it on a site that didn't have the Xsell module installed. I will try to take a look if there is something I missed. Can you tell me what other tabs you have enabled on that page that shows up white?
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
I think that is what you want, let me know and ill show you how to set that up. This might be a better way to do it anyway.
Yes, that's exactly the way I want it. :yes:
Quote:
Can you tell me what other tabs you have enabled on that page that shows up white?
I have as true:
-$bGblAddToCart
-$bGblAdditionalImages
I appreciate your dedication and support!
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by ideasgirl
I have as true:
-$bGblAddToCart
-$bGblAdditionalImages
I appreciate your dedication and support!
I can't reproduce this xsell problem on my site. It seems to work fine for me. Can you do me a favor and try this again. And when you get the white blank page, do VIEW SOURCE from your browser and go all the way down to the bottom and you will see the error. Copy and paste that here so I can see what error it is getting.
I've attached an updated TPL to make the tables like my demo. If you have a lot of changes and would rather do it by editing your current file I can help with that too, but try this for now to see if it fits your setup.
I've also moved the Product details under the main image area by the price. This also seems a better place for this:
Check Demo link for a view.
(attached is tpl file only)
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
I've attached an updated TPL to make the tables like my demo. If you have a lot of changes and would rather do it by editing your current file I can help with that too, but try this for now to see if it fits your setup.
I've also moved the Product details under the main image area by the price. This also seems a better place for this:
OH YEAH! OH YEAH! :smartass:
Quote:
I can't reproduce this xsell problem on my site. It seems to work fine for me. Can you do me a favor and try this again. And when you get the white blank page, do VIEW SOURCE from your browser and go all the way down to the bottom and you will see the error. Copy and paste that here so I can see what error it is getting.
FF debugger says:
document.getElementById(cid) has no properties
[jscript_tablitev3 (line 31) - referring to: mytemplate/jscript/jscript_tablitev3.js]
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by ideasgirl
OH YEAH! OH YEAH! :smartass:
does that mean you are happy with the new style? :P
Quote:
Originally Posted by ideasgirl
FF debugger says:
document.getElementById(cid) has no properties
[jscript_tablitev3 (line 31) - referring to: mytemplate/jscript/jscript_tablitev3.js]
hmm that should have been fixed in the Final release. Ill check it again. But I dont think that would be the problem with the white screen tho, thats just an ugly jscript error, but shouldn't affect anything as far as HTML rendering a white blank area. I need the actual view source info. or a link if you got one.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
does that mean you are happy with the new style?
Yup, yup, yup!!! :thumbsup:
Quote:
I need the actual view source info. or a link if you got one.
This is the last thing on the source:
Code:
<!--bof Product description -->
<br /><div id="slidetabsmenu" style="display:none;">
<ul>
<li><a href="javascript:void(0)" onclick="expandcontent('sc1', this)"><span>Description</span></a></li>
<div class="systemError">1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'MAX_DISPLAY_XSELL' at line 8<br />in:<br />[select distinct p.products_id, p.products_image, pd.products_name
from zen_products_xsell xp, zen_products p, zen_products_description pd
where xp.products_id = '6'
and xp.xsell_id = p.products_id
and p.products_id = pd.products_id
and pd.language_id = '1'
and p.products_status = 1
order by xp.sort_order asc limit MAX_DISPLAY_XSELL]<br /></div>
Also wanted to know... have someone created this for the free shipping (downloads type) products?
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by ideasgirl
This is the last thing on the source:
Code:
<!--bof Product description -->
<br /><div id="slidetabsmenu" style="display:none;">
<ul>
<li><a href="javascript:void(0)" onclick="expandcontent('sc1', this)"><span>Description</span></a></li>
<div class="systemError">1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'MAX_DISPLAY_XSELL' at line 8<br />in:<br />[select distinct p.products_id, p.products_image, pd.products_name
from zen_products_xsell xp, zen_products p, zen_products_description pd
where xp.products_id = '6'
and xp.xsell_id = p.products_id
and p.products_id = pd.products_id
and pd.language_id = '1'
and p.products_status = 1
order by xp.sort_order asc limit MAX_DISPLAY_XSELL]<br /></div>
Hmm it looks like you might have an older version of cross sell because the error means that it isn't finding all the database entries which is what I use to validate if there are any products existing for cross sell. I created this with the latest version of cross sell installed. if you could open your /includes/modules/xsell_products.php and copy and paste all the data in your file in a PM to me, i could look at what extra fields are being pulled. I might be able to just pull the common tables between the two versions and see if there are any products that way. I think there is an extra table in the latest version and thats why it's erroring for you.
I think this is the same problem that IntelCos is having as well.
Quote:
Originally Posted by ideasgirl
Also wanted to know... have someone created this for the free shipping (downloads type) products?
i havent tested it with those yet but I could try it out. I dont think it should be big change.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by qhome
if you could open your /includes/modules/xsell_products.php and copy and paste all the data in your file in a PM to me, i could look at what extra fields are being pulled.
Well as unluck would have it, you showed me the same version I have. Are you sure Cross Sell worked on your site before ? If you set the settings like this
$bCrossSell_Exists = true;
$bGblCrossSell_Tab = false;
it should load it the normal way outside of a tab at the bottom and act like the tabs were never there. If that doesn't work either then I can only assume the database part of the cross sell mod hasn't been installed based on the error it gave unless you've had it working before. If you go back to the default product info page does it work there?
Do you remember going to your Admin->Install Sql Patches and copying the required cross sell database stuff from the readme... in addition to copying the files in the zip.?
-
Re: Tabbed Products ''LITE'' version - Delimiter based
I think there's something in your code that is confusing/mixing the "Also Purchased" items with "We Recommend".
When I set it the way you said, it's showing as "Also Purchased" the items I have set up as xsell. And I have the $bGblCustomersAlsoPurchased = false;.
Yes, before was working perfectly, even with your previous version of Tabbed Products Module.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by ideasgirl
I think there's something in your code that is confusing/mixing the "Also Purchased" items with "We Recommend".
When I set it the way you said, it's showing as "Also Purchased" the items I have set up as xsell. And I have the $bGblCustomersAlsoPurchased = false;.
Yes, before was working perfectly, even with your previous version of Tabbed Products Module.
This is so bizarre.. I even set my demo site with different products for each also bought and cross sell and everything works perfect on my demo site and my production site. I can't understand what is going wrong here. Are you using zen-cart 1.3.0.1 or 1.3.0.2 ?
If you dont have a link for me to look at, could you copy the full source of the product page and PM it to me as an attachment. This is extremely strange why it would work on some sites and not others.
also I assume you have mysql and are you running unix or windows as your server?
Have you cleared your cache on your browser or tried other browsers?
Im just rattling off crazy ideas because Im running out of good ones :/ I can't understand how everything works on mine..
Only thing i did notice is that if you aren't using tabs for customers also purchased or xsell, it puts the boxes below the Previos/Next buttons and the reviews and tell a friend button.... but they should have been above that. But that wouldn't cause this as it still worked fine down there for me.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
here is an issue that I have been fighting with. Using css-flyout menus which fly-out under the tabs...
see here
tried your latest rev and its even worse, so I reverted back because ask a question would no longer work and x-sell sell tab worked, but items were not listed . previous version before update x-sell worked fine
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by IntelCos
here is an issue that I have been fighting with. Using css-flyout menus which fly-out under the tabs...
see here
Well this problem is extremely easy to fix. Goto your stylesheet_tablite2.css
find:
.ditch-tab-skin-default .ditch-tab-wrap {
and change the z-index to 0
.ditch-tab-skin-default .ditch-tab-pane-wrap {
and change the z-index to 0
Quote:
Originally Posted by IntelCos
tried your latest rev and its even worse, so I reverted back because ask a question would no longer work and x-sell sell tab worked, but items were not listed . previous version before update x-sell worked fine
Well Im still not sure how you have the ask a question button on this version because you had to have added it yourself as it was not part of the tabs contrib, so you should have no problem adding it to the new one. I would suggest using the latest tpl that I attached for ideasgirl and put the ask a question box in the same table cell as the Qty discount box or put it in a cell to the right of the attribute options.
The Cross Sell problem appears to be the same as ideasgirl.. and Im totally confused as to why it works on my sites but not on both of yours.
Does anyone else have the cross sell part working properly?
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Are you using zen-cart 1.3.0.1 or 1.3.0.2 ?
I'm using 1.3.0.2
Quote:
If you dont have a link for me to look at, could you copy the full source of the product page and PM it to me as an attachment.
Do you want me to upload it with the setting as both true right? (xsell).
Quote:
also I assume you have mysql and are you running unix or windows as your server?
Yes, Linux & MySQL.
Quote:
Have you cleared your cache on your browser or tried other browsers?
Yes, both browsers same error (IE & FF).
Quote:
Only thing i did notice is that if you aren't using tabs for customers also purchased or xsell, it puts the boxes below the Previos/Next buttons and the reviews and tell a friend button.... but they should have been above that. But that wouldn't cause this as it still worked fine down there for me.
I can't tell since I don't use them (I can put them back while we test too).
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Ok, got it... :blush: When I inserted my AaQ code, I deleted part of the tabs code, I didn't noticed before because it was just a little piece and I inserted it on the last moment. I'm so sorry to wasted your time on that. :Flush:
Thanks for giving us this piece of machine to work, it's great! :cool:
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by ideasgirl
Ok, got it... :blush: When I inserted my AaQ code, I deleted part of the tabs code, I didn't noticed before because it was just a little piece and I inserted it on the last moment. I'm so sorry to wasted your time on that. :Flush:
Thanks for giving us this piece of machine to work, it's great! :cool:
ah.. great Im glad you got it figured out .. man that was driving me crazy trying to figure that out :P
IntelCos now maybe you can send me your tpl file and maybe I can spot something you may have changed.
I will also add the ask a question contrib as that seems to be a popular contrib and seems worth having a link to it.
Where should the ask a question link be? In idea girls case it looks like right under the tabs would be good for her, but IntelCos has a big image for his button so it might be better maybe next to the add to cart button or above it.
-
1 Attachment(s)
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
man that was driving me crazy trying to figure that out
I'm not going to have the XSell on a tab but just to let you know that when you put it on the tab the tab doesn't wrap all the products.
Quote:
Where should the ask a question link be? In idea girls case it looks like right under the tabs would be good for her, but IntelCos has a big image for his button so it might be better maybe next to the add to cart button or above it.
In my case I have it just over the tabs, look the pic.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by ideasgirl
I'm not going to have the XSell on a tab but just to let you know that when you put it on the tab the tab doesn't wrap all the products.
Hmm.. maybe something else broken on yours maybe? cuz it wraps on mine:
http://www.unbannable.com/zen/index....&products_id=1
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
m.. maybe something else broken on yours maybe?
:P I new that was going to happen, we have a saying in Spanish... "crea fama y acuestate a dormir". Means... "make fame, and go to sleep", meaning that if you do something wrong.... then the rest of your life will be the same error.
No, I didn't broke anything else, the wrap is there, just doesn't go around the products, they are like floating, maybe the stylesheet? maybe padding? maybe margins? I dunno... but as I said, I'm not going to use it, so I'm not going there. :lookaroun
-
Re: Tabbed Products ''LITE'' version - Delimiter based
OK, I changed the Z-index and same result,,,:schmoll:
doh,,,forget my last comment, I forgot I added the css snippit to my sytlesheet_new,,,doh...
As for the button, I prefer the layout as it is seen unless you feel it would be better placed elsewhere.
What did you think of the site, products have yet to be completed as the whole store is being redone for many reasons.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by IntelCos
As for the button, I prefer the layout as it is seen unless you feel it would be better placed elsewhere.
So the flyout is working now? :) good
Also, did my comment about using it on a multilingual site make sense? all the names can be edited to any language so it can be in anywhere from Albanian to Zimba.
As far as the layout, currently where you have your button, that is where the Quantity Discount table would go. So although you aren't using it, someone else could be and that large image link would probably shift the qty discount table down farther. Which isn't a big deal, but there is some extra room above or below the add to cart button on most sites anyway, especially in the way it was coded for the tabs, so right above the add to cart button would be my first inclined place to put it.
But then again, if you use the text link, it would make more sense to put it somewhere else. So its really a customization choice you can exercise for your own personal site. Im just curious to see if most people use the text link or large link image for that link and where they would like to see it by default.
Quote:
Originally Posted by IntelCos
What did you think of the site, products have yet to be completed as the whole store is being redone for many reasons.
The current tabs you have (version2) overlap the right column in Opera and FF. Not sure why it's doing that for you, never had that problem for me. But it looks like you may have added some padding somewhere to fix the background of the left tab image on a non-white background because the border underneath each tab is slightly off. Things like that are why I switched to different tab code, there was too much bloat and confusion in the old tabs. So If we get this all figured out for you, I would recommend switching to version3.
Also, did you get your Cross Sell stuff working on your page? If not, send me your modified tpl and I'll try to help with both that and the ask a question image link placement.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
I'll try your version 3 again as I made some changes to placement as well. Let you know what happens there in a bit
-
Re: Tabbed Products ''LITE'' version - Delimiter based
OK, tried v3 and the tabs fail to work with massive java errors in both IE and Foxy.
No clue as to what gives with this....
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
As far as the layout, currently where you have your button, that is where the Quantity Discount table would go. So although you aren't using it, someone else could be and that large image link would probably shift the qty discount table down farther. Which isn't a big deal, but there is some extra room above or below the add to cart button on most sites anyway, especially in the way it was coded for the tabs, so right above the add to cart button would be my first inclined place to put it.
I will take this opportunity to suggest to put it as high as you can on the product page. It will be more noticeable for shoppers there, specially if you have lots of description and/or attributes/options. Also an image button will be better to be noticed, since people don't read... And if you think, when listing, that a product might bring questions or doubts to the buyer, put a comment as well on the description of the AaQ button.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by ideasgirl
I will take this opportunity to suggest to put it as high as you can on the product page. It will be more noticeable for shoppers there, specially if you have lots of description and/or attributes/options. Also an image button will be better to be noticed, since people don't read... And if you think, when listing, that a product might bring questions or doubts to the buyer, put a comment as well on the description of the AaQ button.
Well I wouldnt be changing the functionality of the AaQ contrib. just the placement of the default link. The link defaults to text then so I will leave it as text, it will be up to you to move it where you like it, but here is a decent place for it:
http://www.unbannable.com/zen/index....&products_id=2
But after seeing how easy it is to place the link, I think I just might leave it off. Unless I made a full tab out of it that has the actual form on the tab.
Also, based on the Ask A Question read me, there is a major fault in the author's recommended positioning if you do not have Stock, model, manufacturer, or weight enabled, it will not show the link. So I made the link more modular like the rest of the contribs:
Code:
<!--bof Ask A Question -->
<span id="productQuestions" class="biggerText">
<strong><?php echo '<a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id=' . $_GET['products_id']) . '">Ask a Question about this product</a>'; ?></strong>
</span>
<!--eof Ask A Question -->
Thats how I have it on my demo link above. This would make it easier for you to move it around based on whether or not you have a text link or image link, you coudl customize where you want it.
IntelCos, please send me your v3 tpl file that you've modified to my PM so i can see what is possible wrong. You shouldn't be getting any javascript errors unless parts of your page aren't loading.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
The link defaults to text then so I will leave it as text, it will be up to you to move it where you like it, but here is a decent place for it
Look like a good place for it.
Quote:
But after seeing how easy it is to place the link, I think I just might leave it off. Unless I made a full tab out of it that has the actual form on the tab.
Right! Totally agree.
Quote:
Thats how I have it on my demo link above.
Your page is showing an error and is not showing up correctly.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by ideasgirl
Your page is showing an error and is not showing up correctly.
hmm? oh maybe i was in the middle of editing something when u checked.. should be fine now. Unless you are referring to the javascript errors.. thats because im also working on a new contrib.. those errors aren't related to the tabs.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
using the v2 tpl display at moment, all I did was to try your v3 tpl and thats where the issues come into play.
x-sell tab shows, but no products showing, v2 x-sell works as you can see with products listed
as well, ask a question disappears with v3
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Unless you are referring to the javascript errors.. thats because im also working on a new contrib.. those errors aren't related to the tabs.
Yes, apparently that new contribution is affecting this item (continues there).
Quote:
as well, ask a question disappears with v3
Did you add the code to the template file?
-
Re: Tabbed Products ''LITE'' version - Delimiter based
OK just installed v3.1 Full release, and it fails to work at all. Showing a java script error and the areas where the tabs originally were (I was using v2.7 before) is simply blank. I haven't read all 13+ pages of info in this thread, suffice to say it was working fine at 2.7 ... installing v3.1 broke it, nothing else changed.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Showing a java script error and the areas where the tabs originally were (I was using v2.7 before) is simply blank.
Did you uploaded the jscript file?
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by Pauls
OK just installed v3.1 Full release, and it fails to work at all. Showing a java script error and the areas where the tabs originally were (I was using v2.7 before) is simply blank. I haven't read all 13+ pages of info in this thread, suffice to say it was working fine at 2.7 ... installing v3.1 broke it, nothing else changed.
If you don't have crosssell, you need to edit the TPL file and set those 2 settings to false. Got a link? I forgot to set these to false by default and it would give those similar results.
UPDATE
I'm working on a quick update:
New Features:
- IgnoreGlobals : If you have a product that you don't want the global settings to affect, you can add this tag to your Product Description and it will ignore the Global settings for the tabs so you can manage them separately.
- a few template shifts that seem to make more sense (thanks ideasgirl, intecos, and others)
- Cleaned up a lot of the excess comments. I think all the commenting broke the code up too much explaining stuff that most users wont need to know. So I left only the important details and tried to keep the tabs section of the code more together so people can modify things around it without breaking them
- Updated the Readme to explain a bit more about modifying the tpl file.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
If you don't have crosssell, you need to edit the TPL file and set those 2 settings to false. Got a link? I forgot to set these to false by default and it would give those similar results.
Yep that fixed it, thanks. I agree that should be set to false by default though.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by Pauls
Yep that fixed it, thanks. I agree that should be set to false by default though.
Heh, well all you had to do was read 27 pages and you would have known that :P
But yea I will be sure (hopefully) to remember to disable it for the next version.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by qhome
UPDATE
I'm working on a quick update
Q- Any timeline for the update? I'm configuring a new shop today and have TPL v3.1 (July 21 release) ready to upload. But I will wait if a new version is eminent.
Woody
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Trying to get back in the loop on this after a few days of not being able to work on it. I installed the latest version, and strange things happened - the tabbed area went super wide and pushed everything over, but more importantly, my cross sells weren't showing up (yes, I had that set to true). So I kept the latest javascript and reverted to my previous product info page. I guess that's okay???
I would LOVE to have the "MainImageOnTabs" set to true, because it lines things up so nicely, but when I try that, I totally lose my quantity discount box. It is GONE from that page. I had moved it up, wonder if I did something improper.
What I would still dearly love is for the quantity discount box to be on its own separate tab..
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
What I would still dearly love is for the quantity discount box to be on its own separate tab..
I don't suggest that, don't hide the prices from the buyer. The additional tabs are great but for "additional stuff". Like more information, other related items, other images, but NOT for information necessary for a buyer to make the decision of buying the item/service.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by ideasgirl
I don't suggest that, don't hide the prices from the buyer. The additional tabs are great but for "additional stuff". Like more information, other related items, other images, but NOT for information necessary for a buyer to make the decision of buying the item/service.
I guess your right, I DO see that point (after all, I'm the one that said I didn't understand why the default product page had the quantity discount box at the bottom, when that's the first thing people want to see).
But I DON'T like how it looks particularly on my pages, after I moved it.
Say... how did you get a background image in your quantity discount box?
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Here is an small update.. a few new features.. a little reorganization.
- Added ability to ignore the globals for a certain product by adding the <!--@IgnoreGlobals@--> tag. This will allow you to set a product with no tabs or with a custom tab setup that you can add manually.
- Shifted the tables with the add to cart button and quantity discount table to make it look better. (thanks ideasgirl, IntelCos, and others)
- fixed a small bug related to having the add to cart tab by itself.
- added a line of logic to the javascript file to adapt to the IgnoreGlobals feature to prevent javascript errors
- Moved Product Details under the Price. This seems a good out of the way, yet informative place for this info.
- Cleaned up a lot of comments.
- Revamped the readme file.
- MADE SURE THAT CROSSSELL WAS SET TO FALSE :P
I've posted this version in the Downloads area. v3.11
For those having problems, try this one. Make sure you copy over all the files to the right spot and rename the YOUR_TEMPLATE folder to the template you are using. For those not having problems, I've only updated the tpl file and the javascript file.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
I loaded that last version, all works for me. But qhome.... PLEASE help me. I simply have to have the quantity discount box up at the top of the page, ideally under the model # and shipping weight. Take a look at http://www.photoimprints.com/custom-magnet-p-27.html. The discount box HAS to be viewable when they go to the page. Because I have a long list of options & attributes, it's down at the bottom. Can you help me move it up under the weight?
Thank you!
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Styledata,
Just a suggestion... why don't you put those options as dropdowns? This will make your page shorter and less confusing. Also I see that you have "please choose" like an option". :wacko:
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by styledata
I loaded that last version, all works for me. But qhome.... PLEASE help me. I simply have to have the quantity discount box up at the top of the page, ideally under the model # and shipping weight. Take a look at
http://www.photoimprints.com/custom-magnet-p-27.html. The discount box HAS to be viewable when they go to the page. Because I have a long list of options & attributes, it's down at the bottom. Can you help me move it up under the weight?
Thank you!
Quick fix. check your PM.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
This is totally off topic for this thread
Quote:
"please choose" like an option
but, adding that already chosen forces a choice in those sections.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
I loaded the new file you PM'd me (you're quick!), It works, but... now all info displays in every tab, instead of just the tab info. Take a look: http://www.photoimprints.com/custom-magnet-p-27.html
Thanks,
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by Kim
This is totally off topic for this thread but, adding that already chosen forces a choice in those sections.
Could just make a choice for none then. Also you seem to have a lot of radio buttons with no text on them under each section.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Correction. actually it's just the attributes that show on every tab. Not a huge deal, but it would be nice if they only showed on the first tab (which I need to rename from Descripton to "Order" or "Add to Cart")
Thanks
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by styledata
-EDIT- Ohh its normal.
You dont have the Add to cart button inside the tabs. so the rest of the stuff is just there under the tabs as normal. be sure to add the <!--#AddToCart#--> tag so it all appears on the tabs.
One thing i should mention... as it is pretty important for everyone to know.. The tags ARE case sensitive. be sure to type them exactly as I put them in the readme. I tried once to make them case insensitive but somehow it applied itself to the main variable and every thing in the product description became lower case. I will try that again... someday :P
-
Re: Tabbed Products ''LITE'' version - Delimiter based
I just loaded the file you sent. No changes. Honest!
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by styledata
I just loaded the file you sent. No changes. Honest!
read my edits above.. Also edit the tpl file i gave you and remove the "<br />" in the Additional Images Tab name so it is one line like the rest of your tabs.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by ideasgirl
Styledata,
Just a suggestion... why don't you put those options as dropdowns? This will make your page shorter and less confusing. Also I see that you have "please choose" like an option". :wacko:
I thought I already sent this response, but I don't see it. Anyhow... drops downs lose whatever you selected if you miss an option and are prompted to go back. Ajeh suggested I use radio buttons, that they are 'smarter'. And indeed, they hold whatever you select.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by styledata
Looks good! Glad I could help! Enjoy! :)
Quote:
Originally Posted by styledata
I thought I already sent this response, but I don't see it. Anyhow... drops downs lose whatever you selected if you miss an option and are prompted to go back. Ajeh suggested I use radio buttons, that they are 'smarter'. And indeed, they hold whatever you select.
Maybe you need 'smarter' customers :P .. Actually that's a bit of an oxymoron... at least with a good chunk of my customers... :/
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
adding that already chosen forces a choice in those sections
Yes, as it will be with dropdowns as well.
Quote:
Anyhow... drops downs lose whatever you selected if you miss an option and are prompted to go back.
No, it doesn't. I just did a test with my dropdowns. And I can browse all over the store and if I go to the item again (after putting it on the shopping cart of course), the selections are there. Even if you refresh the page, they keep on selected.
Unless you mean that if you missed a selection you will have to select that option and put it on the cart again (it's the same with radio buttons). IMHO that's better since I will have to only delete the other item from my shopping cart, but I will have a better view of my item options. And having the experience on your market and product, I believe is less confusing.
***OK... I see now***
How did you create to have a "not a valid selection" when adding to the cart? :blink: Please PM me so we don't hijack ghome's thread.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Well I guess my last version update must have been perfect! :P Nobody posting any problems. :P
We seem to have gotten styledata's problem fixed, now I think IntelCos is the only one left having trouble. Hopefully the latest version fixes him up too. Then I can look into moving on to more features.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Well I guess my last version update must have been perfect! Nobody posting any problems.
:wink2:
Quote:
Then I can look into moving on to more features.
Before doing that I will dare to ask to create this feature for free shipping item type (AKA downloadables). :lookaroun
Pleasssssse? :blush:
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by ideasgirl
Before doing that I will dare to ask to create this feature for free shipping item type (AKA downloadables).
Can you clarify? I have yet to install TPL3.1 but the previous version works fine for my downloadable products.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Hey Q,
I found a little bug sir.
If you just drop your mod in without making any changes or adding anything to the item description...............
wait for it
You get an extra thin horizontal line in your product info pages, near the bottom.
Shocking I know!
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Can you clarify? I have yet to install TPL3.1 but the previous version works fine for my downloadable products.
I'm talking about tpl_product_free_shipping_info_display.php
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by Reesy
Hey Q,
I found a little bug sir.
If you just drop your mod in without making any changes or adding anything to the item description...............
wait for it
You get an extra thin horizontal line in your product info pages, near the bottom.
Shocking I know!
Hmm I thought i fixed that in 3.1Final and 3.11.. you have the final released yesterday right?
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by Woodymon
Can you clarify? I have yet to install TPL3.1 but the previous version works fine for my downloadable products.
ya i think woody means this : http://www.unbannable.com/zen/index....&products_id=3
Ive never even tried tpl_product_free_shipping_info_display.php
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Ive never even tried tpl_product_free_shipping_info_display.php
Quote:
Originally Posted by Alej
The difference between Product General and Product Free Shipping is that the Product Free Shipping configures the product for Always Free Shipping by default ...
The product_free_shipping_info page displays the Free shipping icon and the New, Features and All listing shows the Free Shipping icon ...
There are no physical database differences to Product Free Shipping ... this is all controlled by the products_type field in the products table which is set to 5 for Product Free Shipping ...
I have my downloadable products category set as FSP.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by ideasgirl
I have my downloadable products category set as FSP.
Well if its a completely new product type then that will have to wait. I need to do the music one still for BlessIsacola and I will be gone on vacation for 9 days starting in a couple hours. so hopefully you have no major problems with the contrib. :)
Ill see you all in the future!
-
Re: Tabbed Products ''LITE'' version - Delimiter based
My "free shipping" downloadable eBooks and eDocs display fine with TabbedLite installed (as Q shows on his demo).
I am using same product type, "Product - General", for all my products including eBooks and eDocs.
(Among other things the "Product - Free Shipping" product type enables "Always Free Shipping" radio button option whan adding a new product).
For this to work "Product - Free Shipping" must be set as as subtype of "Product - General". And this is how Zen Cart should be setup by default.
To check see Admin > Catalog > Product Types > "Product - Free Shipping"
I'm not sure what "FSP" is.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
I'm not sure what "FSP" is.
Free Shipping Product.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
This may be off topic...
For those fond of the Ask A Question (AAQ) mod, there was a new version uploaded to ZC downloads area on July 11 ("Other Modules" category). It is more efficiently designed mod than previous (no need for additional DB entries, etc).
But as such it works a bit differently (that is the code entered into the product_info template file is different from the previous version). So this maybe throwing some people off on making previous version of AAQ work with latest Tabbed Lite, like it did me, until I found out about the new AAQ version.
Also for a patch see the thread at http://www.zen-cart.com/forum/showthread.php?p=237138
Also note the new version AAQ does not come with the graphic button the previous version did. Unfortunatele the old version is no longer available on ZC downloads. So I will see if I can scavenge the button and provide to Scott to update the code to render a button instead of text.
Back to your regular TabbedLite programming...
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by Woodymon
This may be off topic...
For those fond of the Ask A Question (AAQ) mod, there was a new version uploaded to ZC downloads area on July 11 ("Other Modules" category). It is more efficiently designed mod than previous (no need for additional DB entries, etc).
But as such it works a bit differently (that is the code entered into the product_info template file is different from the previous version). So this maybe throwing some people off on making previous version of AAQ work with latest Tabbed Lite, like it did me, until I found out about the new AAQ version.
Also for a patch see the thread at
http://www.zen-cart.com/forum/showthread.php?p=237138
Also note the new version AAQ does not come with the graphic button the previous version did. Unfortunatele the old version is no longer available on ZC downloads. So I will see if I can scavenge the button and provide to Scott to update the code to render a button instead of text.
Back to your regular TabbedLite programming...
Aha that would explain a lot.. as it seemed so easy for me to add it but thats cuz i was using the simple link version. Never tried the other one. Good find Woody!
-
Re: Tabbed Products ''LITE'' version - Delimiter based
I have installed TPL3.11 FINAL on fresh install Zen Cart 1.3.0.2
Everything good. So doing some basic experimenting.
On my test product I have product description entered normal Zen Cart way, no tags.
I have not changed any TPL settings at top of template file.
So I have:
$bGblAddToCart = true;
One single tab appears with only theAdd To Cart button. However the Product Details (e.g. model name) does not appear on the tab. Rather it appears above the tabs. I understood this version would by default place Product Details on same tab as the Add To Cart button?
Or maybe I am missing understanding how the Globals are suppose to work and I have to manually add a tag?
Woody
Woody
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
I understood this version would by default place Product Details on same tab as the Add To Cart button?
No, they should appear below the product name and price. It looks better, and makes more sense. :yes:
Quote:
Originally Posted by qhome
Here is an small update.. a few new features.. a little reorganization.
* Added ability to ignore the globals for a certain product by adding the <!--@IgnoreGlobals@--> tag. This will allow you to set a product with no tabs or with a custom tab setup that you can add manually.
* Shifted the tables with the add to cart button and quantity discount table to make it look better. (thanks ideasgirl, IntelCos, and others)
* fixed a small bug related to having the add to cart tab by itself.
* added a line of logic to the javascript file to adapt to the IgnoreGlobals feature to prevent javascript errors
* Moved Product Details under the Price. This seems a good out of the way, yet informative place for this info.
* Cleaned up a lot of comments.
* Revamped the readme file.
* MADE SURE THAT CROSSSELL WAS SET TO FALSE
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by ideasgirl
No, they should appear below the product name and price. It looks better, and makes more sense. :yes:
Of course this is a subjective opinion. ;-)
A. I guess my inquiry below is misunderstood. What I was trying to say is I thought the product name and price, product details and the the add to cart were all suppose to appear on one tab if the following was set to true:
Quote:
$bGblMainImageOnTabs = true; // adds Main image to tabs only if you have at least one custom tab
$bGblAddToCart = true; // adds Add to Cart, Product Details, Attribute Options, and Qty Discount to a tab
However this does not appear to consistently apply?
I have two test products.
1. Product one description in admin shows:
<!--%Product Description%-->
blah, blah
The actual product info page shows two tabs with everything correctly on the "Product Description" tab. (but shows no products on the "We Also Recommend" tab when it should show one product).
2. Product two description in admin has no tags. Just a short text string.
The actual product info page shows two tabs. The first tab labeled "add to cart" shows the add to cart box but nothing else.
The container for the second tab "We Also Recommend" is empty, but should display one product.
I understood the Global settings above would be in effect and place the product name and price, product details and product description on the first tab. But this is not the case?
I do see in the comments the "adds Main image to tabs only if you have at least one custom tab" so since I do not have a custom tab the product image should stays above the tabs, as it does. But I do not understand why the other items do not render on the tab, with global setting as it is?
So it appears that I have to add the <!--%Product Description%--> in every products description. Again I thought I would not need to do this with the new Global feature.
B. And here are my cross sell settings:
Quote:
$bCrossSell_Exists = true; // if you have cross sell contrib installed, this enables the code to check for it.
$bGblCrossSell_Tab = true; // adds Cross Sell as its own tab only if the above is true.
So unsure why cross sell products are not showing up. I do not have images uploaded for either of the two products. Could this be an issue? I would have thought at least "No picture available" along with product title would have displayed on the Cross Sell tab.
I admit I am confused.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by woodymon
Of course this is a subjective opinion. ;-)
Right!
Quote:
Originally Posted by woodymon
I thought the product name and price, product details and the the add to cart were all suppose to appear on one tab if the following was set to true
Not if you don't have a custom tab created (that changed on previous version/update). See note on comments:
PHP Code:
$bGblMainImageOnTabs = false; // adds Main image to tabs only if you have at least one custom tab
Quote:
Originally Posted by woodymon
I do see in the comments the "adds Main image to tabs only if you have at least one custom tab" so since I do not have a custom tab the product image should stays above the tabs, as it does. But I do not understand why the other items do not render on the tab, with global setting as it is?
Ok...I left my previous answer for others benefit. What you mean? Do you mean you have custom tabs and they aren't showing?
Quote:
Originally Posted by woodymon
So it appears that I have to add the <!--%Product Description%--> in every products description. Again I thought I would not need to do this with the new Global feature.
Yes, because "Product Description" is a custom tab.
Quote:
Originally Posted by woodymon
So unsure why cross sell products are not showing up.
I don't know why they aren't working for you, they are working on my side. I made several tests (on, off, combined) and I'm not having problems with tabs content.
Quote:
Originally Posted by woodymon
I admit I am confused.
No wonder! This is a false comment:
PHP Code:
$bGblAddToCart = true; // adds Add to Cart, Product Details, Attribute Options, and Qty Discount to a tab
Should say:
PHP Code:
$bGblAddToCart = true; // adds Add to Cart, Attribute Options and Qty Discount to a tab
-
Re: Tabbed Products ''LITE'' version - Delimiter based
I love this contribution, nice work! I found it very easy to move the Add to Cart button above the tabs so it always displays regardless of what tab the viewer is on.
I use basic CSS tabs (no background image, which I removed in stylesheet) with 3px space between them to separate them and have them change color in HOVER.
Thanks so much,
Pic
-
Re: Tabbed Products ''LITE'' version - Delimiter based
I am trying to do what you just said you did, can you explain on this more, i don't want my add to cart at the bottom of the page.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
This isn't road tested in a production web store but here is what I did. Let us know if you find there are problems with these edits.
In tpl_product_info_display.php
Make: bGblMainImageOnTabs = False;
Make: bGblAddToCart = False;
find:
<!--bof Add to Cart Box -->
copy all the lines down to
<!-- eof Add to Cart Box -->
copy the block of code up to line 107 under:
<!-- eof Main Product Image -->
I wrapped it in a DIV like:
<div>
<!--bof Add to Cart Box -->
copy all the lines down to
<!-- eof Add to Cart Box -->
</div> <br style="clear:both;" />
and threw in a BReak with clear:both after the DIV (could use Zen Carts <BR class="clearBoth" />)
So now it's sandwiched between:
<!-- eof Main Product Image -->
ADD TO CART CODE
<!-- bof Product Price block -->
I wanted it over the PRICE block and over the Product Name, so I move these also.
I took the
<!-- bof Product Price block --> (get it all, its wrapped in a H2 tag)
and gave it some new style:
<h2 style="float:right; margin:0px 35px 10px 0px:">
and put the
<!-- bof Product Name --> block under it because I wanted the Price to be under the Add to Cart button
Then open the stylesheet_tablitev3_silver.css file and find the:
#slidetabsmenu a {
background-color :#yourcolor;
#slidetabsmenu a span {
background-color :#yourcolor;
and remove the background:url style (i.e. image) and add background-color:#your color
then I added a different background-color to the:
#slidetabsmenu a:hover span {
background-color :#yourcolor;
#slidetabsmenu a:hover {
background-color :#yourcolor;
You will get this:
http://comedyspeak.com/store/index.p...&products_id=1
If you can check it on a Mac in Safari and let me know how it looks.
good Luck,
Pic
-
Re: Tabbed Products ''LITE'' version - Delimiter based
thanks for the good info, i will try it and see what happens. my luck, it won't work right away, i will accutally have to understand it before it works:schmoll:
-
Re: Tabbed Products ''LITE'' version - Delimiter based
man, you kind of lost me, i sent you a pm
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Ok, i took all what you said in the 1st part and added it up to line 7 and it worked, but just to let you know
<!--bof Add to Cart Box -->
This comes up 3 times in the code, but i took it as you ment the 1st one. I didn't do any of the other stuff, but it seems to have worked, so I am guessing if i want to take add to cart off the bottom of the page, i could just delete this code that i just copied and pasted, right?
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by ideasgirl
Not if you don't have a custom tab created (that changed on previous version/update). See note on comments:
Quote:
$bGblMainImageOnTabs = false; // adds Main image to tabs only if you have at least one custom tab
Still missing communicating my primary point, which is...
The comment "// adds Main image to tabs only if you have at least one custom tab" refers only to the need for a custom tab if want to display the "main image" on a tab. It does not state that I need the custom tab to display any other items on the tab.
So the question remains why the other items I previously listed are not displaying on a tab when a Global is set to true (when not employing a custom tab).
Or is it required that one custom tab be employed for ALL items to appear on the tab, even if global is set to true or not.
This would seem to defeat the primary purpose of the global? (that is, a tag need not be assigned to each and every product description to employ tabs).
Quote:
Originally Posted by ideasgirl
I don't know why they aren't working for you, they are working on my side. I made several tests (on, off, combined) and I'm not having problems with tabs content.
Thanks. I should add that If I set to false the two Cross Sell config settings, the Cross Sell products display correctly below the tab container.
I will await response from Q.
Quote:
Originally Posted by ideasgirl
No wonder! This is a false comment:
Quote:
$bGblAddToCart = true; // adds Add to Cart, Product Details, Attribute Options, and Qty Discount to a tab
Yes indeed, that is a point of confusion for me.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Here is a link to the files I edited to get the 'Add to Cart' above the tabs:
http://cosmicradiation.com/files/tabslitehack.zip
-
Re: Tabbed Products ''LITE'' version - Delimiter based
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Hi Q,
Your right (above), I hadnt upgraded to 3.11, now that line has gone.
I have made a few other changes (in addition to adding the admin buttons as previously mentioned) by removing the hard coded English in the tabs to defines.
As this is your baby, I dont want to spoil all the hard work you have done, would you like me to email you what ive done?
Cheers
James
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Few issues I've noticed...
One was that if you created a product but do not use tabs yet globals set on a java error is generated. Once you inset at least one tab, then the java error is gone.
Second, trying to set the borders to use images and cannot seem to get this to work.
example border-top-image:url(../images/bordertop.gif); which is standard css entry and fails to show the image. Yet if I set the border to a pixel def only a border works. I tried to set the border as well to "wave" to see and that fails as well. Dots or solid lines work...So not sure whats up there either or what I'm doing wrong???
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Can anyone please tell me how to rearrange the code so as to move the tabs to the top of the product description like found here? I would really appreciate your help.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Set your $bGblMainImageOnTabs = true
-
Re: Tabbed Products ''LITE'' version - Delimiter based
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Hi bhuntsman,
Where can I see an example of where you are using them? Are you using the "book product type" for your listings?
Also same issue as woody.... "adds Main image to tabs only if you have at least one custom tab" did you set one?
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by ideasgirl
Also same issue as woody.... "adds Main image to tabs only if you have at least one custom tab" did you set one?
Ideasgirl-
THis is not my issue. You should not have to set a custom tag for the globals to kick in, EXCEPT if you want the main image to appear on a tab. Please reread my previous posts for clarification. I think we should wait for Q the expert to chime in on these issues. Thanks.
Woody
-
Re: Tabbed Products ''LITE'' version - Delimiter based
qhome,
is it possible to use my own image for the tabs with the label already on it? For example, i will have an image with the label Product Details so it won't have to be done automatically by the script.
if this is possible, how do i get it to work? as far as i see it, the labels are generated by the <!--% %--> script. Do i just change this to the destination of the image like what you do with the sideboxes header?
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
THis is not my issue.
Sorry.
Quote:
I think we should wait for Q the expert to chime in on these issues.
He's the expert indeed, but I only help when I know what I'm talking about. There aren't issues here, only people asking questions I know the answer. There are 2 options, try it or wait. I'm not giving wrong information.
If you read the script history you will see (your point):
7/17/06 :: fixed and merged Add to cart, Attribute Options, Product details (Stock, Model, etc), and Qty Discounts. Now all on same tab.
but.....then (my point):
7/26/06 :: Moved Product Details under the Price. This seems a good out of the way, yet informative place for this info.
Quote:
You should not have to set a custom tag for the globals to kick in
Yes, but that's only for hardcode tabs (Add to Cart, Additional Images, Customers Also Purchased, XSell-We Also Recommend) and now they will only appear (doesn't apply to add to cart) if they have something to show.
Quote:
Originally Posted by woodymon
The comment "// adds Main image to tabs only if you have at least one custom tab" refers only to the need for a custom tab if want to display the "main image" on a tab. It does not state that I need the custom tab to display any other items on the tab.
What other items you are refering to?
Quote:
EXCEPT if you want the main image to appear on a tab.
So.... we agree on this one right? That means I'm not giving wrong information.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by ideasgirl
If you read the script history you will see (your point):
7/17/06 :: fixed and merged Add to cart, Attribute Options, Product details (Stock, Model, etc), and Qty Discounts. Now all on same tab.
but.....then (my point):
7/26/06 :: Moved Product Details under the Price. This seems a good out of the way, yet informative place for this info.
The above items have no relevance on the issues being discussed now.
Quote:
Originally Posted by ideasgirl
Yes, but that's only for hardcode tabs.
Where is this documented? That is, why globals will not work for the Main Image and other items, when a custom tag is not added. What is the logic behind this?
Quote:
Originally Posted by ideasgirl
What other items you are refering to?
Any. That is items that would normally appear on the same tab, e.g. price, attributes, Add To Cart, product details and qty discounts.
Quote:
Originally Posted by ideasgirl
So.... we agree on this one right?
It's not a matter of "agreeing", it's a mater of understanding. And I don't understand why the globals are not working as they should be.
Again I will wait for Q to clarify. No need to respond further. Thanks.
-
Tabbed Products ''LITE'' problems
I originally posted this in the wrong forum category, so I'm now posting it here since this seems to be the appropriate thread for my problem.
I would really appreciate if one of the ZC gurus (or anyone with an answer) could offer a solution to my problem. I'm in the final stages of developing a new site utilizing the future_zen template (modified) + tabbed lite + cross sell + customers also purchased. I finally (after many hours of frustration and fiddling) got the layout to look the way I wanted http://www.learningbydvd.com/newstor...roducts_id=918, but the "We Also Recommend" and "Customers Also Purchased" tabs are blank and they should each show products on this page...it's useless having the tabs if nothing will show up when clicked on.
I'm trying to get my new site "live" by this weekend and could use some assistance if anyone is willing. I'm sure I've over looked something in the code, but I just can't seem to sort it out to get something to show up under those two tabs.
My tpl_product_info_display.php is too large to post here, but I would be happy to e-mail it to anyone willing to look it over and give me some feedback.
Thanks in advance for everyone's time in reading this post.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
I don't know if I can help you or not, but I had a similar problem. With the following set:
$bGblCustomersAlsoPurchased = true;
$bGblCrossSell_Tab = true;
I got NEITHER actually showing up on those tabs.
Since I am only using the crosssell contrib, and not needing Customers Also Purchased products, I set:
$bGblCustomersAlsoPurchased = false;
and then my crosssell products showed up on the We Also Recommend tab.
I don't know if this is a tabbed products bug or what, but since I don't need both tabs, what I did worked for me.
Try disabling one, then the other, and see what you get. Let us know what happens.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
styledata...I did what you suggested and I now see recommended products (i.e. crossSell), but they are showing up at the bottom of the product info tab page and not at all on the "We Also Recommend" tab page...is there any chance you could post your tpl_product_info_display.php code for the section that deals with your tabs (and in particular your "Recommended Accessories" tab)...thank you for your help thus far...I hope I can get this issue resolved soon, before I go crazy!
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by bhuntsman
styledata...I did what you suggested and I now see recommended products (i.e. crossSell), but they are showing up at the bottom of the product info tab page and not at all on the "We Also Recommend" tab page...
It is my experience you have to insert a minimum of one tag in your product description for the "globals" to work (or for instance, to make the x-sell items display in the "We Also Recommend" tab and not below the tabs as you are experincing.
The mod works great but some logic issues remain with default globals and requiring one soft tag (as I reported recently).
I do not understand the reasoning (logic) behind this requirement but suspecting there is some good reason that qhome configured the mod to behave this way ;-)
Woody
-
Re: Tabbed Products ''LITE'' version - Delimiter based
here is my config setting. Pay attention also to what woodyman said about setting at least one tag. Could that be it?
$bGblMainImageOnTabs = false;
$bGblAddToCart = false;
$bGblAdditionalImages = false;
$bGblProductDetails = false;
$bGblCustomersAlsoPurchased = false;
$bGblCrossSell_Tab = true;
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
styledata...I did what you suggested and I now see recommended products (i.e. crossSell), but they are showing up at the bottom of the product info tab page and not at all on the "We Also Recommend" tab page...is there any chance you could post your tpl_product_info_display.php code for the section that deals with your tabs
PHP Code:
//############ GLOBALS ##############
$bGblMainImageOnTabs = false;
$bGblAddToCart = true;
$bGblAdditionalImages = true;
$bGblCustomersAlsoPurchased = true;
$bCrossSell_Exists = true;
$bGblCrossSell_Tab = true;
//########################################
In case you have the last version these are the settings to allow the "We Also Recomment" on a tab.
Quote:
It is my experience you have to insert a minimum of one tag in your product description for the "globals" to work (or for instance, to make the x-sell items display in the "We Also Recommend" tab and not below the tabs as you are experincing.
In my experience this is only need for the image setting. They all will appear automatically if you have any thing to show. For example, the tab for additional images will appear only if you have additional images to show. If you set bGlCrossSell_Tab = false, indicates you have cross sell but don't want the tab (as your previous post).
Also... be sure you have the latest version for these settings.
Also remember that "XSell" is not the same that "Also Purchased", the 1st is based on YOUR recommendations as the store owner, and the 2nd. one is based on purchase behavior of your customers.
Have fun!
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Thanks to everyone for their suggestions...unfortunately, none have solved my problem...I guess I just won't have the tabs on my site...I've lost 3 days of valuable time trying to solve this very frustrating problem and to no avail...arrrrrrg!!! I really need to get my site live. I really, really liked the look of the layout the way I had it...but, I can't have tabs if when clicked there's nothing.
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by styledata
here is my config setting. Pay attention also to what woodyman said about setting at least one tag. Could that be it?
$bGblMainImageOnTabs = false;
$bGblAddToCart = false;
$bGblAdditionalImages = false;
$bGblProductDetails = false;
$bGblCustomersAlsoPurchased = false;
$bGblCrossSell_Tab = true;
Which version of Tabbed Products Lite do you have installed?
If latest version you should see:
Quote:
* @version $Id: tpl_product_info_display.php 3435 2006-04-14 03:42:46Z ajeh $
*
* TABBED PRODUCTS LITE MODIFICATIONS - QHOME - 7/26/2006
*/
//require(DIR_WS_MODULES . '/debug_blocks/product_info_prices.php');
//-=-=-=- BOF: Tabbed Products Config -=-=-=-
//############ GLOBALS ##############
$bGblMainImageOnTabs = true; // adds Main image to tabs only if you have at least one custom tab
$bGblAddToCart = true; // adds Add to Cart, Product Details, Attribute Options, and Qty Discount to a tab
$bGblAdditionalImages = true; // adds Additional Images on its own tab
$bGblCustomersAlsoPurchased = true; // adds Customers Also Purchased as its own tab
//########### CROSS-SELL ############
//=-=-= IMPORTANT!!!! IF YOU DON'T HAVE CROSS SELL CONTRIB, DON'T ENABLE THIS OR YOU WILL GET ERRORS!!!! =-=-=
$bCrossSell_Exists = true; // if you have cross sell contrib installed, this enables the code to check for it.
$bGblCrossSell_Tab = true; // adds Cross Sell as its own tab only if the above is true.
//############ HEADERS ##############
$bShowHeaders = true; // Turns the headers underneath each tab on. Headers bear the tab name for a nice look.
$bShowHeadersNoJavascript = true; // If javascript is disabled, do you want to show headers to help separate the sections
//########### TAB NAMES #############
$addtocart_tab_name = 'Add to Cart'; // if using this tab, set the tab title for the Add To Cart Tab
$add_images_tab_name = 'Additional Images'; // if using this tab, set the tab title for the Additional Images Tab
$cust_also_purchased_tab_name = 'Customers Also Purchased'; // if using this tab, set the tab title for the Cust Also Purchased Tab
$cross_sell_tab_name = 'We Also Recommend'; // if using this tab, set the tab title for the CrossSell Tab
//########################################
So in your tpl_product_info_display.php you should have:
$bCrossSell_Exists = true;
$bGblCrossSell_Tab = true;
Once the above is set insert a soft tag into your product description and see what happens to see to your "We Also Recommend" (xsell) tab.
Of course you need to have products assigned to that product within xsell admin for any to show up, on the tabs or below the tabs ;-)
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Finally, after 3 long days of frustration, hair pulling, etc., my site's product page layout not only looks the way I want it to, but all the tabs also work. Here's an example page http://www.learningbydvd.com/newstor...roducts_id=918. I would appreciate any comments, feedback or criticism.
And to everyone who contributed their thoughts and suggestions, I give you my thanks. Take care everyone. Long live ZenCart!!!
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by bhuntsman
Finally, after 3 long days of frustration, hair pulling, etc., my site's product page layout not only looks the way I want it to, but all the tabs also work. Here's an example page
http://www.learningbydvd.com/newstor...roducts_id=918. I would appreciate any comments, feedback or criticism.
And to everyone who contributed their thoughts and suggestions, I give you my thanks. Take care everyone. Long live ZenCart!!!
Congratulations! Looking good. Very cool header.
BTW could you post your implemented solution(s) so others here could learn from your trials?
Some observations:
The Add to Cart box appears both above and below tabs.
Also the title cap for x-sell tab shows the title text wrapping to second line off of the bar. When implementing the Future Zen template with Tabbed Products Lite mod you need to ensure that your title heading defines are short (or the heading font size reduced) so they won't wrap within the tab containers. Otherwise you may want to consider disabling those titles from displaying by setting $bShowHeaders = false
Unrelated to the Tabs mod implementation... you may want to widen the left column (or reduce font size) so fewer category names wrap. Otherwise makes for a very long left sidebox column. Also some of the sideboxes can be turned off for the product_info pages, already have buttons for reviews and tell-a-friend. And not sure if you really need the Sponsors or Have You Seen sideboxes.
Overall a nice looking site.
Woody
-
Re: Tabbed Products ''LITE'' version - Delimiter based
Woody,
Thanks for your feedback...especially appreciate the compliment on the header and overall look of the site. To address some of your points:
I will post my implementation comments...it's getting late and I've had very little sleep in the past 3 days...so I will post that in the next day or so.
As for the Add to Cart box appearing both above and below tabs...I did that intentionally since many of our product descriptions are rather lengthy and I wanted my customers to have the option of adding the product to their cart at both the top and bottom of the page (minimizing the need to scroll one way or the other to add to their cart).
The title cap for x-sell tab shows the title text wrapping to second line...again, this was intentional and was achieved by placing a <br /> in the titles. I personally like the look of the taller 2-line tab and I'm also forward planning towards the possibility of having 4 to 6 tabs and being taller and narrower will allow them to fit better.
I eventually plan to widen the left and right columns as well as make the entire page more "adjustable" depending upon browser window size, but for now I simply took your advice to make the font slightly smaller. My concern at the moment is to get a much better looking site up and running to replace my existing (and what I consider very amateurish site - my first attempt at ZC using v1.2.4). I believe I'm losing sales as a result of my present site's poor visual appeal. As for your comments regarding turning off some of the sideboxes...already plan to do that...those will be some of the finishing touches prior to switching the new design to the root directory...also need to finish the news ticker at the top, text for a few of the info pages and home page, etc.