Developer forum

Forum » Ecommerce - Standard features » Use Products.facets property on group to control Facet groups and their order when using ProductCatalog

Use Products.facets property on group to control Facet groups and their order when using ProductCatalog

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

I am converting a Rapido project to start using the ProductCatalog instead of the regular Products module.

I have managed to refactor the feed and I have stumbled across the Facet groups.

In Rapido we are using the Products.facets property on Groups:

And I need to be able to use this info in the feed to control the groups displayed and their order.

But I can't find a way to get this info.

The default Model on the ProductCatalog module does not seem to have anything specific about this.

Is there any other way I can get this info?

Thank you,

Adrian

 


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

The viewmodel does not contain the information as it is rendering only.

But using the groupid you can lookup the Ecommerce.Products.Group instance and get the information from there.

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,

Thank you for the update. I was just asked by the customer about the status of this feature.

Thank you,

Adrian

 

You must be logged in to post in the forum