I know that Enterprise Edition meets the requirement. What I want is to show the category "Wholesale" just to my customer group in "Wholesale".

When a customer is logged in and he is in this group, he is able to see the category.

I know all the validations

if (!($this->_customerSession->isLoggedIn() && $this->_customerSession->getCustomer()->getGroupId() == 2)) {
    // hide category

The part that I haven't reached is where I have to write this code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.