Developer forum

Forum » Development » Facets and extracting price of cheapest product matching facet option

Facets and extracting price of cheapest product matching facet option

Jacob Storgaard Jensen
Reply

Hi, i'm trying to make a facet filtering where I need to be able to list car models for the user to pick. On each of these car models, it is desired that there is a "from price".
So I need to find a way to find the cheapest product matching each Model facet option.

I have done some dirty testing with a product loop inside the facet option loop... but this is limited to the page size, so an OrderBy will fail if a group of products matching the Model facet option is split onto two pages...

Any ideas to some kind of solution without killing performance...?


Replies

 

You must be logged in to post in the forum