VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: eriksimonx on November 10, 2012, 09:24:21 AM

Title: Discounted products page
Post by: eriksimonx on November 10, 2012, 09:24:21 AM
Hi,

I want a page (and a "Discounted products" menu item) that lists all the products, if those have discounted price. I guess I should edit my featured products module, to something like that

if salesPrice exists then display:block else display:none

Please, help me!

Thanks,
Erik
Title: Re: Discounted products page
Post by: bytelord on November 10, 2012, 17:19:46 PM
http://forum.virtuemart.net/index.php?topic=95324.0
Title: Re: Discounted products page
Post by: eriksimonx on November 12, 2012, 11:39:30 AM
Thanks, but I want the same look what the category's page has. I loaded that modul with loadposition, but that is just listing onto one page all of the discounted products.
Title: Re: Discounted products page
Post by: bytelord on November 12, 2012, 11:57:30 AM
Hello,

Your initial request talks about product module. If you want the same style you redesign the module template by creating an override.

Use firebug to examine your code & css styling: http://forum.virtuemart.net/index.php?topic=102850.0

Some more information regarding template system and template overrides:
Template overrides: http://forum.virtuemart.net/index.php?topic=98505.0
Template System: https://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system

Regards
Title: Re: Discounted products page
Post by: eriksimonx on November 13, 2012, 12:06:04 PM
When you leave the search field empty and hit enter, it will list the products, from all categories on multiple pages. I want a page, where the virtuemart will list the products in the same way, but I want to display the products, with discounted price only.