category_id

Hi



I'm trying to pull the category_id on the product_data.tpl for what ever item your on at the time. i have tryed this but its not working. any one have any ideas?



{foreach from=$categories item=category key=cat_key name="categories"}
{/foreach}




i want it to show the category id of the item its on.

$smarty.request.category_id