| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Tab question | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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 ![]()
__________________
-- Sandy Cummins XCart Pro 4.1.5 [linux] |
|||||||
#2
|
|||||||
|
|||||||
![]() 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!
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
![]() 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
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#4
|
|||||||
|
|||||||
![]() I can't believe this is not in the admin area - looks like yet another half-finished module
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||||
|
|||||||||
![]() 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
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#6
|
|||||||||
|
|||||||||
![]() any ideas on how to display the product description in the first tab? I've spent forever trying to do this.
__________________
X-Cart version 4.7.6 Gold xcartmods.co.uk - Ultra Template |
|||||||||
#7
|
|||||||||
|
|||||||||
![]() You will have to add one tab as first and assign the description to it. So changes to both the php and template file
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#8
|
|||||||||
|
|||||||||
![]() 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?
__________________
X-Cart version 4.7.6 Gold xcartmods.co.uk - Ultra Template |
|||||||||
#9
|
|||||||||
|
|||||||||
![]() 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.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#10
|
|||||||||
|
|||||||||
![]() 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.
__________________
X-Cart version 4.7.6 Gold xcartmods.co.uk - Ultra Template |
|||||||||
|
|||
X-Cart forums © 2001-2020
|