![]() |
Showing the name of the category each product belongs to.
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 |
{$product.category_text}
should do it :) |
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 |
Any ideas of how to display the category a product belongs to on 'products_t.tpl? TIA
|
try {$current_category.category_name}
|
thanks funkydunk, but unfortunately that does not work.
|
All times are GMT -8. The time now is 03:10 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.