• Resolved Picflick

    (@picflick)


    Good day,

    The issue we are facing is that when an order is placed, the commission is calculated on the grand total of their order (uploaded product + selected option). We only want the commission to be calculated on the ORIGINAL product’s price which was uploaded, and NOT the added prices from which the users selects on the PPOM meta category dropdowns.

    EXAMPLE: I purchase a picture for $100 and select printing of $20. We only want the commission to be calculated on the $100 (for the vendor) and not the $20

    Is it possible for us to achieve this? Please can you explain what needs to be done.
    Alternatively, if you can advise another method/workaround/plugin that we can use which will meet our functional requirements

    Thank you very much.

    PicFlick

    • This topic was modified 6 years, 3 months ago by Picflick.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @picflick, thanks for reaching WCMp Support!!

    As we haven’t worked with this plugin, hence it is difficult for us to confirm on the flow. Can you please share the screenshot of the order price of WooCommerce, like shared in the screenshot: https://prnt.sc/kic8qk

    We will wait for your reply.

    Thread Starter Picflick

    (@picflick)

    Thanks for the fast response.
    No problem, I understand its a new plugin for you guys. But am confident that you know how to assist ??
    Sure, the picture you requested is here
    Thank you

    Hi @picflick, thanks for getting in touch with us.

    As you can see here :https://prnt.sc/kirq4a , WCMp calculates the commission on the product price value set under on the order.

    So, it seems like the plugin is adding all the extra value and for the order, it is settings the total value as the product price.

    In order to exclude the extra cost from this product price, you need to do some custom code and pass the actual product cost so WCMp calculates the commission on this only. Can you please ask the plugin author, whether they have any hook/filter, that can use to extract the actual price of the product.

    Then pass that via our plugin. You can find the code on how we are calculating the commission here – https://github.com/dualcube/dc-woocommerce-multi-vendor/blob/master/classes/class-wcmp-calculate-commission.php

    Let us know if you have any further query.

    Thread Starter Picflick

    (@picflick)

    Yeah that is what I thought.
    Thank you, I have asked them and hope that they can assist us.
    PicFlick

    Thread Starter Picflick

    (@picflick)

    Hi there,
    PPOM unfortunately cannot provide us with a solution.
    Based on our requirements above, can you please advise if you guys know of any plugins that will assist us achieving this?
    Thanks,
    PicFlick

    @picflick, in that case, you have to do good amount of custom code and fetch the actual product price from the product_id and pass that in our plugin.

    If you need reference of hook/filter let us know.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Vendor commission calculated only on uploaded product’ is closed to new replies.