| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Subcategory Display | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I need to change the default display of subcategories to something more like http://www.coronacigar.com/products/rocky-patel-vintage-1999-cigars.html
I havent even been able to find where the file is located that displays the subcategories. There is no codex like wordpress has so it is very hard to learn how to customize x-cart. Can you guys give me any pointers? I did find a .tpl reference but it was for an older version of xcart. It said there should be a subcategories.tpl in the customer folder of the theme but i could not find it. thanks.
__________________
Xcart 4.4.4 GOLD No addons. |
|||||||
#2
|
|||||||
|
|||||||
![]() Also is there a way to give a subcategory an image?
__________________
Xcart 4.4.4 GOLD No addons. |
|||||||
#3
|
|||||||||
|
|||||||||
![]() Subcategories are categories so you can assign them images and other info in admin/categories.
The template file for the categories listing is skin/your_skin/customer/main/subcategories.tpl (_t.tpl and _list.tpl). If this files do not exists in the skin directory you are using then you will find them in common_files
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#4
|
|||||||
|
|||||||
![]() Thank you for your reply. Is there anywhere that documents how to do stuff in xcart?
I dont understand why but I set an image for the subcategorys and it doesnt show the subcategory image. I tried using <img src="{$subcat.icon_url}" alt="" /> but no luck.
__________________
Xcart 4.4.4 GOLD No addons. |
|||||||
#5
|
|||||||||
|
|||||||||
![]() Are you sure it's icon_url and not something else like image_url ?
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|