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?


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

```<br />
<br />
i want it to show the category id of the item its on.

$smarty.request.category_id