Title: Adding Custom Fields To Export
Last modified: November 1, 2017

---

# Adding Custom Fields To Export

 *  Resolved [ghosttours](https://wordpress.org/support/users/ghosttours/)
 * (@ghosttours)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/adding-custom-fields-to-export/)
 * Hello,
 * Firstly, thank you for this plugin, it is brilliant!
 * The export has almost everything I need, with the exception of 2 custom fields…
   well, one custom field and one custom checkout field.
 * Addition 1
    In our products, we have an entry for “expected_date” which we put
   the date the customer will attend our tour on (we are in tourism). This then 
   gets imported into our accounting software as the “promised date” for reporting
   from our accounting package. The “expected_date” is setup in the product itself
   as a custom field. I was wondering how I can add this field to the export please(
   also where I need to add it into, etc please).
 * Addition 2
    During the checkout process, we have had some custom work done to
   the php files to add in a “How did you hear about us” question. Customers then
   select their response from a drop down menu. I would also like this to be exported
   with your plugin too please. It is currently setup in a plugin called “woocommerce-
   simply-order-export” that our web developer a few years back installed and setup.
   This is the code that the simply export plugin uses to grab that field:
 * /**
    * Check if we need found by option. */ if( !empty( $fields[‘wc_settings_tab_found_by’])&&
   $fields[‘wc_settings_tab_found_by’] === true ) array_push( $csv_values, self::
   customer_meta( get_the_ID(), ‘_billing_howdidyoufindus’ ) );
 * I was wanting to add that field to your plugin export as well, then our export
   will be absolutely perfect. If you are able to help me, would be greatly appreciated.
 * At present, we are using the free version of your plugin, but if I can get the
   report customised to what we need (which is just accomplishing the above to be
   added to the export), I am 100% confident that we will purchase the plugin so
   we have all features unlocked.
 * Any help you can offer would be greatly appreciated.
 * Thank you in advance 🙂
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fadding-custom-fields-to-export%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/adding-custom-fields-to-export/#post-9639427)
 * Hello
 * 1. Please, check 1st question in [faq](https://wordpress.org/plugins/woo-order-export-lite/#faq)
 * 2. Please, open section “Setup Fields” and click “Add Field”.
    Will you see _billing_howdidyoufindus
   in 1st dropdown ? If Yes – select it , fill Column name and press “Confirm”
 * thanks, Alex
 *  Thread Starter [ghosttours](https://wordpress.org/support/users/ghosttours/)
 * (@ghosttours)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/adding-custom-fields-to-export/#post-9639473)
 * Hello Alex,
 * I did that step looking for the “expected_date”, but couldnt find it. I didnt
   think for a second to look for the howdidyoufindus field, as it was custom text,
   but it is there, which is awesome, so 1 problem solved, many thanks 🙂
 * With the “expected_date” one, any chance of getting what code needs to be added
   for that one, and where I should add it. It is definitely not in that list. It
   is just setup as a custom field on the product itself within woocommerce.
 * Many thanks for your help this far, having that will help tremendously with a
   report I need for tomorrow, having the expected date will help me even further.
 * Thanks again for your help so far, hopefully I can get some help with that custom
   field “expected_date” and this plugin will be perfect for us.
 * Many thanks
 * Rick
 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/adding-custom-fields-to-export/#post-9639495)
 * Hello Rick
 * Could you submit [the ticket](https://algolplus.freshdesk.com/) and upload the
   screenshot of the order OR the screenshot of this product ? ( only section with“
   expected_date” filled)
 * thanks, Alex
 *  Thread Starter [ghosttours](https://wordpress.org/support/users/ghosttours/)
 * (@ghosttours)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/adding-custom-fields-to-export/#post-9639561)
 * Hello Alex,
 * Thank you for your quick reply again, awesome to see great support for a product!
 * I have submitted the ticket for you with the screen shot.
 * Thanks again Alex, I look forward to hearing from you!
 * Rick
 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/adding-custom-fields-to-export/#post-9639650)
 * The solution was described [https://wordpress.org/plugins/woo-order-export-lite/#faq](https://wordpress.org/plugins/woo-order-export-lite/#faq),
   1st question

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Adding Custom Fields To Export’ is closed to new replies.

 * ![](https://ps.w.org/woo-order-export-lite/assets/icon-256x256.png?rev=1365554)
 * [Advanced Order Export For WooCommerce](https://wordpress.org/plugins/woo-order-export-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-order-export-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-order-export-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-order-export-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-order-export-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-order-export-lite/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [algol.plus](https://wordpress.org/support/users/algolplus/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/adding-custom-fields-to-export/#post-9639650)
 * Status: resolved