Try to include to the ‘Product Manager’ role just capabilities which contains ‘product’ in its ID.
For ‘Order Manager’ – ‘orders’.
In order to the role may access the WP dashboard it should contain ‘edit_posts’ or ‘manage_woocommerce’ capabilities. Or you should use special filter offered by WooCommerce. Read this post:
https://www.role-editor.com/woocommerce-admin-bar-access/
Hi ! How are you?
I have a similar question…I need my user to only see his orders, but without checking anything else from the Dashboard.
If I set “edit posts”, they can see Posts, Comments, Projects, etc.
If I set “manage woocommerce”, they can see all the Settings…
There is a way to have only access to the orders?
Best!
Should your users use Dashboard?
1- Open ur User Role Editor page (Dashboard>Users>User Role Editor). And choose Costomer Role
See : http://prntscr.com/ej28gp
2- And then scroll the same page. There is a check box named “Hide Admin Bar”. ticked the box and Update the profile.
See : http://prntscr.com/ej28tv
Now, your customers cant reach the Dashboard. You can creat a WooCommerce Orders page and your users can see their orders without visiting the dashboard.
Hi ! You are really fast and great. The idea is really good but
I checked “hide admin panel”, but is not working, the user can see the dashboard with that option checked too..
Best!
Hi Nico,
I have tryed it Before I advise you and It totaly worked on my site. I am adding my customer role’s permissons below. Already It has only one permission. May be you can make the same changes on your website.
See: http://prntscr.com/ej2xyd
When I try to access to Dashboard as user, I cant access there! I hope you can fix ur issue soonest.
Hi ! Thanks for your help.
Is like the plugin is not saving the change when I set “hide admin bar”, don’t know why. I will keep working on it, thank you!!