| ||||||||||
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 |
#101
|
|||||||
|
|||||||
Thank you Telafirma for your reply -
__________________
Maree 4.0.13 |
|||||||
#102
|
|||||||
|
|||||||
Hi everyone, I got this mod working great on my site now. Thanks to everyone that helped make it possible. One thing I noticed is that when you click on a tab for a certain product, and then go to another product, the first tab to show up is the one that was last clicked on the previous product. Instead I would like for Product Details, which is my first tab, to always pop up first each time a product is clicked. Does anyone have a fix for this? Thanks!!!!!
__________________
xcart v3.5.8 (Unix) and xcart v4.0.13 |
|||||||
#103
|
|||||||
|
|||||||
Quote:
Yea, that's easy. Just adjust the settings in the "tab.js" file at the top. it asks you what tab you want to show first. Just set it to the number. Also there's another setting at the bottom of the tab.js file that does something as well. - Shannon
__________________
- www.TheShotList.com X-Cart version 4.0.13 PHP 4.3.10 MySQL 4.0.23 Web server Apache Operation system Linux Perl 5.008004 XML parser (expat) 1.95.6 |
|||||||
#104
|
|||||||
|
|||||||
Got it to work...Thanks again Shannon!
__________________
xcart v3.5.8 (Unix) and xcart v4.0.13 |
|||||||
#105
|
|||||||
|
|||||||
Hi gang,
Me again, lol. I was trying to use this mod along with the following mod: http://forum.x-cart.com/viewtopic.php?t=13226&highlight= The other mod allows you to put the detailed image in place of the thumbnail. The probably that I am now running into is that if I don't have a second detailed image, then the tab "Detailed Images" remains there without an actual image in its box. Has anyone else integrated these two mods together or does anyone know how I can only have the Detailed Image tab show only when there is an actual 2nd detailed image to show? Thank you!
__________________
xcart v3.5.8 (Unix) and xcart v4.0.13 |
|||||||
#106
|
|||||||
|
|||||||
Quote:
I edited that area and got rid of the "Product Details" tab, the problem now though, is that even though the tab is gone, and "More Info" is the first tab, under that is the text for product details anway?
__________________
X-Cart Gold Version 4.0.18 EWDHosting.com is my Host Unix Servers |
|||||||
#107
|
|||||||
|
|||||||
Anyone...this is eluding me? Thanks
__________________
X-Cart Gold Version 4.0.18 EWDHosting.com is my Host Unix Servers |
|||||||
#108
|
|||||||
|
|||||||
Taltos1,
Now you must also go the the content part of the script and adjust to what you modified the tabs to. look at the div tags, these are numbered sc1 sc2 etc. now you must align this part of the sript to the tabs as they appear. Code:
__________________
vs 4.1.12 |
|||||||
#109
|
|||||||
|
|||||||
Problems
Ok I am having major issues, I am using xcart 3/14 .. here is the example for the site
http://www.thepbstore.com/cart/product.php?productid=16272&cat=0&page=1 I get it installed, the links make others disapear, HOW EVER, how do you get it to be tabbed horizonally? and how do you clean it up so the rest vanish? I am not getting it .. What it looks like inside the Product.tpl Code:
I have all my other things completed like it says. Curious what the hell am I doing wrong? just being an idiot? is the skin1.css taking over and changing the format? thanks for everything in advanced, and such
__________________
.-=.=-. |
|||||||
#110
|
|||||||
|
|||||||
Great mod thanks to all.
Have added checks to see if product is part of a specific category by examining the SKU code. We use category prefixes to easily identify a product. Eg: If SKU begins with a SC eg: SC045, SC183 etc. then we know it is shoes and hence display the tab for the recent press. Code:
We have default tab set to 1 in tabs.js Code:
which autmatically opens the Detail Images tab if detailed images exist. Question is I want to be able to set the default tab to say sc6-recent press and have it open automatically if there are no detailed images. Basically do some sort of logic test in tabs.js. Anyone any ideas Cheers 4.0.13 |
|||||||
|
|||
X-Cart forums © 2001-2020
|