Home Forums Theme Support Dokan Admin Commission & Seller Percentage

This topic is: resolved

This topic contains 5 replies, has 2 voices, and was last updated by  towhid 3 years, 9 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #56905

    jacky wong
    Member
    Post count: 100

    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

    #56909

    jacky wong
    Member
    Post count: 100

    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

    #58912

    jacky wong
    Member
    Post count: 100

    Hi

    Can you please advise on this? Thanks

    Regards
    Jacky

    #60128

    towhid
    Participant
    Post count: 4505

    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.

    #60834

    jacky wong
    Member
    Post count: 100

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

    #60851

    towhid
    Participant
    Post count: 4505

    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 6 posts - 1 through 6 (of 6 total)

The topic ‘Admin Commission & Seller Percentage’ is closed to new replies.