VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: baroen on November 20, 2016, 14:35:59 PM

Title: How to add Manufacturer to product at category page?
Post by: baroen on November 20, 2016, 14:35:59 PM
I know there are several post regarding this subject but none of them are producing the manufacturer logo.
Note: I mean at the category page, not the productDetail page.
Title: Re: How to add Manufacturer to product at category page?
Post by: GJC Web Design on November 20, 2016, 16:40:11 PM
I just name the imgs the same as the manu name then call

<div class="manuimg"><img src="images/stories/virtuemart/manufacturer/<?php echo strtolower(str_replace(' ','-',$product->mf_name)); ?>.png" />