I'm modifying the Random Product plugin for my own use and thus far it shows the random product just like the normal product listing.
My only problem is that instead of showing the category name, it only shows the number. How can I make it display the category name? I'm editing in randomProduct.tpl
Any help is as always greatly appreciated!
Zandmanneke
zandmanneke
2005-07-05 20:19
UPDATE:
Still working on it, here's a piece of HTML in which I want to insert the category name (or subcategory)
<td> <a href='?p=productsMore&iProduct=$aProduct[id]'><span class='product_list_name'>$aProduct[name]</span></a><br /> <a href='?p=productsList&iCategory=$aProduct[category]'><span class='product_list_category'>$aProduct[category]</span></a>< br /> Really, I cannot seem to get the Category name, anyone has any idea? </td> <td class='product_list_price'> $aProduct[price] $config[currency_symbol] </td>