Okay
  Public Ticket #3137920
Commission rules
Closed

Comments

  • lutspy started the conversation

    1. hi, let say early of the month agent get 5% for orders below usd1000. When order beyond threshold of usd1000. The agent should receive commission of 8%. I know can change group based on threshold, but can we backdate the 3% commission different prior to group change (before achieve threshold).

    2. Can we get total order of agent include subagent (name as team) and get commision based on monthly total orders. If total orders as a team achieve certain amount.?

  •  2,218
    WebWizards replied

    Hi there,

    Thank you for getting in touch!


    1)  I know can change group based on threshold, but can we backdate the 3% commission different prior to group change (before achieve threshold).


    I see what you mean but there is no way for the plugin to modify prior commission percentages like this. The only way would be to manually modify the commissions yourself,


    2) There is currently no setting to calculate that including subagent commissions. We can consider that for future updates, but there's no option for it now,


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

    Kind regards,

    Stefan

  • lutspy replied

    hi is there any possibility to have a list of "Agent ID" in the system?

  •  2,218
    WebWizards replied

    Hi there,

    Can you give me an example of what you are trying to achieve please? For example do you want to show agents during registration, or what is the goal?


    We can help you export a list of user IDs of all agents if that's what you need,


    Kind regards,

    Stefan

  • lutspy replied

    noted on the available option to export list regarding the agent id.

    Next question, is there any ability to sync between WordPress user roles with the Sales Agent group?

  •  2,218
    WebWizards replied

    There's currently no option to sync user role and group in SalesKing.

    In our other plugins (B2BKing, MarketKing) there is a feature for this, but it's not yet available in SalesKing. We are open to adding this in later updates,

  • lutspy replied

    hi, how to set the specific group for newly registered subagents?

  •  2,218
    WebWizards replied

    Hi,

    Do you mean when an agent creates a new subagent via the 'My Team' panel?


    By default, the subagent inherits the group of the parent agent. But if you'd like, it can be changed with a code snippet.

    You can use this snippet:

    add_action('salesking_after_subagent_created', function($subagent_id,$parent_id, $parent_group){
          update_user_meta($subagent_id,'salesking_group', 1234);
    }, 10, 3);
    

    You would need to change 1234 with the ID of an agent group. 


    To get an agent group ID, go to SalesKing -> Agent Groups and click on a group. The number in the URL such as ?post=123 is the ID.