Home Forums WC Vendors Free Support "Commission" field on WooCommerce Edit Product screen

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.


Thank you to all of our customers!


Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #8327
    Michael Kaulkin

    On the Edit Product screen for a WooCommerce product, in the Product Data block, there is a Commission tab. It looks to me like it’s there so one can override the vendor’s commission for that particular product. It has never worked. Am I missing something?

    But more to the point, for my purposes, would there be a way to globally set it so that downloadable products have a different commission rate than the shipped products?

    Many thanks.

    WC Vendors Support

    There’s 3 ways to set commissions:

    1.) Globally (WC Vendors Settings)

    2.) Per Vendor (User Settings)

    3.) Per Product (Product Settings)

    First we check for #3, if doesnt exist, #2, if doesnt exist, #1. Easy as that!

    There’s no way to set a global rate different than other product types as its written now, unless you customized the plugin to check that and do that.

    Michael Kaulkin

    That makes sense, and I’m fine doing it per product. The problem is that it doesn’t work. Orders for products where that is set up are reporting commissions from the global value.

    As for customizing the plugin, are there any hooks that would make that practical?

    Many thanks!

    WC Vendors Support

    That’s strange. I tested this on our development server:

    1.) Added a product named “Test” and assigned it to a test vendor with a price of $1.00. Commission is normally 50/50 on our test server.

    2.) When adding the product named “Test” I clicked “Commission” and set the commission % to “1” (make sure you just enter a number, not “1%”, but “1”.

    3.) Purchased product, verified commission was given of $0.01.

    Let me know if this helps…….

    As for a global rate for downloads only, you could use the filter “wcv_commission_rate” to return any commission you like. As it’s a filter, you can be incredibly creative with this. Here’s an example of what that filter can do:



    As you can see, the world is yours with the filter. You could run a check to look at the products type (aka _downloadable = yes) and then return a rate, else do something else.

    Michael Kaulkin

    The wcv_commission_rate looks perfect. Does it fire when the product is created or when the sale happens, or…? That part is not clear, but I will try it!

    Not sure what more to say about the product-level commission not working. I’ve been doing it without the % signs. The hook looks promising, though, so I will leave it at that for now, though.

    Many thanks for your help!

    WC Vendors Support

    https://github.com/wcvendors/wcvendors/blob/master/classes/class-commission.php you can see the filter on that page of code. Nice thing about github, just search the filter name and you can see what they do when they fire. 🙂 Have fun with the filter.


    Michael Kaulkin

    Hi Ben,

    Sorry to open this up again, but I still can’t get this to work. I have tried working with the filter you suggested and came up with this:

    add_filter( 'wcv_commission_rate', array($this, 'my_wcv_commission_rate'), 10, 4 );
    function my_wcv_commission_rate( $commission, $product_id, $product_price, $order ) {
    $product = get_product( $product_id );
    //if it's downloadable
    if ($product->is_downloadable) {
    $commission = $product_price/2;
    $commission = round( $commission, 2 );

    return $commission;

    It should be really simple: our products are available in either printed or downloadable form. If it’s the download version, the commission is 50%. The default commission is 40%, so I want to override that in this case. So far, neither setting it at the product level, nor this filter does the trick.

    Thank you!


    WC Vendors Support

    Check the product for a meta key/value of:

    _downloadable = yes

    If that exists, then it’s a download. 🙂

    If _downloadable = no or does not exist, then it’s not a downloadable product.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘WC Vendors Free Support’ is closed to new topics and replies.