Home Forums WC Vendors Pro Support Creating another status for commissions besides Due and Paid

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 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #57014
    Alexandre Leite
    Participant

    Hi, all!

    I am currently using the pro version of the plugin to control the workflow for a Digital Certificate marketplace. What is currently happening is that I needed the commission to be triggered not when the payment was confirmed, but only when the order was complete.

    That was the easy part, and with some custom coding I was able to figure it out quite easily. What I needed to do now is a little bit more complicated, and I would appreciate very much if you guys could point me the right direction:

    Even though I don’t want my vendors to be commissioned when a payment is made, I want them to be able to see all the orders that are being processed. The reason is that they are the ones responsible for the processing, and I need them to be aware of how many orders they need to process, and what those orders are.

    How can I insert a new status at the pv_commission table? I already used the constructor on class-commission.php and noted that every query filters by “!= reversed”. So I figure the easiest way would be adding another commission status, perhaps?

    If you guys could just give me some tips on what functions to customize, I would be very very thankful.

    Thanks in advance,
    Alex

    #57083
    Anna
    Member

    Alex,
    This information in our documentation may help you as you attempt to create a new status, or display the information for your vendors:
    http://docs.wcvendors.com/knowledge-base/wcvendors-commission-status/

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