| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Root Categories Icons on home page for version 4.4.X | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Does anyone know how to display the root category thumbnails on version 4.4.X on the home page like the subcategories are displayed on the other categories pages?
It was as simple as placing this in the welcome.tpl on previous versions but that doesn't seem to work on this version??? {include file="customer/main/subcategories_t.tpl"} I've tried everything and sure I am missing something simple.. thanks
__________________
eHub - Web Design & Hosting X-Cart 4.2 / 4.3 / 4.4.X |
|||||||
#2
|
|||||||
|
|||||||
![]() Can anyone even hint as to what has changed in the template or category arrays for the welcome page in the latest version to try and work this out please?
__________________
eHub - Web Design & Hosting X-Cart 4.2 / 4.3 / 4.4.X |
|||||||
#3
|
|||||||||
|
|||||||||
![]() It depends if you are using fancy cats or not. If you do - depends if you are using the cache option or not. If you do categories array is taken from the cache and is not available on the page. If you don't use the cache option the array is categories_menu_list and has all categories listed. There is no categories array on front page so subcategories_t or _list templates won't work. If you still need it you have to create your own array in the script, populate it with the root cats and assign it to smarty
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#4
|
|||||||
|
|||||||
![]() Thank you!
I simply copied the subcategories_t.tpl to a new file called subcategories_h.tpl (specific for the homepage) and changed the array to categories_menu_list as you highlighted and it worked a treat. Of course I included this new file on the welcome.tpl. Thanks again!
__________________
eHub - Web Design & Hosting X-Cart 4.2 / 4.3 / 4.4.X |
|||||||
#5
|
|||||||
|
|||||||
![]() I am using fashion_mosaic_blue and I still have this problem.
__________________
x-cart 4.4.3 |
|||||||
#6
|
|||||||
|
|||||||
![]() where is subcategories_t.tpl in 4.4.2
__________________
x-cart 4.4.3 |
|||||||
#7
|
|||||||||
|
|||||||||
![]() skin/your_skin/customer/main
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#8
|
|||||||
|
|||||||
![]() I don't see the subcategories_t.tpl file there. I have re-downloaded the files from x-cart and they are not in that file there either.
__________________
x-cart 4.4.3 |
|||||||
#9
|
|||||||||
|
|||||||||
![]() If the file is not in the skin you are using then the skin is using the one in skin/common_files/customer/main. You can either modify that file or copy it in your skin and modify there
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|