- First you need to create category on woocommerce product. To create categories on woocommerce, Go to: Products > Categories
- Give name of your Category and slug(no space, all lowercase with dash(-). url will be like that) and click “Add new category” . Category will create.
- Now go to, Appearance >Menus > Expand Product Categories > View All > Select Category you created > Add to Menu
[It will add down to the menu item. Just drag and drop your desire position. In our scenario, make It submenu of Products.] I hope it make sense.]
- Now, when you setup your product, Select the category associate with that product.
Click Update and this product will be visible if the roles match on that product.