If I understand correctly, you're looking to configure a registration form for agents?
You would need to make this form set 2 user meta keys:
- salesking_user_choice must have the value agent
- salesking_group must have the value of a an agent group ID (e.g. 1234). To get the group ID, you can go to SalesKing -> Groups and click on a group, the number in the URL is the ID.
Most forms plugins like WPForms, Gravity Forms will have an option to set user meta keys.
Let me know if I can help with anything, or if you have any questions,
I am really impressed with your services, plugin, and support. Thanks to all!
As we have discussed on facebook, please provide me a snippet to limit agents by customers.
Your message:
Hi Manish,
Do you mean you would like to set a customer limit per agent group? So that for example agent group X has maximum 25 customers and group Y maximum 50 customers?
I think we could help to do that with a code snippet. I am thinking that snippet would make the 'add customer' button grayed out and show a message such as 'you have already reached the X customer limit'. Would that help? If so, it would be best if you please opened a ticket so we can follow up on this there.
1. A custom date to calculate commission instead of last 30 days which is by default there. For ex: The commission period will be 21st January 2023 to 20th February 2023. Means it will be a period of 21st to 20th each month.
2. Is there any snippet to change word "Agent" to "Partner"? When I will do it manually by editing plugin files, it will not be a good option. Because, whenever we will update plugin the hard coded words will be removed.
Yes, it is possible to change every text/string in the plugin. The method I would advise to use is through the free 'Loco Translate' plugin. Basically the way it works is that you create a "translation" in the same language of your site, and that will overwrite default text (no need to 'translate' to a different language). This way you can change 'Agent' to 'Partner' and change any text to anything you want.
I see there are a few different areas, in Earnings, and on the Dashboard page that use 'last 30 days' calculations.
I don't think it's something I can add directly unfortunately because it involves many different changes.
If you would like, what I can do is the following: I can make a modification to the plugin to allow you to copy page templates to your child theme, and modify the PHP templates directly. That way you could copy earnings.php to your child theme and edit it directly to make any changes you want to the Earnings dashboard page. Would that help?
I hope you are feeling better, and we're wishing you good health,
Yes, this plugin version includes the previous changes I sent you. You can upload to this version, and to any other future version of the plugin (We have merged the changes with the main codebase, so feel free to keep the plugin updated to the latest versions).
How can I automatically asign some users as agent when registering through a different registration form.
(In short, auto assign agent capability).
Hi Manish,
If I understand correctly, you're looking to configure a registration form for agents?
You would need to make this form set 2 user meta keys:
- salesking_user_choice must have the value agent
- salesking_group must have the value of a an agent group ID (e.g. 1234). To get the group ID, you can go to SalesKing -> Groups and click on a group, the number in the URL is the ID.
Most forms plugins like WPForms, Gravity Forms will have an option to set user meta keys.
Let me know if I can help with anything, or if you have any questions,
Kind regards,
Stefan
Hello Team,
I am really impressed with your services, plugin, and support. Thanks to all!
As we have discussed on facebook, please provide me a snippet to limit agents by customers.
Your message:
Hi Manish,
Do you mean you would like to set a customer limit per agent group? So that for example agent group X has maximum 25 customers and group Y maximum 50 customers?
I think we could help to do that with a code snippet. I am thinking that snippet would make the 'add customer' button grayed out and show a message such as 'you have already reached the X customer limit'. Would that help? If so, it would be best if you please opened a ticket so we can follow up on this there.
Dear Webwizards Team,
You are doing really a great job.
I want to get these two options more:
1. A custom date to calculate commission instead of last 30 days which is by default there. For ex: The commission period will be 21st January 2023 to 20th February 2023. Means it will be a period of 21st to 20th each month.
2. Is there any snippet to change word "Agent" to "Partner"? When I will do it manually by editing plugin files, it will not be a good option. Because, whenever we will update plugin the hard coded words will be removed.
Hoping to get help for these two.
Hello Team,
Any update?
Hi Manish,
Regarding 2):
Yes, it is possible to change every text/string in the plugin. The method I would advise to use is through the free 'Loco Translate' plugin. Basically the way it works is that you create a "translation" in the same language of your site, and that will overwrite default text (no need to 'translate' to a different language). This way you can change 'Agent' to 'Partner' and change any text to anything you want.
I would advise to please see our guide here: https://woocommerce-b2b-plugin.com/docs/how-to-edit-any-plugin-text-string-same-language/ - it's written for the B2BKing plugin but it's the same method for SalesKing as well.
1)
I see there are a few different areas, in Earnings, and on the Dashboard page that use 'last 30 days' calculations.
I don't think it's something I can add directly unfortunately because it involves many different changes.
If you would like, what I can do is the following: I can make a modification to the plugin to allow you to copy page templates to your child theme, and modify the PHP templates directly. That way you could copy earnings.php to your child theme and edit it directly to make any changes you want to the Earnings dashboard page. Would that help?
Kind regards,
Stefan
Hi Manish,
I hope you are feeling better, and we're wishing you good health,
Yes, this plugin version includes the previous changes I sent you. You can upload to this version, and to any other future version of the plugin (We have merged the changes with the main codebase, so feel free to keep the plugin updated to the latest versions).
Kind regards,
Stefan