Title: Custom Column for Customer&#8217;s Notes?
Last modified: October 4, 2018

---

# Custom Column for Customer’s Notes?

 *  Resolved [wallacelin](https://wordpress.org/support/users/wallacelin/)
 * (@wallacelin)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/custom-column-for-customers-notes/)
 * Hello, I’m trying to add a custom column on the orders admin page to display 
   a customer’s note for an order. I’ve added my custom column before to display
   custom fields, but I cannot figured this one out.
 * To clarify, I am not talking about the private order notes you can add from the
   right sidebar in the edit order page, but the notes left by the customers from
   front-end checkout. I also want to display the note’s text in its entirety, not
   an icon with note inside of a tooltip pop-up.
 * How can I achieve this? What post ID should I be using to grab the customer’s
   notes? Any help would be appreciated.

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

 *  Thread Starter [wallacelin](https://wordpress.org/support/users/wallacelin/)
 * (@wallacelin)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/custom-column-for-customers-notes/#post-10750673)
 * Update: I successfully added the column and have customer’s notes on it. My code
   is as follow:
 *     ```
       /* Add column "Order Notes" on orders page to display Customer's Notes */
       add_filter('manage_edit-shop_order_columns', 'add_customer_note_column_header');
       function add_customer_note_column_header($columns) {
   
         $new_columns = (is_array($columns)) ? $columns : array();
   
         $new_columns['order_customer_note'] = 'Order Notes';
   
         return $new_columns;
       }
       /* End of adding "Order Notes" column */
       add_action('admin_print_styles', 'add_customer_note_column_style');
       function add_customer_note_column_style() {
         $css = '.widefat .column-order_customer_note { width: 15%; }';
         wp_add_inline_style('woocommerce_admin_styles', $css);
       }
   
       /* Add Customer's Notes to the "Order Notes" column */
       add_action('manage_shop_order_posts_custom_column', 'add_customer_note_column_content');
       function add_customer_note_column_content($column) {
   
         global $post, $the_order;
   
         if(empty($the_order) || $the_order->get_id() != $post->ID) {
           $the_order = wc_get_order($post->ID);
         }
   
         $customer_note = $the_order->get_customer_note();
         if($column == 'order_customer_note') {
           echo('<span class="order-customer-note">' . $customer_note . '</span>');
         }
   
       }
       ```
   
 * However, I’d like to move it “forward” to between the “Status” and “Ship to” 
   columns, and if possible have the same width as “Ship to”. How can I do this?
 *  Plugin Support [slash1andy](https://wordpress.org/support/users/slash1andy/)
 * (@slash1andy)
 * Automattic Happiness Engineer
 * [7 years, 6 months ago](https://wordpress.org/support/topic/custom-column-for-customers-notes/#post-10799973)
 * Hey there!
 * I’d ask your question in the Advanced WooCommerce Group on Facebook ([https://www.facebook.com/groups/advanced.woocommerce](https://www.facebook.com/groups/advanced.woocommerce))
   to see if someone can help you out there, as they are more in the developer side
   of things.
 * We also highly recommend contacting one of the services on our Customizations
   page ([https://woocommerce.com/customizations/](https://woocommerce.com/customizations/))
 *  [Deto](https://wordpress.org/support/users/deto/)
 * (@deto)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/custom-column-for-customers-notes/#post-11070734)
 * Finally found what I was looking for!
    A column that’s showing the customer notes
   without having to hover over it. Great work and thanks for sharing! 😀

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

The topic ‘Custom Column for Customer’s Notes?’ 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

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

 * 3 replies
 * 3 participants
 * Last reply from: [Deto](https://wordpress.org/support/users/deto/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/custom-column-for-customers-notes/#post-11070734)
 * Status: resolved