VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: cirymarr on June 05, 2017, 09:00:56 AM

Title: How to hide Manufacturer name in Manufacturer Default Layout
Post by: cirymarr on June 05, 2017, 09:00:56 AM
Hi
I'm using VM3.2.2 and am using Manufacturer Default Layout (with manufacturer logos) - however, I want to hide the displaying of the manufacturer title/name, in each case (see attached - I want to remove the names with the red lines)(//)
Title: Re: How to hide Manufacturer name in Manufacturer Default Layout
Post by: Ghost on June 05, 2017, 09:25:38 AM
Create a template override of /components/com_virtuemart/views/manufacturer/tmpl/default.php and remove this part:

<h2>
<a title="<?php echo $manufacturer->mf_name?>" href="<?php echo $manufacturerURL?>"><?php echo $manufacturer->mf_name?></a>
</h2>
Title: Re: How to hide Manufacturer name in Manufacturer Default Layout
Post by: cirymarr on June 05, 2017, 10:05:54 AM
Thank you Ghost!