Get category name from number


Avatar: Sandman

2005-07-07 01:50

Hello, I would like to retrieve the category name for a displayed item in the random products plugin. How can I do that? I only get the number but I need the category name!

Please help


treewood (OpenSolution)

Avatar: treewood

2005-07-07 07:17

$aCategories = throwCategories( )

in random product

$aProduct['sCategory'] = $aCategories[$aProduct['iCategory']];


Avatar: Sandman

2005-07-07 10:41

Were to insert the codes? In randomProduct.php, or randomProduct.tpl ? and where to insert?

I tried but all I seem to get is errors...


Back to top
about us | contact