Title: umek's Replies | WordPress.org

---

# umek

  [  ](https://wordpress.org/support/users/umek/)

 *   [Profile](https://wordpress.org/support/users/umek/)
 *   [Topics Started](https://wordpress.org/support/users/umek/topics/)
 *   [Replies Created](https://wordpress.org/support/users/umek/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/umek/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/umek/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/umek/engagements/)
 *   [Favorites](https://wordpress.org/support/users/umek/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Print Invoice & Delivery Notes for WooCommerce] Checkout Field Editor for WooCommerce](https://wordpress.org/support/topic/checkout-field-editor-for-woocommerce-2/)
 *  Thread Starter [umek](https://wordpress.org/support/users/umek/)
 * (@umek)
 * [6 years ago](https://wordpress.org/support/topic/checkout-field-editor-for-woocommerce-2/#post-13219400)
 * hi,
 * No luck.
 *     ```
       /**
       * Add this code snippet in functions.php file of your currently active theme.
       * An example that adds a ‘VAT’ and ‘Customer Number’ field to the end of the list.
       */
       function example_custom_order_fields( $fields, $order ) {
       $new_fields = array();
   
       if( get_post_meta( $order->id, ‘vat_number’, true ) ) {
       $new_fields[‘vat_number’] = array(
       ‘label’ => ‘VAT’,
       ‘value’ => get_post_meta( $order->id, ‘vat_number’, true )
       );
       }
   
       if( get_post_meta( $order->id, ‘delivery_first_name’, true ) ) {
       $new_fields[‘delivery_first_name’] = array(
       ‘label’ => ‘Receipient’,
       ‘value’ => get_post_meta( $order->id, ‘delivery_first_name’, true )
       );
       }
   
       return array_merge( $fields, $new_fields );
       }
       add_filter( ‘wcdn_order_info_fields’, ‘example_custom_order_fields’, 10, 2 );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Phone Validator for WooCommerce] Default Country](https://wordpress.org/support/topic/default-country-6/)
 *  Thread Starter [umek](https://wordpress.org/support/users/umek/)
 * (@umek)
 * [6 years ago](https://wordpress.org/support/topic/default-country-6/#post-13189483)
 * thanks so much

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