Title: kluver's Replies | WordPress.org

---

# kluver

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

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

 Search replies:

## Forum Replies Created

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

1 [2](https://wordpress.org/support/users/kluver/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/kluver/replies/page/3/?output_format=md)…
[50](https://wordpress.org/support/users/kluver/replies/page/50/?output_format=md)
[51](https://wordpress.org/support/users/kluver/replies/page/51/?output_format=md)
[52](https://wordpress.org/support/users/kluver/replies/page/52/?output_format=md)
[→](https://wordpress.org/support/users/kluver/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] HTML code sent while sending order notification](https://wordpress.org/support/topic/html-code-sent-while-sending-order-notification/)
 *  Plugin Contributor [kluver](https://wordpress.org/support/users/kluver/)
 * (@kluver)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/html-code-sent-while-sending-order-notification/#post-18122400)
 * Can you tell us which plugin was the culprit, and how you managed to solve this?
   So we can inform other users that are running into the same issue. Or inform 
   users that view this thread looking for a solution.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] HTML code sent while sending order notification](https://wordpress.org/support/topic/html-code-sent-while-sending-order-notification/)
 *  Plugin Contributor [kluver](https://wordpress.org/support/users/kluver/)
 * (@kluver)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/html-code-sent-while-sending-order-notification/#post-18122329)
 * Our plugin does not make any adjustments to the email itself. It simply attaches
   the invoice to it.
 * We’ve received another notice about this issue, and it seems what both cases 
   have in common is that they make use of the YayMail plugin. Would it be possible
   for you to run a test with only WooCommerce and our PDF Invoices plugin enabled?
   If this solves the issue we know there is a third party plugin conflict.
 * You can then enable all other plugins one-by-one, running a test in between, 
   to see when the issue arrises again. This way we can find the culprit.
 * As mentioned I suspect this might be related to the YayMail plugin. But we can
   only know for sure after such a test is performed.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Errors when downloading invoices if I use a logo](https://wordpress.org/support/topic/errors-when-downloading-invoices-if-i-use-a-logo/)
 *  Plugin Contributor [kluver](https://wordpress.org/support/users/kluver/)
 * (@kluver)
 * [2 years ago](https://wordpress.org/support/topic/errors-when-downloading-invoices-if-i-use-a-logo/#post-17870430)
 * Yes, you can for instance use JPEG. But beware that this will only solve your
   problem for new invoices. We follow GAAP (_Generally Accepted Accounting Principles_)
   which states an invoice should be immutable after issuing. Therefore we store
   data from the invoice in the order meta. This data is then used to generate the
   PDF file whenever the invoice is requested again.
 * One of the things that is stored, is the path to the logo image that was set 
   when the invoice was created for the first time. So if you switch the logo on
   your invoice to a JPEG file, the already generated invoices will still point 
   to the PNG file.
 * However you can regenerate invoices with the latest settings if you wish. More
   information on how to do that can be found here: [https://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/show-pdf-documents-with-the-latest-settings/](https://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/show-pdf-documents-with-the-latest-settings/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Errors when downloading invoices if I use a logo](https://wordpress.org/support/topic/errors-when-downloading-invoices-if-i-use-a-logo/)
 *  Plugin Contributor [kluver](https://wordpress.org/support/users/kluver/)
 * (@kluver)
 * [2 years ago](https://wordpress.org/support/topic/errors-when-downloading-invoices-if-i-use-a-logo/#post-17868635)
 * Hi [@carazo](https://wordpress.org/support/users/carazo/),
 * I’m sorry to hear you are experiencing this issue. In our latest release we’ve
   updated the PDF library we use to convert HTML to PDF (called DomPDF) to the 
   latest version. It seems that doing this creates issues on some setups when loading
   PNG files. We suspect it has something to do with the ImageMagick version the
   server is running.
 * The developers of DomPDF are also helping us troubleshoot this issue, so hopefully
   we can find the culprit soon. In the mean time we’ve released a beta version 
   of the plugin that has a temporary workaround. Could you redirect your question
   to [support@wpovernight.com](https://wordpress.org/support/users/kluver/replies/support@wpovernight.com?output_format=md)
   so we can provide you with this beta version and some additional instructions?
   Thank you in advance!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Spaced and disordered letters](https://wordpress.org/support/topic/spaced-and-disordered-letters/)
 *  Plugin Contributor [kluver](https://wordpress.org/support/users/kluver/)
 * (@kluver)
 * [2 years ago](https://wordpress.org/support/topic/spaced-and-disordered-letters/#post-17868628)
 * Hi [@acatalan2](https://wordpress.org/support/users/acatalan2/). I’m sorry to
   hear you are experiencing this issue. Have you followed all the steps in our 
   guide on fixing font issues? 
   [https://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/fixing-fonts-issues/](https://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/fixing-fonts-issues/)
 * As the problem you are describing sounds like a missing font.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] No such file or directory](https://wordpress.org/support/topic/no-such-file-or-directory-14/)
 *  Plugin Contributor [kluver](https://wordpress.org/support/users/kluver/)
 * (@kluver)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/no-such-file-or-directory-14/#post-17832196)
 * [@erwin1974](https://wordpress.org/support/users/erwin1974/) As a follow-up: 
   Make sure that test mode is disabled after creating the invoice, as it will generate
   each document with the latest settings. Which is not something you want to have
   enabled on a live site, as the invoice should be immutable after issuing.
 * You can also choose the regenerate the invoice on a per order basis by clicking
   on the ‘Regenerate’ icon in the ‘PDF Document Data’ meta box on the order edit
   page. More information can be found here: [https://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/show-pdf-documents-with-the-latest-settings/](https://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/show-pdf-documents-with-the-latest-settings/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] bulk download multiple pdf documents once order is completed](https://wordpress.org/support/topic/bulk-download-multiple-pdf-documents-once-order-is-completed/)
 *  Plugin Contributor [kluver](https://wordpress.org/support/users/kluver/)
 * (@kluver)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/bulk-download-multiple-pdf-documents-once-order-is-completed/#post-16379235)
 * Hi [@mashour06](https://wordpress.org/support/users/mashour06/), although it 
   is possible to create something like this based on our plugin, it is not something
   that it can do out of the box. It would involve custom development. Could you
   please redirect your question to [support@wpovernight.com](https://wordpress.org/support/users/kluver/replies/support@wpovernight.com?output_format=md)?
   Thank you in advance.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Invoice number progression](https://wordpress.org/support/topic/invoice-number-progression-2/)
 *  Plugin Contributor [kluver](https://wordpress.org/support/users/kluver/)
 * (@kluver)
 * [4 years ago](https://wordpress.org/support/topic/invoice-number-progression-2/#post-15849210)
 * Hi [@emanuelemn](https://wordpress.org/support/users/emanuelemn/),
 * The ‘Date’ column displays the invoice date and therefore reflects your ‘Display
   invoice date’ setting (**WooCommerce > PDF Invoices > Documents > Invoice**).
   In this case it looks like you’ve chosen to use the order date as your invoice
   date.
 * Which means the invoices for the canceled orders were created (probably manually)
   some time after the orders were placed. And between the creation of these cancelled
   orders and the creation of their invoices, new orders came in that automatically
   generated an invoice number.
 * A quick example below where the order date is set to display as the invoice date
   and invoices are automatically generated when the order is set to Completed.
 * Orders:
    - Order #1, Order date: `01-07-2022`, set to `Cancelled`
    - Order #2, Order date: `10-07-2022`, set to `Completed`
    - Order #3, Order date: `20-07-2022`, set to `Completed`
 * Invoices:
    - Invoice #1, Order #2, Invoice date: `10-07-2022` (automatically generated)
    - Invoice #2, Order #3, Invoice date: `20-07-2022` (automatically generated)
    - Invoice #3, Order #1, Invoice date: `01-07-2022` (manually generated)
 *  -  This reply was modified 4 years ago by [kluver](https://wordpress.org/support/users/kluver/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Stückpreis](https://wordpress.org/support/topic/stuckpreis/)
 *  Plugin Contributor [kluver](https://wordpress.org/support/users/kluver/)
 * (@kluver)
 * [4 years ago](https://wordpress.org/support/topic/stuckpreis/#post-15827788)
 * Hi [@lordfrank](https://wordpress.org/support/users/lordfrank/),
 * Yes, you can certainly setup your columns like that. 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Invoice number progression](https://wordpress.org/support/topic/invoice-number-progression-2/)
 *  Plugin Contributor [kluver](https://wordpress.org/support/users/kluver/)
 * (@kluver)
 * [4 years ago](https://wordpress.org/support/topic/invoice-number-progression-2/#post-15827770)
 * Hi [@emanuelemn](https://wordpress.org/support/users/emanuelemn/),
 * Judging by your screenshot of the Number Tools plugin there are no skipped invoice
   numbers. Invoice number 0376, 0377, 0378 and 0379 are assigned to canceled orders.
 * [⌊Schermafbeelding-2022-07-15-om-11-07-45⌉⌊Schermafbeelding-2022-07-15-om-11-
   07-45⌉[
 * Perhaps that is causing the confusion?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Custom order status in pdfs?](https://wordpress.org/support/topic/custom-order-status-in-pdfs-2/)
 *  Plugin Contributor [kluver](https://wordpress.org/support/users/kluver/)
 * (@kluver)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/custom-order-status-in-pdfs-2/#post-15235122)
 * Hi [@diegpl](https://wordpress.org/support/users/diegpl/),
 * I’m assuming you want the order status to show on the packing slip. You can achieve
   that with the following code snippet, which should also work for custom order
   statuses.
 *     ```
       add_action( 'wpo_wcpdf_after_order_data', 'wpo_wcpdf_add_order_status_to_packing_slip', 10, 2 );
       function wpo_wcpdf_add_order_status_to_packing_slip( $document_type, $order ) {
       	if ( $document_type == 'packing-slip' ) {
       		foreach ( wc_get_order_statuses() as $id => $name ) {
       			if ( strpos( $id, $order->get_status() ) !== false ) {
       				?>
       				<tr class="order-status">
       					<th>Order status:</th>
       					<td><?php echo $name; ?></td>
       				</tr>
       				<?php
       			}
       		}
       	}
       }
       ```
   
 * This code snippet should be added to the functions.php of your child theme or
   via a plugin like Code Snippets. If you haven’t worked with code snippets before
   please read the following: [How to use filters](https://docs.wpovernight.com/general/how-to-use-filters/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Subject line in email (new order)](https://wordpress.org/support/topic/subject-line-in-email-new-order/)
 *  Plugin Contributor [kluver](https://wordpress.org/support/users/kluver/)
 * (@kluver)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/subject-line-in-email-new-order/#post-15235045)
 * Hi [@haarbollen](https://wordpress.org/support/users/haarbollen/),
 * Our plugin only attaches the PDF Invoice to one (or more) of the WooCommerce 
   emails. So the plugin is not responsible for the subject line of the email itself.
   That is a string coming from WooCommerce. You can change the subject lines of
   your WooCommerce emails via: **WooCommerce > Settings > Emails**
 * The easiest way to change your document title is via our Professional extension.
   You can change it right in the plugin settings (**WooCommerce > PDF Invoices 
   > Documents > Invoice**).
 * Another way to achieve this is with a code snippet: [https://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/change-the-document-title/](https://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/change-the-document-title/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Invoice number showing same on each order](https://wordpress.org/support/topic/invoice-number-showing-same-on-each-order/)
 *  Plugin Contributor [kluver](https://wordpress.org/support/users/kluver/)
 * (@kluver)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/invoice-number-showing-same-on-each-order/#post-15084451)
 * In addition to sending us the system report you can also download a small plugin
   we’ve created, called Number Tools, to troubleshoot invoice number issues. You
   can download the latest release [here](https://github.com/wpovernight/woocommerce-pdf-ips-number-tools/releases/latest).
 * After installing and activating the Number Tools plugin you will have an additional
   tab in the PDF Invoices settings (**WooCommerce > PDF Invoices > Number Tools**).
   You can select ‘Invoice’ in the ‘Choose a number store’ option to retrieve a 
   list of all invoice numbers since the last reset.
    It will show when they were
   created and to which order number they are connected. Hopefully this will shed
   some light on the situation. You can share a screenshot of the list with us via
   a service like [Imgur](https://imgur.com/) or [ImgBB](https://imgbb.com/).
 * Also could you tell us if the ‘Calculate document numbers’ option is enabled?
   You can check this option via: **WooCommerce > PDF Invoices > Status > Calculate
   document numbers**
    -  This reply was modified 4 years, 8 months ago by [kluver](https://wordpress.org/support/users/kluver/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Blank page (options.php) at settings](https://wordpress.org/support/topic/blank-page-options-php-at-settings/)
 *  Plugin Contributor [kluver](https://wordpress.org/support/users/kluver/)
 * (@kluver)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/blank-page-options-php-at-settings/#post-15076808)
 * Hi [@vandermeerjp](https://wordpress.org/support/users/vandermeerjp/),
 * Glad to hear everything works as expected again. If you are experiencing any 
   issues in the future please let us know.
 * To insert images in your documents you can follow this guide: [https://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/insert-images/](https://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/insert-images/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Booking details in invoice](https://wordpress.org/support/topic/booking-details-in-invoice/)
 *  Plugin Contributor [kluver](https://wordpress.org/support/users/kluver/)
 * (@kluver)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/booking-details-in-invoice/#post-15062345)
 * Hi [@tvahvela](https://wordpress.org/support/users/tvahvela/),
 * Thank you for sending that. Could you try the following code snippet:
 *     ```
       add_action( 'wpo_wcpdf_after_item_meta', 'wpo_wcpdf_add_yith_booking_data_to_item_meta', 10, 3 );
       function wpo_wcpdf_add_yith_booking_data_to_item_meta ( $document_type, $item, $order ) {
       	if ( !empty( $booking_data = wc_get_order_item_meta( $item['item_id'], 'yith_booking_data' ) ) ) {
       		$from = isset( $booking_data['from'] ) ? date_i18n( 'l j F, Y - h:i A', $booking_data['from'] ) : '';
       		$to = isset( $booking_data['to'] ) ? date_i18n( 'l j F, Y - h:i A', $booking_data['to'] ) : '';
       		if ( !empty( $to ) && !empty( $from ) ) {
       			printf( '<div class="booking-data"><strong>Booking data:</strong><br><small>From: %s<br>To: %s</small></div>', $from, $to );
       		}
       	}
       }
       ```
   
    -  This reply was modified 4 years, 8 months ago by [kluver](https://wordpress.org/support/users/kluver/).
    -  This reply was modified 4 years, 8 months ago by [kluver](https://wordpress.org/support/users/kluver/).

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

1 [2](https://wordpress.org/support/users/kluver/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/kluver/replies/page/3/?output_format=md)…
[50](https://wordpress.org/support/users/kluver/replies/page/50/?output_format=md)
[51](https://wordpress.org/support/users/kluver/replies/page/51/?output_format=md)
[52](https://wordpress.org/support/users/kluver/replies/page/52/?output_format=md)
[→](https://wordpress.org/support/users/kluver/replies/page/2/?output_format=md)