VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: erwin_m on March 25, 2014, 20:46:43 PM

Title: How to add a label new to a productimage in the category-page
Post by: erwin_m on March 25, 2014, 20:46:43 PM
Hi, is it possible to place a image on top of a productimage which says "NEW". it's common on a lot of webshops. I'm new to vm2 and really would like to add this functionality. So, first I would like to know is it possible and if so, how can I accomplish this.

Regards,

Erwin
Title: Re: How to add a label new to a productimage in the category-page
Post by: K&K media production on March 25, 2014, 21:26:39 PM
With little bit PHP and HTML knowledge you can make a override for the category view and give the new products a class "new". With css you can add a image "new" to these products.
Title: Re: How to add a label new to a productimage in the category-page
Post by: jenkinhill on March 25, 2014, 23:23:40 PM
There is a plugin for that:  http://forum.virtuemart.net/index.php?topic=102353
Title: Re: How to add a label new to a productimage in the category-page
Post by: erwin_m on March 26, 2014, 19:09:47 PM
Thank you, this is exactly what I needed!