VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: sandomatyas on August 21, 2017, 15:56:13 PM

Title: Featured products menu item
Post by: sandomatyas on August 21, 2017, 15:56:13 PM
I want to display all of featured products as the front page of my site with 'category' layout. Is it possible? How should I do that? I created a vm category menu item with 'top level category', featured products: yes, all of them are no, but there aren't any products. Have I missed something?
Title: Re: Featured products menu item
Post by: Studio 42 on August 21, 2017, 21:13:45 PM
Hi,
You can use my module https://shop.st42.fr/en/products/products-any-ways.htm you have a filter "featured product" and can be combined with other filters, you can select cateogyr layout, so it render same as a standard category.
Or another way is to create a category "featured" and add all your featured product inside this category.
Title: Re: Featured products menu item
Post by: sandomatyas on August 22, 2017, 09:59:43 AM
Hm. There's no standard VM feature to list featured/discounted products, just via 3th party extension or extra category? Don't get me wrong but maybe it should be a basic feature :)
Title: Re: Featured products menu item
Post by: Studio 42 on August 22, 2017, 11:18:07 AM
You can display featured, but with another layout using the core product module.
The 2 solution provided can display featured with same layout as you want.
Title: Re: Featured products menu item
Post by: jenkinhill on August 24, 2017, 23:06:03 PM
In current VM versions you can set this using the menu configuration - eg She featured - yes, Show rows for featured products 20  would show up to 20 rows of featured products, but if there are only 6 products it would display just two rows (if products per row is set to 3)  Test it, but maker sure that settings are not overriden in Config/templates