Public Ticket #3715174

Functionality

Closed
Comments
1 Ticket
Karl started the conversation 2 years ago on August 30, 2024 at 3:49pm

We have a small team of 3 there are times that i place orders for another team member for one of their customers, and they do the same for me. If a customer is assigned to another team member i need it to give them the commission for their customer even tho i placed the order. Is this possible without asking the administrator to manually change it on the order?

2,762
KingsPlugins replied 2 years ago on August 30, 2024 at 8:00pm

Hello Karl,

Thank you for getting in touch with us,


It is possible to achieve that as follows:


Add the following PHP code snippet to the site:

add_filter('salesking_use_additional_agents','__return_true');

This allows you to configure a main agent + additional agents for each customer:

2202354920.png


Then the commission will go to the agent assigned if an order is placed by an additional agent. 


Please note the plugin also has a setting "All agents can manage / shop for all customers" - this does not work the same way, so it would have to be disabled. Instead, you would need to configure additional agents for each customer,


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

Kind regards,

Stefan


Sign In