My code get this url: index.php/sr/categories/manufacturer/sketchers/0/ ***** o is wrong category id, how to get right link, this code not working propertly:
/html/com_virtuemart/manufacturer/details.php
<?php // Manufacturer Product Link
$manufacturerProductsURL = JRoute::_('index.php?option=com_virtuemart&view=category&virtuemart_manufacturer_id=' . $this->manufacturer->virtuemart_manufacturer_id, FALSE);
if(!empty($this->manufacturer->virtuemart_manufacturer_id)) { ?>
<div class="manufacturer-product-link">
<a target="_top" href="<?php echo $manufacturerProductsURL; ?>"><?php echo vmText::sprintf('COM_VIRTUEMART_PRODUCT_FROM_MF',$this->manufacturer->mf_name); ?></a>
</div>
<?php } ?>
Please do not crosspost.
http://forum.virtuemart.net/index.php?topic=146449.msg521155#msg521155