Home Forums WC Vendors Free Support [Feature Requiest] Set an fixed AND variable commission rate

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.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #271
    cwazuidema
    Participant

    Hello,

    I would like to have an fixed and variable commission rate.
    It should be 1.95 + 15% commission.
    Is this possible?

    I already saw in the documentation to set up a fixed rate:

    add_filter( ‘pv_commission_rate’, ‘my_pv_custom_filter’, 10, 3 );
    function my_pv_custom_filter( $commission, $product_id, $product_price ) {
    return PV_Commission::get_commission_rate( $product_id );
    }

    Wat should I do?

    Thank you for your great support!

    Chris

    #273
    WC Vendors Support
    Participant

    That would work for Matt’s plugin, but not for WC Vendors. For our plugin, you want to change PV_Commission to WCV_Commission for that to function without errors. Still, it’s simply a percentage OR a dollar amount, not both. I dont really see us adding both as a combination as an option since your the only person in 3 years to ask for it. Perhaps in a future release, but not right now.

    Ben

    #280
    Jamie
    Keymaster

    Hello,

    Just a note, this filter will only allow you to put a fixed amount in, not a fee + percentage as requested. The plugin currently doesn’t support this but I will add it to the wish list.

    cheers,

    #283
    cwazuidema
    Participant

    That would be great!

    Thanks for your support,
    I will soon upgrade to this Plugin instead the “old” one of Matt.

    I’m also open to donate to you guys if some features can be added sooner!

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