cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Filter in PCM assortment perspective

Former Member
0 Likes
770

Hi,

I was wondering if it is possible to have the same filter button from the product perspective (like the printscreen below), in the assortment perspective:

In the assortment perspective I miss the filter functionality (our business wants to be able to search on specific fields in this view):

Our assortment perspective uses Solr. I am running a Hybris 1808 version locally.

Thanks in advance.

Accepted Solutions (0)

Answers (4)

Answers (4)

0 Likes

Hi All,

This is working fine in customize extension when putting this widget ID in your customized widgets.xml

  <widget-extension widgetId="pcmbackoffice-assortment-view-firstvessel-fulltextsearch">
  <setting key="fieldQueryEnabled" type="Boolean" value="true"/>
 </widget-extension>
0 Likes

Hi

I tried with your solution but this is not working in my extension widget.xml when I am doing OOB widgets.xml changes with this then filter is coming in assortment Please can you suggest How can I use in my local extension.

 <setting key="fieldQueryEnabled" type="Boolean">true</setting>

former_member625836
Active Contributor
0 Likes

Hi,

There is a fieldQueryEnabled setting for SimpleSearchAndFilters that is set to false in case of assortment view. You can try setting it to true - maybe it will work ootb.

Cheers, Jacek

Former Member
0 Likes

This works indeed.

I added this in my widget.xml:

 <widget-extension widgetId="pcmbackoffice-assortment-view-secondvessel-fulltextsearch">
     <setting key="fieldQueryEnabled" type="Boolean" value="true"/>
 </widget-extension>

 <widget-extension widgetId="pcmbackoffice-assortment-view-thirdvessel-fulltextsearch">
     <setting key="fieldQueryEnabled" type="Boolean" value="true"/>
 </widget-extension>

And in my backoffice-config.xml I can add aditional fields in the filter using this component: pcmbackoffice-assortment-fulltext-search

Thanks a lot!

Former Member
0 Likes

Hi,

this is a good improvement. As solr is now available in the Assortment View there are no technical obstacles to do so. I will report this as a backlog entry for my team.

Cheers, Wojtek