magento2-menu icon indicating copy to clipboard operation
magento2-menu copied to clipboard

How to show/hide category on menu with respect to Catalog Permission feature of Adobe commerce?

Open RakeshJesadiya opened this issue 2 years ago • 7 comments

I have just installed Snowdog Menu in one of my Adobe commerce sites. Clients use the box Catalog Permission feature for their B2B site. Is there any feature to show/hide categories based on the customer group on the snowdog menu?

Currently, this feature is not working for the B2B site with the snowdog menu.

How to accomplish the snowdog menu with the Catalog permission feature based on the customer group of the customer in Magento 2?

Thank you.

RakeshJesadiya avatar Nov 02 '22 03:11 RakeshJesadiya

Hi @RakeshJesadiya
At the moment such functionality does not work out of the box. I'll check with the dev team if it's possible to add customer group filter to menus and back to you with the answer later. Feel free to open PR in case you have an idea how to add such functionality and you want to contribute. Thanks in advance! Regards, Andrzej

andrzejborkowski avatar Nov 03 '22 12:11 andrzejborkowski

Hi @RakeshJesadiya we checked the issue with the dev team and think that we can add an optional field with multi selector type to allow admins to select multiple customer groups or leave it empty (so there's no customer groups restriction). I've created an internal ticket DEV-94738, but since it's a pretty complicated feature it could take us 2-4 months to implement, once it's ready we'll include it to the release. Regards, Andrzej

andrzejborkowski avatar Nov 08 '22 10:11 andrzejborkowski

@andrzejborkowski This is good feature request for the Magento B2B site, if we are using the snowdog menu with B2B site, snowdog menu will be useless because of the category restriction is not working with it.

RakeshJesadiya avatar Nov 08 '22 15:11 RakeshJesadiya

Hi @RakeshJesadiya we checked the issue with the dev team and think that we can add an optional field with multi selector type to allow admins to select multiple customer groups or leave it empty (so there's no customer groups restriction). I've created an internal ticket DEV-94738, but since it's a pretty complicated feature it could take us 2-4 months to implement, once it's ready we'll include it to the release. Regards, Andrzej

@andrzejborkowski, I am curious to know if this feature has been developed. I have the same requirement and was thinking about using this module to show/hide the menu based on the catalog permission.

rohan-navigate avatar May 03 '24 08:05 rohan-navigate

Hi @rohan-navigate, it's still in development, but we are close to releasing it soon. However, I'm unable to provide an exact deadline for its completion at this moment.

andrzejborkowski avatar May 07 '24 14:05 andrzejborkowski

Hi @rohan-navigate, it's still in development, but we are close to releasing it soon. However, I'm unable to provide an exact deadline for its completion at this moment.

@andrzejborkowski Thanks for your response. My team was soon going to custom-develop this feature. But we can hold off until we hear from you.

rohan-navigate avatar May 07 '24 17:05 rohan-navigate

Glad I found this, we'd also like to have this feature for our Magento Commerce site. @andrzejborkowski please keep us posted, thanks!

AlbertLeatt avatar May 09 '24 11:05 AlbertLeatt

This has been released already in 2.27.0 menu module version https://github.com/SnowdogApps/magento2-menu/blob/2.27.0/CHANGELOG.md

andrzejborkowski avatar Aug 14 '24 08:08 andrzejborkowski