X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Tab question (https://forum.x-cart.com/showthread.php?t=55979)

Sandy Cummins 10-11-2010 04:28 PM

Re: 4.4 template review
 
I have been trying to modify my 4.4 version and I am not a professional, just been doing it myself for the past few years. Anyway, I was wondering where the information for product tabs go. I would like to add another on the product pages but am not sure where that is and if I can just add one.

Any help would be appreciated (I know html but still use font tags:) and am a complete noob for CSS.

balinor 10-11-2010 04:36 PM

Re: Tab question
 
Going to move this to its own thread. Good question though, as I was just starting to look into that myself. Will let you know when I figure it out!

cflsystems 10-11-2010 05:13 PM

Re: Tab question
 
Product tabs are defined in "include/product_tabs.php" so you can add one there, just copy/paste one of the if statement and modify to fit. Shame this is hard coded like this though. An area in admin to add user-defined tabs should be a standard future

balinor 10-11-2010 06:18 PM

Re: Tab question
 
I can't believe this is not in the admin area - looks like yet another half-finished module :(

cflsystems 10-11-2010 07:17 PM

Re: Tab question
 
Yep it is just that. I will probably turn it into a module with adding user-defined and xcart defined modules on/off for the tabs when I get a minute

KCAutosound 10-18-2010 10:15 PM

Re: Tab question
 
any ideas on how to display the product description in the first tab? I've spent forever trying to do this.

cflsystems 10-19-2010 03:16 AM

Re: Tab question
 
You will have to add one tab as first and assign the description to it. So changes to both the php and template file

KCAutosound 10-19-2010 05:21 AM

Re: Tab question
 
I'm so used to my Cart-Lab add-on tabs from my 4yr old site. This newer version throws me. I got the tab to show up but not quite sure where or how to display the code into it. On my previous tab I simply placed {$product.fulldescr|default:$product.descr}, or something like that into it I believe and it showed the information. But that was on an actual .tpl file not within the .php file.

is there a template file for the tabs?

cflsystems 10-19-2010 05:36 AM

Re: Tab question
 
Yes there is a template file. Now you may not need to even edit the php file but then you have to manually add the tab in the template file. At the end all goes into the template file.

KCAutosound 10-19-2010 05:44 AM

Re: Tab question
 
any idea what template file that is. I'm looking through the product_details.tpl and don't see it called up anywhere on it. Tried webmaster mode and doesn't show any .tpl for it.

cflsystems 10-19-2010 05:47 AM

Re: Tab question
 
common_files/customer/main/ui_tabs.tpl

dalmuti 10-25-2010 07:30 AM

Re: Tab question
 
Well, I think this is ridiculous. This should be a feature like the speed bar where you can designate the tabs and the content. This takes away ALL flexibility.

Dan.roh 10-25-2010 09:31 AM

Re: Tab question
 
1 Attachment(s)
I agree!!! This is why I got BCSE to come up with a mod that can do all kinds!

See one of my screen dumps below - Are you jealous yet? :)

KCAutosound 10-25-2010 09:36 AM

Re: Tab question
 
took me forever but I finally figured out how to create a tab and put the full description into it. Was so much easier with my old tabs mod that I added to the previous site. It is nice that it is included now. It's amazing how much is in the box now compared to what I had to pay for with my 4.0.19 version. I had to buy the most of all the add-ons that come with now.


All times are GMT -8. The time now is 04:13 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.