VirtueMart Forum

VirtueMart 2 + 3 + 4 => Frontend Modules => Topic started by: syntalk on April 12, 2013, 11:23:30 AM

Title: Remove variants (custom fields) from Featured Products module.
Post by: syntalk on April 12, 2013, 11:23:30 AM
Hi,

Is it possible to remove the variants/custom fields form the products displayed in the Featured Product module? It's just for the aesthetic reasons as they are reorganize whole view on my site.
VM 2.0.18c
J 2.5.9

Many thanks
Title: Re: Remove variants (custom fields) from Featured Products module.
Post by: K&K media production on April 12, 2013, 18:22:40 PM
make a template override for the module and remove the field output

or use css and set the fields to display: none
Title: Re: Remove variants (custom fields) from Featured Products module.
Post by: syntalk on April 15, 2013, 13:09:15 PM
Thank you,
Quote from: kkmediaproduction on April 12, 2013, 18:22:40 PM
or use css and set the fields to display: none
Yes, this did the job, however I've hanged this in /modules/mod_virtuemart_product/helper.php - is this correct? BTW can I make an override for this file?

Thanks again
Title: Re: Remove variants (custom fields) from Featured Products module.
Post by: K&K media production on April 15, 2013, 13:25:08 PM
No, don't change this file, because the changes will be lost with next update. Make the changes on the tmpl file with an override or put the css in your template css file.
Title: Re: Remove variants (custom fields) from Featured Products module.
Post by: syntalk on April 15, 2013, 22:57:14 PM
Thanks for this mate. Will get this sorted out with css then.
Title: Re: Remove variants (custom fields) from Featured Products module.
Post by: arturmuse200 on December 21, 2014, 15:32:35 PM
Hi, could you please tell me please how do this changes?
Title: Re: Remove variants (custom fields) from Featured Products module.
Post by: syntalk on June 04, 2015, 15:52:24 PM
Quote from: arturmuse200 on December 21, 2014, 15:32:35 PM
Hi, could you please tell me please how do this changes?

Hi , sorry but I wasn't looking at this forum for months. Do you still need a help?
Title: Re: Remove variants (custom fields) from Featured Products module.
Post by: ichorvapors on February 08, 2016, 15:39:03 PM
Bump on this post. I don't want to remove it specifically from the featured section, but from the various category views that aren't directly on the product page itself.
Title: Re: Remove variants (custom fields) from Featured Products module.
Post by: jenkinhill on February 08, 2016, 16:41:44 PM
So unrelated to the above old thread......  and not specific to modules....... and you give no versions....  http://forum.virtuemart.net/index.php?topic=128401.0

Assuming VM3.0.12 and default templates just deselect "Show product customfields in browse views" in VM Configuration/Shopfront/Product Listing