| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Showing the name of the category each product belongs to. | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi,
I would like to showing the name of the category each product belongs to for each product displayed in the catalog. I am sure this is straight forward, but for some reason I cannot get the category name to display. thanks in advance
__________________
X-Cart Gold Version: 4.0.17 X-Configurator X-AOM X-FancyCategories X-RMA X-Offers |
|||||||
#2
|
|||||||
|
|||||||
![]() {$product.category_text}
should do it ![]()
__________________
ex x-cart guru ![]() |
|||||||
#3
|
|||||||
|
|||||||
![]() Duncan,
On product.tpl I used: {$product.category_text} - the category/subcategory name is shown. On products.tpl I used: {$products[product].category} - the category/subcategory name is shown. However I cannot get the category name to show on 'products_t.tpl' - does this follow a different format? Also, is it possible to display only the last 'sub category' the product belongs to? thanks
__________________
X-Cart Gold Version: 4.0.17 X-Configurator X-AOM X-FancyCategories X-RMA X-Offers |
|||||||
#4
|
|||||||
|
|||||||
![]() Any ideas of how to display the category a product belongs to on 'products_t.tpl? TIA
__________________
X-Cart Gold Version: 4.0.17 X-Configurator X-AOM X-FancyCategories X-RMA X-Offers |
|||||||
#5
|
|||||||
|
|||||||
![]() try {$current_category.category_name}
__________________
ex x-cart guru ![]() |
|||||||
#6
|
|||||||
|
|||||||
![]() thanks funkydunk, but unfortunately that does not work.
__________________
X-Cart Gold Version: 4.0.17 X-Configurator X-AOM X-FancyCategories X-RMA X-Offers |
|||||||
|
|||
X-Cart forums © 2001-2020
|