• Resolved niikk

    (@niikk)


    Hello Dokan Support

    We just noticed a strange vendor & admin commission error.

    Our settings:
    – Admin Commission: Flat $1.5
    – Commissionper Product: individual per product

    Now, if we set on a product 2.5$ as a commission for this product then the vendor would see (if a product costs 10$ a earning of 7.5$). But now, if the vendor updates a product info like name or something and submitt for review, then the earning shows 8.5$.

    Means, after every product update from vendor, the commission per product is deleted. When we look into the product in the backend, the value for the admin commission for that product is empty.

    How is this possible? We have the understanding that product base commission is the first commission which dokan check. But why its been deleted after a vendor product update?

    https://wedevs.com/docs/dokan/tutorials/how-to-setup-dokan-vendor-commission/

    Thanks & Cheers

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hello @niikk ,

    I just tested this thoroughly as you explained and I did not face such issues. The product-based commission was saved and it did not go blank after updating the product name.

    Can you please check with the latest version removing any modified code and deactivating other plugins and using a default theme?

    Let me know the update.

    Thank you.

    Thread Starter niikk

    (@niikk)

    hi @rur165

    I did all steps which you mentoined.

    – Deactivate all plugin and theme
    – delete all plugins
    – no custom code

    NO success…

    But.. I setup a new system and there it works as expectet. So then I just moved the Database for testing. And then id worked also on the other site. Means, the error is somewhere in the Database.

    But I have no idea which table is wrong. ??

    UPDATE:
    We found out, that if a vendor use the “Quick edit” function and change something and press the update button on dokan dashboard to modify a product. The commission per product works. So Its only been deleted if a vendor “edit” a product and klick on the “Save Product”.

    The DB row _per_product_admin_commission for a product is empty after a product edit.

    _per_product_admin_commission_type,flat
    _per_product_admin_commission,

    • This reply was modified 4 years, 3 months ago by niikk.
    • This reply was modified 4 years, 3 months ago by niikk.

    Hello @niikk ,

    I just tried with different vendors and some of my other colleagues also tested.

    I found that the problem you are mentioning does not happen for vendors. But if I try from the admin store only then it happens. Is it the same in your case?

    Looking forward to your response.

    Thank you.

    Thread Starter niikk

    (@niikk)

    Hi @rur165

    We have the problems also on vendors.

    Repro steps:
    – Set global admin commission to 2$
    – Login to a vendor account (Not user switch)
    – Product price is 5$ and commission is 4$. => Earning is 1$ for vendor
    – Vendor change now the product name or something
    – Check Commision per product

    In our case the commission per product is empty and the earnings for the vendor is 3$.

    But, as I already mentoined.. If we made the same with the “Quick Edit” function on vendor product dashboard page, then it works. So whats is the different between the button “update” on product quick edit and “save product” on product edit page?

    May I can send you a backup from my Dev System? Or you can check this directly on our dev System? Also maybe I can show some of dokan support guys in a screensharing session the problem.

    Cheers

    • This reply was modified 4 years, 2 months ago by niikk.
    • This reply was modified 4 years, 2 months ago by niikk.
    Thread Starter niikk

    (@niikk)

    Hi @rur165

    Is there something what I can check in the DB? I mean, on a fresh install it works. So it seems this issue is System related. But even if we deactivate all plugins and themes (except dokan lite, dokan pro, woocommerce), it does not work. Also reinstall dokan-lite and dokan pro change something.

    This issue is really ugly and the “Commission per product” is not usable with this error ??

    But, with the quick edit option in vendor dashboard product overview it works. So I guess this has something to do with DB values or the update button process.

    Looking forward to your response.

    Cheers ??

    • This reply was modified 4 years, 2 months ago by niikk.

    Hello @niikk ,

    I understand the situation.

    Our technical support is only for the paid users hence it might not be possible for us to debug the issue with your live site. As the problem is not in the plugin we are also unable to reproduce it for further testing.

    Thank you.

    Thread Starter niikk

    (@niikk)

    Hi @rur165

    Thanks but…

    We are a paying customer! We can reproduce this issue on our DEV system. So maybe you can check there? ??

    Furthermore, it is something in Dokan DB. So it is acuatlly a plugin problem because DB count also I guess ??

    Cheers

    Thread Starter niikk

    (@niikk)

    Hello @rur165

    Now we know that the problem is in a row in wp_options table.
    When we import the wp_options table from a fresh WP, WooComm, Dokan lite and Dokan pro installation it works. So the error is somewhere in wp_options.

    Is there a specific row, which is relevant for commission? So the we can check both tables and row on both system.

    Cheers

    Hello @niikk ,

    First of all, I am sorry I did not realize earlier that the product-wise commission is also a pro only feature. We are not supposed to discuss paid features in this forum and this might be harmful for us as this is a violation of www.remarpro.com forum rules.

    Let’s take this conversation to our support ticket, share your site details so that I can assign one of our developers to check the problem on your site.

    Also, please use the support ticket for any issues related to paid features. You have paid for the support as well so why not use that ??

    You can mention me and this conversation so it will be easier for other support engineers to track the issue fast.

    Thank you.

    Thread Starter niikk

    (@niikk)

    Hello @rur165

    Thanks! ??

    We are able to solve this issue. But we still need some support to check the solution.
    We create a new support case: #424045 – Vendor Commission Error – #150146

    Thanks for making sure, that we get here a speedy feedback ??

    Cheers

    Hello @niikk ,

    I have already replied to the tickets. Please follow up on my updates there.

    Thank you.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Vendor commission error’ is closed to new replies.