Title: Missing details
Last modified: August 21, 2016

---

# Missing details

 *  Resolved [mathysjp](https://wordpress.org/support/users/mathysjp/)
 * (@mathysjp)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/missing-details/)
 * Hi
    I use Print Invoices & Delivery Notes for WooCommerce Orders. Version 3.0.3
 * I make the update today morning. After the update the company logo is no more
   show and printing.
 * An other failure ist that the SKU is no mor visible on the invoice. That is a
   big problem vor me!
 * Cheers
    Jean-Pierre
 * [https://wordpress.org/plugins/woocommerce-delivery-notes/](https://wordpress.org/plugins/woocommerce-delivery-notes/)

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/topic/missing-details/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/missing-details/page/2/?output_format=md)

 *  [Sam Steiner](https://wordpress.org/support/users/magganpice/)
 * (@magganpice)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/missing-details/#post-4782407)
 * The product numbers are missing as well! (very important for a delivery note).
 *  [piffpaffpuff](https://wordpress.org/support/users/chabis/)
 * (@chabis)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/missing-details/#post-4782435)
 * [@mathysjp](https://wordpress.org/support/users/mathysjp/) check you print settings
   in the woocommerce menu.
 * besides that, the structure for additional product fields has changed in the 
   template. use the new `wcdn_order_item_fields` hook to add your own additional
   product fields (like sku).
 *     ```
       function my_custom_product_fields($fields, $product, $order) {
       	if( isset( $product->get_sku() ) ) {
       		$fields[] = array(
       			'label' => 'SKU:',
       			'value' => $product->get_sku()
       		);
       	}
       	return $fields;
       }
       add_filter( 'wcdn_order_item_fields', 'my_custom_product_fields', 10, 3);
       ```
   
 *  [piffpaffpuff](https://wordpress.org/support/users/chabis/)
 * (@chabis)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/missing-details/#post-4782437)
 * look at the woocommerce docs to learn what info you can get from your product:
 * [http://docs.woothemes.com/wc-apidocs/class-WC_Product.html](http://docs.woothemes.com/wc-apidocs/class-WC_Product.html)
 *  [piffpaffpuff](https://wordpress.org/support/users/chabis/)
 * (@chabis)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/missing-details/#post-4782439)
 * but i can also include some standard fields by default. what would be important
   fo you?
 *  Thread Starter [mathysjp](https://wordpress.org/support/users/mathysjp/)
 * (@mathysjp)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/missing-details/#post-4782443)
 * Hi
    I think SKU is the most important for the moment.
 *  Thread Starter [mathysjp](https://wordpress.org/support/users/mathysjp/)
 * (@mathysjp)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/missing-details/#post-4782445)
 * I use your code from top but it doesn’t work.
    I put the code in the function.
   php from my theme. –> error 404
 *  [piffpaffpuff](https://wordpress.org/support/users/chabis/)
 * (@chabis)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/missing-details/#post-4782481)
 * please update to the latest version. there was an issue with the endpoint: [http://wordpress.org/support/topic/wont-print-after-update?replies=11](http://wordpress.org/support/topic/wont-print-after-update?replies=11)
 *  Thread Starter [mathysjp](https://wordpress.org/support/users/mathysjp/)
 * (@mathysjp)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/missing-details/#post-4782483)
 * Use: Print Invoices & Delivery Notes for WooCommerce Orders.
    Version 3.0.4
 * If I put the Code (top) to my function.php (from theme) I have this –>
 * Fatal error: Can’t use method return value in write context in /home/httpd/vhosts/
   blog.swiss-paracord.ch/httpdocs/wp-content/themes/***/functions.php on line 285
 * before (old version) only the print preview give a 404 failure.
 *  [piffpaffpuff](https://wordpress.org/support/users/chabis/)
 * (@chabis)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/missing-details/#post-4782505)
 * ah i see. try it like that:
 *     ```
       function my_custom_product_fields($fields, $product, $order) {
       		$fields[] = array(
       			'label' => 'SKU:',
       			'value' => $product->get_sku()
       		);
       	return $fields;
       }
       add_filter( 'wcdn_order_item_fields', 'my_custom_product_fields', 10, 3);
       ```
   
 *  Thread Starter [mathysjp](https://wordpress.org/support/users/mathysjp/)
 * (@mathysjp)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/missing-details/#post-4782515)
 * Hi
    Ok, that works. The SKU ist dispayed
 * Two other question
 * – Why is the company Logo not displayed?
 * How can I solve the problem [http://abload.de/img/07.04e1u9f.jpg](http://abload.de/img/07.04e1u9f.jpg)
   
   Want the prices more on the right side or what can I do if I doesn´t want a linebreak
   in the sku?
 *  [reikob](https://wordpress.org/support/users/reikob/)
 * (@reikob)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/missing-details/#post-4782536)
 * Thanks – that last one fixed it for me…was in a panic about the sku not showing
   up!
 *  [piffpaffpuff](https://wordpress.org/support/users/chabis/)
 * (@chabis)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/missing-details/#post-4782539)
 * [@mathysjp](https://wordpress.org/support/users/mathysjp/) try to chose your 
   logo again, and the save the settings. does that work?
 * for the other changes, this can be done with some css. it would be a chance for
   you to learn it ;-). but if you like it the easy way, here’s the code:
 *     ```
       function my_custom_style() {
           ?>
               <style>
                   .order-items .total-heading,
                   .order-items .product-price,
                   .order-items .total-price {
                       text-align: right;
                   }
               </style>
           <?php
       }
       add_action( 'wcdn_head', 'my_custom_style', 20 );
       ```
   
 * btw: there are examples in the [faq](http://wordpress.org/plugins/woocommerce-delivery-notes/faq/)
   that show you how to modify the look of the template.
 *  Thread Starter [mathysjp](https://wordpress.org/support/users/mathysjp/)
 * (@mathysjp)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/missing-details/#post-4782565)
 * Hi
    Thank you for your last update –> Print Invoices & Delivery Notes for WooCommerce
   Orders. Version 3.0.5
 * I remove the “sku code” from my function.php file and it works. All Sku’s are
   displayed.
 * Also your CSS Code works fine, now I have a clean print out. Thank you for that.
 * But the company logo is allways not show.
    I remove them -> save -> and add new-
   > save –> no displayed logo
 * And an other question to the print out design.
    How can I set the SKU to a new
   line under the product text. I have in some special cases a long SKU with a line
   break. Thank you.
 * If these two problems are fixed the plugin is perfect!
 *  [piffpaffpuff](https://wordpress.org/support/users/chabis/)
 * (@chabis)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/missing-details/#post-4782566)
 * What file format has your logo? Did it print correctly on the old plugin version?
 *  Thread Starter [mathysjp](https://wordpress.org/support/users/mathysjp/)
 * (@mathysjp)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/missing-details/#post-4782567)
 * It is a .png file

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/topic/missing-details/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/missing-details/page/2/?output_format=md)

The topic ‘Missing details’ 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/)

 * 23 replies
 * 5 participants
 * Last reply from: [mathysjp](https://wordpress.org/support/users/mathysjp/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/missing-details/page/2/#post-4782654)
 * Status: resolved