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

Changing Item Quantity Color in WooCommerce Packing Slips

Last updated on February 23, 2024

Customizing the appearance of a WooCommerce Packing Slip is a valuable way to enhance the visibility and clarity of crucial order details. One such customization is altering the color of item quantity. The WebToffee’s WooCommerce PDF Invoices, Packing Slips, and Credit Notes plugin helps to change the color of item quantity in a WooCommerce packing slip. Using the custom code snippet provided the plugin automatically changes the color of the item quantity whenever the quantity number exceeds 1.

To change the color of the item quantity in a WooCommerce packing slip, add the custom code snippet below to the WordPress site. To do this, add the custom code snippet to the active child theme’s functions.php file or use a third-party plugin. To know more about how to add a custom code snippet using a third-party plugin, refer to this article.

Now, the plugin will automatically highlight the item quantity in a packing slip when the quantity number exceeds 1.

The following image is an example of a WooCommerce packing slip highlighting the item quantities greater than 1.

WooCommerce Packing slip indicating the change in color of item quantity
WooCommerce Packing slip indicating the change in color of item quantity