Hello everyone,
Our development team has been trying to create a custom way for parent agents to set his override commission rates (all subagent earnings (cascading)) through the agent-dashboard. We have tried many ways but most times we arrived at a somewhat limited solution which was deemed not enough for our needs. We have explored creating commission rules with different priorities but ultimately found that, when it comes to override commissions, the get_parent_total_earnings() function does not consider the priority data. We also tried having different rules assigned to different agents but ultimately found that, the plugin picks the commission rule with the highest rate % from the group regardless of agent assigning. The workarounds that we found to work often made group rules (which we want to keep) extremely complex.
I write this ticket looking for ways we missed in which this can be done natively.
Below is the user story for this customization:
Parent should be able to adjust commission for their downline (Child) based on the total available commission percentage
Example: Total Commission = 30%
Scenario 1: Sales Agent w/o Parent
Tier 1 (Sales Agent) = 30%
Scenario 2: Sales Agent w/ Parent
Tier 1 (Child) = 25%
Tier 2 (Parent) = 5%
Scenario 3: Sales Agent w/ Parent and Grandparent
Tier 1 (Child) = 20%
Tier 2 (Parent) = 5%
Tier 3 (Grandparent) = 5%
Also, we would like to know if there is a way for creating quotes for products that are yet to be added to the website. Often customers come to us looking to buy products that will be added in the future and we would like to be able to create these custom quotes in order to not lose the sale. Thank you so much!
(1) Regarding quotes for products that don't yet exist:
If your site uses both SalesKing and B2BKing, an agent could create a B2BKing Offer where they can enter any product description and any price - even for products that don't exist on the site yet:
Alternatively, with SalesKing alone, you could create a custom/placeholder product and have the agent edit its price in the cart.
(2) To allow a parent to control subagent commissions:
Currently there's no built-in option for a parent agent to directly control commission rates for their subagents from the dashboard. I think the most viable solution for that would be a customization where commission rules are created programmatically - essentially allowing the parent agent to create/manage rules themselves.
(3) On commission structure:
There's a setting in SalesKing -> Settings -> Commission Calculation called "Subtract parent agent commissions". When enabled, if the total commission is 30% and the parent commission is 5%, it automatically transforms it into 25% + 5% (rather than 30% + 5%).
This setting could be very useful for your case because it effectively sets a maximum limit on the total commission.
To achieve your Scenario 3, I think the best approach would be using "single value" rather than cascading commission. With just 2 rules you can get 30 / 5 / 5:
- Rule 1: 30% commission on all orders
- Rule 2: 16.6666% commission on subagent earnings (single value)
This results in: 30 / 5 / 5. If you used cascading instead, it would result in 30 / 5 / 0.83 - which is probably not what you want.
Admittedly it can get complex and our rules are a bit basic here if you need to combine a lot of different options. It would help to know more about your exact scenarios so we can best advise on it in terms of how to approach the entire project. Sometimes the best solution may involve custom code, and we're happy to help with guidance if that's the case.
Hello everyone, Our development team has been trying to create a custom way for parent agents to set his override commission rates (all subagent earnings (cascading)) through the agent-dashboard. We have tried many ways but most times we arrived at a somewhat limited solution which was deemed not enough for our needs. We have explored creating commission rules with different priorities but ultimately found that, when it comes to override commissions, the get_parent_total_earnings() function does not consider the priority data. We also tried having different rules assigned to different agents but ultimately found that, the plugin picks the commission rule with the highest rate % from the group regardless of agent assigning. The workarounds that we found to work often made group rules (which we want to keep) extremely complex. I write this ticket looking for ways we missed in which this can be done natively. Below is the user story for this customization:
Example: Total Commission = 30%
Scenario 1: Sales Agent w/o Parent
Scenario 2: Sales Agent w/ Parent
Scenario 3: Sales Agent w/ Parent and Grandparent
Also, we would like to know if there is a way for creating quotes for products that are yet to be added to the website. Often customers come to us looking to buy products that will be added in the future and we would like to be able to create these custom quotes in order to not lose the sale. Thank you so much!
Hi Caio,
Thank you for reaching out,
(1) Regarding quotes for products that don't yet exist:
If your site uses both SalesKing and B2BKing, an agent could create a B2BKing Offer where they can enter any product description and any price - even for products that don't exist on the site yet:
https://prnt.sc/Ubo6GWYSj7V-
Alternatively, with SalesKing alone, you could create a custom/placeholder product and have the agent edit its price in the cart.
(2) To allow a parent to control subagent commissions:
Currently there's no built-in option for a parent agent to directly control commission rates for their subagents from the dashboard. I think the most viable solution for that would be a customization where commission rules are created programmatically - essentially allowing the parent agent to create/manage rules themselves.
(3) On commission structure:
There's a setting in SalesKing -> Settings -> Commission Calculation called "Subtract parent agent commissions". When enabled, if the total commission is 30% and the parent commission is 5%, it automatically transforms it into 25% + 5% (rather than 30% + 5%).
This setting could be very useful for your case because it effectively sets a maximum limit on the total commission.
To achieve your Scenario 3, I think the best approach would be using "single value" rather than cascading commission. With just 2 rules you can get 30 / 5 / 5:
- Rule 1: 30% commission on all orders
- Rule 2: 16.6666% commission on subagent earnings (single value)
This results in: 30 / 5 / 5. If you used cascading instead, it would result in 30 / 5 / 0.83 - which is probably not what you want.
Admittedly it can get complex and our rules are a bit basic here if you need to combine a lot of different options. It would help to know more about your exact scenarios so we can best advise on it in terms of how to approach the entire project. Sometimes the best solution may involve custom code, and we're happy to help with guidance if that's the case.
Kind regards,
Stefan