Hi Pablo,
Apology for missing the thread you have created in our support forum.
WC-Marketplace supports various capabilities but there is no capability for the role modification(s). We have the plan to come up with the similar capability in the form of add-on.
Regards,
Rimpa
Hello Rimpa:
We are already well ahead on time. We need to finish the Web.
If you will be so kind to tell us where to hide the menu items.
In the FRONTEND DASBOARD of your plugin.
In the BACKEND of WordPress.
Thanks
Hi Pablo,
Please override the theme template to hide the those tabs.
Regards,
Rimpa
Hello Rimpa:
I am trying with:
li.hasmenu {display:none !important}
However, the menu items (FRONT DASHBOARD) don´t have individual selectors, so I have no control selecting the items to hide.
Please elaborate, providing the procedure to override.
Thanks.
-
This reply was modified 9 years, 7 months ago by
Dinamicore.
What I need to override is your plugin FRONT and BACK dashoard. Please indicate the identificators of the menu selectors that need to be hidden.
Thanks.
Thanks for holding patience, Pablo. For frontend, please create a page named vendor_dashboard_menu.php (yourtheme/dc-product-vendor/vendor_dashboard_menu.php). Copy all the content from plugin’s file (vendor_dashboard_menu.php), then comment out the menus which you do not require.
For backend:
1. To remove for shipping and order: add_action( ‘admin_menu’, array( $this, ‘vendor_dashboard_pages’) );
2. For sales report write the code to remove the capabilities view_woocomerce_report from dc_vendor role. do_action(‘wcmp_set_user_role’, $user_id, $new_role, $old_role);
Regards,
Rimpa