Parent Category ID on Search Page (products_t.tpl)
Hi,
I'm trying to retrieve a parent category id for products on the search results page.
There doesn't seem to be any variables that refer to a category name/id/etc.
Is there a way for me to create a new variable?
I'm using this for the category pages:
{if $current_category.parentid eq 249 || $cat eq 249}{else}{/if}
and would want to recreate this same structure on the search page.
Thanks!
Jenny
__________________
Version 4.3.2
|