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 to see the link]
- The topic ‘Adding Custom Fields To Export’ is closed to new replies.