Admin Commission & Seller Percentage

This topic contains 5 reply and 2 voices, and was last updated by towhid 9 years, 4 months ago
Viewing 5 Posts - 1 through 5 (of 5 total)
Author Posts
July 25, 2015 at 7:57 pm 56905
towhid Hi, The admin commission for each sales should be calculated as (Total Item Price + Total shipping & handling fees) x % of admin commission *******NOT******* Total Item Price x % of admin commission. As sellers can set the product price as free and charge everything as the shipping cost. Which means the admin gets nothing. This is a BIG loophole!! Even Ebay will use final value which is (item price + postage and handling charges) to calculate the fees that they charge for each sale. Can you please advise on this? Thanks Regards Jacky
July 25, 2015 at 9:42 pm 56909
jacky wong jacky wong

Hi

I found this ‘net_amount’ => ($order->order_total * $percentage)/100, in /plugins/dokan/includes/function.php line 312. Is this the equation that calculates the commission for the admin?

If i would like to include shipping cost and all other extra cost as part of the sale, how can i amend this? Do i have to amend other files too?

Thanks

Regards
Jacky

July 26, 2015 at 11:58 am 58912
jacky wong jacky wong

Hi

Can you please advise on this? Thanks

Regards
Jacky

July 26, 2015 at 5:59 pm 60128
towhid towhid

Hello Jacky,

You have to assign users shipping cost and other extra costs into a variable. You need to create a couple of function for getting the shipping cost and extra cost for that particular seller. Then assign the variable into this array value – 'net_amount' => ($order->order_total * $percentage)/100. Which will help you to meet the requirements.

If you can not create a function or accomplish the flow of logic then I will request you to please hire a developer. A developer knows how to implement a logic.

July 26, 2015 at 9:52 pm 60834
jacky wong jacky wong

I have fixed the problem by amending order function.php file. Thx

July 27, 2015 at 10:23 am 60851
towhid towhid

Hello Jacky,

I am glad to know that you have fixed the problem. I am going to mark this topic as resolved and closed.

Thanks

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