News:

Support the VirtueMart project and become a member

Main Menu

Disabling Manufacturer Pages

Started by GallJ, August 10, 2013, 13:03:58 PM

Previous topic - Next topic

GallJ

Hi,

Virtuemart is great, and I love all the plug-ins that can be used with it as well. However, because I have a filter system installed on my virtuemart store now, I'd like to disable the links to manufacturer description pages on product detail pages and prevent users from getting to them at all. I still want the name to be displayed, just not as a link.

I'm using Joomla 2.5.7 and Virtuemart 2.0.20b. Hope you can help, I'm sure it's something really simple that I'm missing.

balai

i think that you have to edit the file: modules\mod_virtuemart_manufacturer\tmpl\default.php
Or its equivelant in your template if you have template overrides for this file

and convert the line 17 :

<a href="<?php echo $link?>">
to:
<div>

also the line 27:
</a> 
to:
</div> 

Do the same for the lines 50 and 61

GallJ

Thanks for the help. However, as I've noticed in my other thread, my template (Yootheme Nano based on a Warp framework) doesn't have an appropriate folder to store those overrides, and I can't find them anywhere, but editing the base version did not help. So I think my main problem at the moment now is that I can't find the overrides.

PRO

Quote from: GallJ on August 12, 2013, 18:32:45 PM
Thanks for the help. However, as I've noticed in my other thread, my template (Yootheme Nano based on a Warp framework) doesn't have an appropriate folder to store those overrides, and I can't find them anywhere, but editing the base version did not help. So I think my main problem at the moment now is that I can't find the overrides.

you create the folder
http://forum.virtuemart.net/index.php?topic=90935.0