Hello, I see that my agents can see their customers data (address, etc) and they can even impersonate via the Shop as Customer button in the My Customers section of the Sales Agent Dashboard.
Can I deactivate this function? It would be ok for me to deactivate completely the MyCustomers section. I see I can deactivate several options in the Agent Capabilities section under the SalesKing/Settings menu in the WordPress Menu but I cannot deactivate MyCustomers.
It is a potential privacy issue. My agents are more like affiliates. They should not see so much info about their clients and definitely should not impersonate.
Hello, I see that my agents can see their customers data (address, etc) and they can even impersonate via the Shop as Customer button in the My Customers section of the Sales Agent Dashboard.
Can I deactivate this function? It would be ok for me to deactivate completely the MyCustomers section. I see I can deactivate several options in the Agent Capabilities section under the SalesKing/Settings menu in the WordPress Menu but I cannot deactivate MyCustomers.
It is a potential privacy issue. My agents are more like affiliates. They should not see so much info about their clients and definitely should not impersonate.
Thank you.
It is possible to remove the 'My Customers' page, by adding this code snippet to your site:
A PHP snippet can be added to functions.php, or by following our guide here: https://woocommerce-b2b-plugin.com/docs/how-to-add-a-snippet-php-or-js/
Kind regards,
Stefan
It worked perfectly!
Summary for anyone else with the need to hide My Customers section from the Agents Dashboard:
- Install Code Snipets plugin: https://wordpress.org/plugins/code-snippets/
- Add PHP snipet with this code (plugin is free for PHP)
Option: Only run on site front-end. Save changes and Activate
Et voilá. My customers section dissapears from the Agent Dashboard
P.S.: Please note total number of orders and customers still show in the Dashboard, but agents cannot see details.
Thank you so much Stefan. This saved my day.