| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
DIY Tabbed Content Menu for Product Page | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
Wow, thanks for the hard work in setting this up. I hope that the source is truly coming from the open and not just modified from someone like Boomer.
I am all for open source and it really adds to the value of xcart to be able to modify the source to your liking. I was about to buy a javascript menu from apycom for about $30 but then found an open source one that was much better www.ricom.co.uk
__________________
No longer using Xcart, was good while it lasted. |
|||||||
#12
|
|||||||
|
|||||||
Quote:
I tried doing this but it's not what I am looking for I was thinking of somthing more like an if statment some of my products will have detailed images and some wont some have recamended products and some don't I wanted to try and come up with an if statment that will show tabs only if it's need by that product.
__________________
Deonya Fields -------------------------- X-Cart Gold 4.0.4 -------------------------- http://www.pixellab.biz |
|||||||
#13
|
|||||||
|
|||||||
Quote:
I tried doing this but it's not what I am looking for I was thinking of somthing more like an if statment some of my products will have detailed images and some wont some have recamended products and some don't I wanted to try and come up with an if statment that will show tabs only if it's need by that product.
__________________
Deonya Fields -------------------------- X-Cart Gold 4.0.4 -------------------------- http://www.pixellab.biz |
|||||||
#14
|
|||||||||
|
|||||||||
http://www.cart-lab.com/Tabbed_Product_Menu-p-56.html
Is setup to only display tabs with content relative, if conditions. There is also an extra field by default that can easily be setup to display any other extra fields without hassle.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart. |
|||||||||
#15
|
|||||||
|
|||||||
Quote:
Put simply, if the content does not exist, then don't display the tab(s). Solution... Wrap an IF statement around the individual tab code. For example with upselling products... Code:
Recommended products... Code:
etc. Detailed Images is slightly different... Code:
So is Customer Reviews... Code:
__________________
xcartmods.co.uk |
|||||||
|
#16
|
|||||||
|
|||||||
Heres What I tried
Code:
Now only the Send To friend & Customer Review will show up. There could be a cople resonse for this on my part one I have changed the way the tabs look see what I mean http://www.pixellab.biz/product.php?productid=16141&cat=1&page=1 Next is I have moded a few things in my cart but that might not be the reason still what do you think after looking over my code.
__________________
Deonya Fields -------------------------- X-Cart Gold 4.0.4 -------------------------- http://www.pixellab.biz |
|||||||
#17
|
|||||||
|
|||||||
The other tabs don't appear, probably because you don't have a detailed image or upselling product, plus you may have not enabled the recommended products module.
Otherwise the code looks fine.
__________________
xcartmods.co.uk |
|||||||
#18
|
|||||||
|
|||||||
I think the reason why my detailed images are not showing on the products that have them is becuse I have that moded here's a mod I have on my images I am quoting it from another post I made.
Quote:
So everything is correct but I think this mod is preventing my detailed images from showing up
__________________
Deonya Fields -------------------------- X-Cart Gold 4.0.4 -------------------------- http://www.pixellab.biz |
|||||||
#19
|
|||||||
|
|||||||
It isn't working for me either, deonya...
And i don't use a mod for the Detailed Images. Same thing happens with Recommended Products - they won't show, untill i remove the IF statement for it. Anyone know how to solve this? Furthermore; i like to add a extra tab where i can put a full description/overview for the product. Anyone who can point me in the right direction? Many thanks in advance!!
__________________
X-Cart 4.0.12 Heavy modified with paid, free and forum mods. PHP 5.2.5 | MYSQL 5.0.51a |
|||||||
#20
|
|||||||
|
|||||||
Yup same problem here. I had to lose the IF statements also in order to get the other tabs to show.
Quote:
I just did this last night. I'm a newb at X-Cart but it worked for me. If there's a better way please post it. In product.tpl, AFTER Code:
ADD Code:
AFTER: Code:
ADD: Code:
Now create a new file called "overview.tpl" and save the following into skin1/customer/main/overview.tpl. Code:
You can edit this file to change the look of the box and add product titles, images whatever. You can also edit the tabs.js file and change it so the overview tab shows automatically on the page. Hope that helps.
__________________
X-Cart 4.0.9: Development Mode |
|||||||
|
|||
X-Cart forums © 2001-2020
|