Commision

This topic contains 11 reply and 2 voices, and was last updated by Nayem 9 years, 3 months ago
Viewing 11 Posts - 1 through 11 (of 11 total)
Author Posts
January 11, 2015 at 1:56 am 33776
Nayem Hello, Is it possible to set a minimum amount for commission? Let me clarify my question with a example: Let's say I set my site to a commission of 5 % Then I earn 5 cent on a 1 dollar product and 5 dollar on a 100 dollar product. I want to earn a minimum amount of money per product, let's say 50 cent. So for 10 dollar products and higher the commission will be 5 % and every product cheaper then 10 dollar the commission should be 50 sents. Please help me with this concept. Best regards, Peter
January 11, 2015 at 12:13 pm 33811
Nayem Nayem

Hello Peter,

You can set the different percentage for different seller from their profile. You have to navigate to User->All user and edit user profile and set the percentage. But you can not set the commission on per product price as your example said. We do not have this feature.

Thank you 🙂

January 11, 2015 at 3:44 pm 33838
Peter Thielen Peter Thielen

Is this a feature that will be implemented in the near future?
If not, can you guide me in the right direction to implement this myself?

I don’t think it should be hard to implement. Just put a if statement somewhere that checks if a percentage of a productprice is lower then a fixed amount. If yes – use fixed amount, if no – use commissionpercentage. I just don’t know which files and which functions I should change.

Thanks in advance.

Best regards,

Peter

January 11, 2015 at 3:54 pm 33840
Nayem Nayem

Hello Peter,

We always create our feature on the demand/priority of your customer. I can not make you sure about the possibility of this feature in our update in near future. But if you need this feature urgently then you may hire a expert to make this feature for you.

Thank you 🙂

January 11, 2015 at 4:06 pm 33841
Peter Thielen Peter Thielen

Let me ask again, since it was not answered:
Can you point me in the right direction so I can implement it myself?
Which files contain the commission functionality?

Thanks

January 11, 2015 at 4:22 pm 33843
Nayem Nayem

Hello Peter,

Please open Dokan-plugin/Includes/admin.php. In this file you will see this function- function get_settings_fields() {. In line number 170 you will find the seller percentage settings. This setting is saving through settings API.

Thank you 🙂

January 11, 2015 at 4:30 pm 33845
Peter Thielen Peter Thielen

And in which file are these settings actually used? Because this is just the function that gets the settings.

Thanks in advance.

January 11, 2015 at 6:30 pm 33861
Nayem Nayem

Hello peter,

Please open Dokan-plugin/lib/class.settings-api.php. Data is is saving in this file- class.settings-api.php. I can not provide you more hints because i am not a developer. Also we do not provide support for customization. We only provide support for our built in feature, Installation and configuration of our plugin.

Thank you for understanding 🙂

January 11, 2015 at 6:56 pm 33869
Peter Thielen Peter Thielen

Thanks I will check.

Not even for features that could further improve the plugin?

January 11, 2015 at 7:01 pm 33871
Peter Thielen Peter Thielen

That file doesn’t contain anything about commissions. I am looking for the file where the commission is calculated for a sold product.

January 13, 2015 at 3:39 am 33997
Peter Thielen Peter Thielen

It’s in order_functions.php.

If you want to know how I fixed it, then let me know so I can send it and suggestions on how to fully implement (I can’t add code in the post).

Hope this will be implemented.

Best regards,

Peter

January 13, 2015 at 12:16 pm 34025
Nayem Nayem

Hello Peter,

I am very glad to know that you have fixed your issue. I am marking this topic as resolved.

Thank you 🙂

Viewing 11 Posts - 1 through 11 (of 11 total)