In your demo, I disabled the "All agents can manage / shop for all customers" in the admin settings. Now I see in the agent dashboard under "My Customers" that you can still "Shop As Customer". I thought this could be disabled?
The setting "All agents can manage / shop for all customers" controls whether all agents have access to all customers, or just have access to customers assigned to them. With the setting disabled, each customer is only assigned to 1 agent and only that agent can manage or shop for the customer.
If you are looking to disable the 'Shop as customer' button, there is no specific setting, but it is possible by adding the following PHP code snippet to the site:
In your demo, I disabled the "All agents can manage / shop for all customers" in the admin settings. Now I see in the agent dashboard under "My Customers" that you can still "Shop As Customer". I thought this could be disabled?
Attached files: Screenshot 2025-01-17 at 19-04-40 Settings ‹ SalesKing Demo — WordPress.png
Screenshot 2025-01-17 at 19-04-58 Agent Dashboard.png
Hello Victor,
Thank you for getting in touch with us,
The setting "All agents can manage / shop for all customers" controls whether all agents have access to all customers, or just have access to customers assigned to them. With the setting disabled, each customer is only assigned to 1 agent and only that agent can manage or shop for the customer.
If you are looking to disable the 'Shop as customer' button, there is no specific setting, but it is possible by adding the following PHP code snippet to the site:
This code snippet can be added to functions.php or to any snippets plugin.
After adding that, the page will display as follows:
Let me know if I can help with anything, or if you have any questions,
Kind regards,
Stefan