Home Forums WC Vendors Pro Support Manual Payment & Numbers next to Items (#)

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 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #56444
    Yasa
    Participant

    Hi again,
    1) Which file controls the manual payments? I would like to mark as paid when an order completed.

    2) Under earnings next to item names there are numbers inside of parentheses, what are they? I didn’t understand what they stand for, I also attached ss.

    #56488
    Yasa
    Participant

    Let me narrow down my first question. I am already sending completed orders to my payment platform so I can use the same hook to mark it as paid, I already have $order_id and $product_id = $item['product_id']; for completed order.

    All I need is which function or action should I use to set that order as paid, I was messing around with class-commission.php but couldn’t locate the right code.

    Thanks.

    #56489
    WC Vendors Support
    Participant

    1.) https://github.com/wcvendors/wcvendors/blob/dd403d585f0733568abc884790934f9edea5a6c9/classes/admin/class-admin-page.php search for mark_paid for the appropriate code to handle this.

    2.) The numbers in parenthesis is the ‘total_sales’ meta key value. It tells you how many times that product has sold.

    #56496
    Yasa
    Participant

    1) thank you

    2) Those numbers are wrong according to amount of sale BUT I have dropped some rows on pv_comissions before so that might be why :p

    Thanks.

    P.S. I have realized personal commissions does not apply, it is still gathering the global commission on wp_pv_commission.

    #56502
    Anna
    Member

    @canyasa
    Hello,
    1) You can go to: wp admin > woocommerce > commissions to mark any commissions as paid, due or reversed. just tick the check box of the line item you wish to work with, and select the action from the drop down box at the top.
    Youc an also sort the commissions by status (due, paid, reversed) by date, and by vendor.

    2) The number next to the item in the parentheses indicates how many of that item has sold (total sales) on your website.

    #56506
    WC Vendors Support
    Participant

    What’d ya do, forget to click reply, anna? haha 🙂

    2) Those numbers are wrong according to amount of sale BUT I have dropped some rows on pv_comissions before so that might be why :p

    They are from WooCommerce. total_sales = WooCommerce meta key + value. If the value is wrong, it probably means you have test orders, deleted orders, things like that which you arent counting. pv_commission rows have no impact on this meta key value since it is tied to the post_meta of the product not the commission tables.

    #56507
    Anna
    Member

    Yeah- I came back to my desk after being out, and just replied to the forum topic I had open on the screen. 😉 I did not see that you had replied. hehe.

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