Title: export a customer note/&quot;comment&quot;.
Last modified: September 1, 2016

---

# export a customer note/"comment".

 *  [jenrgee](https://wordpress.org/support/users/jenrgee/)
 * (@jenrgee)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/export-a-customer-notecomment/)
 * I am trying to figure out how to export a customer note/”comment”. I have done
   it before but it’s been several months and I can’t figure out why it isn’t working
   now.
 * In the woocommerce/includes/class-wc-checkout.php, I added the following.
    However,
   this information is not appearing in the individual orders or in the exports.
 *  woocommerce_form_field( ‘my_field_for class’, array(
    ‘type’ => ‘text’, ‘class’
   => array(‘my-field-class form-row-wide’), ‘label’ => __(‘Who is eating lunch?
   Please provide student(s) name & classroom(s)’), ‘placeholder’ => __(‘e.g. Sally/
   1st, Michael/KH, Parent’),
 *  ), $checkout->get_value( ‘my_field_name’ ));
 *  echo ‘</div>’;
 * [https://wordpress.org/plugins/woocommerce/](https://wordpress.org/plugins/woocommerce/)

Viewing 1 replies (of 1 total)

 *  [Caleb Burks](https://wordpress.org/support/users/icaleb/)
 * (@icaleb)
 * Automattic Happiness Engineer
 * [9 years, 8 months ago](https://wordpress.org/support/topic/export-a-customer-notecomment/#post-7716687)
 * You shouldn’t be editing that file. Your changes will be lost on update, plus
   it is never wise to edit the core code.
 * See this guide on adding custom checkout fields: [https://docs.woocommerce.com/document/tutorial-customising-checkout-fields-using-actions-and-filters/](https://docs.woocommerce.com/document/tutorial-customising-checkout-fields-using-actions-and-filters/)
 * If you can’t quite figure out the code you need for this or how to do it, then
   you may need to hire a developer or use an extension like [Checkout Field Editor](https://woocommerce.com/products/woocommerce-checkout-field-editor/).

Viewing 1 replies (of 1 total)

The topic ‘export a customer note/"comment".’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [comment](https://wordpress.org/support/topic-tag/comment/)
 * [Customer Note](https://wordpress.org/support/topic-tag/customer-note/)
 * [export](https://wordpress.org/support/topic-tag/export/)

 * 1 reply
 * 2 participants
 * Last reply from: [Caleb Burks](https://wordpress.org/support/users/icaleb/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/export-a-customer-notecomment/#post-7716687)
 * Status: not resolved