Hi guys.
I'd like to put in articles / items small image of category that article/item belongs to.
I tried apply code from category.php into item.php but it doesn't get the image .
<img alt="<?php echo $this->category->name; ?>" src="<?php echo $this->category->image; ?>" style="width:<?php echo $this->params->get('catImageWidth'); ?>px; height:auto;" />
I'd like to put in articles / items small image of category that article/item belongs to.
I tried apply code from category.php into item.php but it doesn't get the image .
<img alt="<?php echo $this->category->name; ?>" src="<?php echo $this->category->image; ?>" style="width:<?php echo $this->params->get('catImageWidth'); ?>px; height:auto;" />