Disable commission when vendor buy his own product

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WC Marketplace Disable commission when vendor buy his own product

Viewing 1 reply thread
  • Author
    • #101522

      Good morning,

      I have a recurring problem with my vendors and I would like to solve the problem directly in the code.

      To explain, I would like that when a seller buys his own product, no commission should be applied to him.

      It’s simple, but I can’t find the documentation to solve this problem.

      Thank you in advance.
      My warmest regards,

    • #105996
      WCFM Forum


      Please add this code to your site to disable vendor’s own product commission –

      add_filter( 'wcfm_is_allow_vendor_own_product_commission', '__return_false' );

      Add this code to your child theme’s functions.php
      In case you do not have child theme then add code using this plugin –¬†https://wordpress.org/plugins/code-snippets/

      Thank You

Viewing 1 reply thread
  • You must be logged in to reply to this topic.