Developer forum

Forum » Ecommerce - Standard features » Product list - group by

Product list - group by

Nuno Aguiar
Reply

Hi,

 

I've touched base on this subject in the past, but need an update. The issue is displaying a product list grouped by a variant group, for example; List all shoes and colors, but not sizes, where colors and sizes are 2 variant groups.

 

In the past we were told we had to develop a productlistprovider, but with the new index engine I am trying to think is this is possible. Can anyone figure out how?

 

Why not do it with productlistprovider or razor?

 

  • A product list provider requires we match the query parameters set in the backend - not flexible or easy to maintain
  • Using LINQ in Razor works pretty well, but we loose paging, because we don't know how many are actually duplicated or unique in every loop cycle
  • Both solutions "disable" Dynamicweb standard funcionalities and we want to avoid that. Had a lot of headaches in the past because of it

 

The only thing I can come up with is if the new index engine would have a Duplicates setting (much like Excel does), where we would set the fields we want to match duplicates with and set duplicates to be hidden, flagging the original record (for example)

 

Best Regards,

Nuno Aguiar


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Nuno

We are aware of this request but still do not support it. I will investigate the possibility if this can be obtained using the new indexing.

Nicolai

 
Nuno Aguiar
Reply

Hi Nicolai,

 

That's great. Looking forward to hear from it.

 

Best Regards,

Nuno Aguiar

 
Nuno Aguiar
Reply

Hi Nicolai,

 

Do you have news on this? This features keeps getting requested by our customers.

 

Right now the only way I could find was:

  • Load all products (disable paging) - because we would not get an accurate amount per page
  • Only show 1st reference of a variant group

 

Best Regards,

Nuno Aguiar

 

You must be logged in to post in the forum