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

Restriction not working on Hybris storefront

Former Member
0 Likes
1,039

To test a restriction so that a product code was not visible on the front end site for apparel store(provided OOTB by Hybris),I made a restriction by going to BackOffice->Personalizatiopn and made a new personalization rule by giving the filter as : {code} = '300392196' and ApplyOn "customerGroup"

but still when I go to a site for my extension(mysitestorefront) like :

http://localhost:9001/mysitestorefront/?site=apparel-uk

I am able to search the product in "What You're looking for section".Am I doing some mistake in implementing the restriction?

Accepted Solutions (0)

Answers (1)

Answers (1)

bhavirisetty
Active Participant
0 Likes

Hi Rachit,

Persenalization rules applies to flexi queries based on user role, So to confirm whether rule is working or not please try to access PDP page.

For SLP/PLP page data comes from SOLR query not from flexi query, Please implement SolrQueryPostProcessor to achieve it in PLP/SLP.

Thanks

bhavirisetty
Active Participant
0 Likes

You can use FacetSearchListener as well in latest version.

Former Member
0 Likes

,I am a newby in Solr.Any helpful links will be really helpful.