Home Forums WC Vendors Free Support Price of the order on the export in CSV

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
  • #8079
    pignouf
    Participant

    Hi,

    When a vendor export in .CSV the order of a product (in /vendor_dashboard/orders/?orders_for_product=0000), the price of the product, depending of its variations, for each order is not on the CSV. Or just the total of all the orders for this product.
    Do you know if i can do this ?

    Thank you

    #8082
    WC Vendors Support
    Participant

    You would probably want to write a filter to fetch and insert the price.

    wcvendors_csv_headers — Controls the headers of the csv file
    wcvendors_csv_body — Controls the body of the csv file

    Full source here:
    https://github.com/wcvendors/wcvendors/blob/master/classes/front/orders/class-export-csv.php

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