-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.6.14
-- Browser(s) name and version -- : All Browsers...
Hi,
We have edited the category page to display a link to each product's manufacturer. What we would like to do is replace the manufacturer name with the manufacturer image. Please could you explain how we do this?
The current code we have used is:
<?php
$manufacturerClass = hikashop_get('class.category');
$manufacturer = $manufacturerClass->get($this->row->product_manufacturer_id);
$manufacturer_url = HIKASHOP_LIVE.'index.php?option=com_hikashop&ctrl=category&task=listing&cid='.$manufacturer->category_id.'&name='.$manufacturer->category_alias.'&Itemid=233';
echo '<a href='.$manufacturer_url.' >';
echo $manufacturer->category_name;
echo '</a>';
?>
Many thanks in advance.