Hi,
Because a product can have several categories, this information is not load by default (in the listings).
So you need to load the categories of the listed product (using a SQL query).
Here some code from the product show
$query = 'SELECT b.* FROM '.hikashop_table('product_category').' AS a LEFT JOIN '.hikashop_table('category').' AS b ON a.category_id = b.category_id WHERE a.product_id = '.(int)$prod->product_id.' ORDER BY a.product_category_id ASC';
$database->setQuery($query);
$categories = $database->loadObjectList();
$this->assignRef('categories',$categories);
In your case you have to handle several product id depending the listing you have.
Regards,