Discount Sale
  • Days
  • Hrs
  • Mins
  • Secs
30% Off

Use coupon code 'MDS30' Limited Offer!!

Star

Home > Docs > WooCommerce PDF Invoices, Packing Slips and Credit Notes Plugin > Highlighting Item Quantity in WooCommerce Invoices and Packing Slips

Highlighting Item Quantity in WooCommerce Invoices and Packing Slips

Last updated on February 18, 2025

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

  1. 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.