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

How to restrict product listing for usergroup in Solr search

Former Member
0 Likes
502

How to restrict products prices on product listing in Solr search. I want to reflect products prices related to particular usergroup and pricegroup.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

You need to create a new field in Solr that will hold the prices and the customer groups, and then extend the SolrQueryPostProcessor to add that field to the solr query and retrieve only the products you need.