Show the Category of a Product in List

hey there,

i want to show the category instead of the articlenumber of a product in the productlist.
how is it possible?

here is the content of the product.tpl that i want to replace with the category:
<span class=“type” title=“sku”>[{ oxmultilang ident=“INC_PRODUCTITEM_ARTNOMBER2” }]</span>
<span class=“value”>[{ $product->oxarticles__oxartnum->value }]</span>

any ideas?

thank you.
paul

Hi Paul,
that probably depends on the categories, your product has been assigned. That’s why you wont find it in oxarticles table. How about oxArticle.getCategory() ?

Regards

Or

[{$actCategory->oxcategories__oxtitle}]