Title: Putting custom fields under appropriate column on order details page.
Last modified: September 7, 2022

---

# Putting custom fields under appropriate column on order details page.

 *  Resolved [nrtdesign](https://wordpress.org/support/users/nrtdesign/)
 * (@nrtdesign)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/premium-plugin-question/)
 * How do I put the additional fields under the appropriate column on the order 
   details page? For instance, right now they show up under General, but I want 
   them to display under Shipping fields.
 * Is there a way to accomplish this through filters, or does the Premium Plugin
   provide this ability?
 * Thanks!
    -  This topic was modified 3 years, 8 months ago by [nrtdesign](https://wordpress.org/support/users/nrtdesign/).

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

 *  Plugin Author [ThemeHigh](https://wordpress.org/support/users/themehigh/)
 * (@themehigh)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/premium-plugin-question/#post-15988002)
 * You need to override the Address display format to include the new field along
   with the default billing fields or shipping fields.
 * You can refer to any of the below links for more details:
 * [https://docs.wpovernight.com/woocommerce-print-address-labels/formatting-the-address/](https://docs.wpovernight.com/woocommerce-print-address-labels/formatting-the-address/)
 * [https://stackoverflow.com/questions/36837619/woocommerce-order-formatted-billing-address-reorder-and-custom-billing-field](https://stackoverflow.com/questions/36837619/woocommerce-order-formatted-billing-address-reorder-and-custom-billing-field)
 * We hope this will help 🙂
 * Thank you!
 *  Thread Starter [nrtdesign](https://wordpress.org/support/users/nrtdesign/)
 * (@nrtdesign)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/premium-plugin-question/#post-15989266)
 * This is what I used to add custom fields to the shipping column on the order 
   details page, in case anyone else out there would like to know:
 *     ```
       function my_custom_checkout_field_display_admin_order_meta( $order ){
           $order_id = method_exists( $order, 'get_id' ) ? $order->get_id() : $order->id;
           echo '<p><strong>'.__('Field Name 1').':</strong> ' . get_post_meta( $order_id, 'field_name_1', true ) . '</p>';
           echo '<p><strong>'.__('Field Name 2').':</strong> ' . get_post_meta( $order_id, 'field_name_2', true ) . '</p>';
       }
       add_action( 'woocommerce_admin_order_data_after_shipping_address', 'my_custom_checkout_field_display_admin_order_meta', 10, 1 );
       ```
   
 *  Plugin Author [ThemeHigh](https://wordpress.org/support/users/themehigh/)
 * (@themehigh)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/premium-plugin-question/#post-15993594)
 * Great!

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

The topic ‘Putting custom fields under appropriate column on order details page.’
is closed to new replies.

 * ![](https://ps.w.org/woo-checkout-field-editor-pro/assets/icon-256x256.gif?rev
   =3479964)
 * [Checkout Field Editor (Checkout Manager) for WooCommerce](https://wordpress.org/plugins/woo-checkout-field-editor-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-checkout-field-editor-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-checkout-field-editor-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-checkout-field-editor-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-checkout-field-editor-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-checkout-field-editor-pro/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [ThemeHigh](https://wordpress.org/support/users/themehigh/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/premium-plugin-question/#post-15993594)
 * Status: resolved