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

Category visibility restriction feature not working?

Former Member
0 Likes
644

Hello Experts,

In Apparel Store I create a brand new category at the root level, and a brand new product in that category - all in the Online version. I set category visibility = “employeegroup” (also tried empty) in Backoffice.

Then I log in to the site with my user (which is obviously a member of “customergroup”) and I can see this category and this product in the frontend when navigating directly to product or category.

Also I see the product in Solr search.

Not sure what am I missing - trying to restrict the visibility for that category / product.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Answering my own question...

What I found is you have to enable some OOTB personalization rules for that to work (these rules are disabled by default):

  • Frontend_RestrictedCategory - to display 404 for restricted category page,

  • Frontend_Assignment for product and variant - to display 404 for products in restricted category.

If you put category visible to some group that is not customergroup - then it will not index it in search.