The ability to correctly show item quantities on invoices and packing slips assists in fast and efficient order fulfillment and inventory management. If item counts are clearly visible, warehouse staff can quickly verify orders against packing slips, thus reducing errors and ensuring that customers receive the correct products. With WebToffee’s WooCommerce PDF Invoices, Packing Slips, and Credit Notes plugin, store owners can highlight item quantity in WooCommerce invoices and packing slips. With custom code snippets, store owners can highlight item quantities on packing slips and highlight both item quantities and product names on invoices.
Highlighting item quantities and product names
Note: The following two code snippets highlight item quantities and product names when the item quantity exceeds one.
Step 1: Add the code snippet to your WordPress site
- To enable a custom code snippet, simply add it to your WordPress site. You can do this by inserting the code into the functions.php file of your active child theme or utilizing a third-party plugin for the addition. For more details on adding custom code snippets using a third-party plugin, check out the following article: Adding Custom Codes with a Third-Party Plugin.
Code snippet for highlighting the item quantity in invoices
Using the following code snippet, store owners can highlight the item quantity in WooCommerce invoices whenever the quantity exceeds one.
Code snippet for highlighting the item quantity in packing slips
Using the following code snippet, store owners can highlight the item quantity in WooCommerce packing slips whenever the quantity exceeds one.
Code snippet for highlighting the product name in invoices
Note: The following code snippet highlights the product names when the item quantity exceeds or equals two.
Using the following code snippet, store owners can highlight the product name in WooCommerce invoices when the item quantity exceeds or equals two.
The following images show WooCommerce invoices and packing slips after applying the above customizations.
Mat
April 24, 2024
Hello, is it possible to do this also in the invoice? And change color also for product name?
Sanjai Valsan
April 25, 2024
Hi Mat,
Thank you for reaching out!
Yes, you can highlight the item quantities in the invoice using this code snippet.
zhongbo wang
May 15, 2021
Could you tell us How to change color of item variation_details in WooCommerce Packing Slip?
Thanks
Mark
May 18, 2021
Hi Zhongbo,
Please submit site-specific queries via our support forum. An expert will get back to you on the same.
Jason
May 15, 2021
Hello,
Could you please tell me how to change the picture size of products in the packing list and the title of products font size?
Thanks
Mark
May 18, 2021
Hi Jason,
Please submit site-specific queries via our support forum. An expert will get back to you on the same.
Anaïs
March 16, 2023
Hello, I have exactly the same question, did you get an answer?
Thanks a lot !
Anaïs