Okay
  Public Ticket #3803256
SalesKing demo
Closed

Comments

  • Victor started the conversation

    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

  •  2,301
    WebWizards replied

    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:

    add_filter('salesking_show_customers_page_actions_column','__return_false');

    This code snippet can be added to functions.php or to any snippets plugin.

     

    After adding that, the page will display as follows:

    6190233075.png

     

     

    Let me know if I can help with anything, or if you have any questions,

    Kind regards,

    Stefan