Title: Product Item missing
Last modified: April 7, 2021

---

# Product Item missing

 *  Resolved [jennyong](https://wordpress.org/support/users/jennyong/)
 * (@jennyong)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/product-item-missing/)
 * Hi, when I try to print receipt, first two product meta missing from receipt 
   printing. I can view the order from dashboard WooCommerce orders but not in the
   receipt.
 * For your information, I am using Gravity Forms Product Add-Ons
 * Thank you.
    -  This topic was modified 5 years, 4 months ago by [jennyong](https://wordpress.org/support/users/jennyong/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproduct-item-missing%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [Upendra Kapse](https://wordpress.org/support/users/wpupen/)
 * (@wpupen)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/product-item-missing/#post-14552156)
 * Hi [@jennyong](https://wordpress.org/support/users/jennyong/),
 * First of all, apologies for the delay in getting back to you on this.
 * Are you saying that the fields added with the Gravity Forms Product add-ons plugin
   are not coming in the Invoice? If yes, I recommend you to use the below mentioned
   filter to add these fields to the Invoice using their meta keys:
 *     ```
       /**
        * 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, 'your_meta_field_name', true ) ) {
               $new_fields['your_meta_field_name'] = array( 
                   'label' => 'VAT',
                   'value' => get_post_meta( $order->id, 'your_meta_field_name', true )
               );
           }
   
           if( get_post_meta( $order->id, 'your_meta_field_name', true ) ) {
               $new_fields['your_meta_field_name'] = array( 
                   'label' => 'Customer Number',
                   'value' => get_post_meta( $order->id, 'your_meta_field_name', true )
               );
           }
   
           return array_merge( $fields, $new_fields );
       }
       add_filter( 'wcdn_order_info_fields', 'example_custom_order_fields', 10, 2 );
       ```
   
 * Instead of the VAT ID and Customer number examples in the above snippet you can
   add your fields added using the Gravity Forms plugin using the meta keys for 
   those fields.
 * Kind Regards,
    Upendra.

Viewing 1 replies (of 1 total)

The topic ‘Product Item missing’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-delivery-notes/assets/icon-256x256.jpg?rev=2829362)
 * [Print Invoice & Delivery Notes for WooCommerce](https://wordpress.org/plugins/woocommerce-delivery-notes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-delivery-notes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-delivery-notes/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-delivery-notes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-delivery-notes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-delivery-notes/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Upendra Kapse](https://wordpress.org/support/users/wpupen/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/product-item-missing/#post-14552156)
 * Status: resolved