Home > Docs > WooCommerce PDF Invoices, Packing Slips and Credit Notes Plugin > How to Add Discount Amounts and Percentages to WooCommerce Invoices

How to Add Discount Amounts and Percentages to WooCommerce Invoices

Last updated on April 24, 2026

Properly displaying discounts on invoices enhances transparency, building customer confidence in online retailers. Showing both the discount amount and percentage for each item gives customers a clear view of their savings, increasing satisfaction. This is possible with WebToffee’s WooCommerce PDF Invoices, Packing Slips, and Credit Notes plugin, by adding a custom code snippet to your WordPress site. The discount amount and percentage will be shown in separate columns.

Showing product-wise discounts and discount percentages

Add the custom code snippet given below to your WordPress site to display product-wise discounts and discount percentages in separate columns within the product table of WooCommerce invoices.

You can add the custom code snippet to the active child theme’s functions.php file or use 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.

The invoice document, after adding the custom code snippet, will look like this:

Invoice showing discount amount and discount percentage
An invoice showing discount amount and discount percentage

In summary, displaying both the discount amount and percentage for each product on WooCommerce invoices improves transparency and customer trust. By implementing a simple custom code snippet with WebToffee’s PDF Invoices plugin, store owners can clearly communicate savings, enhancing the overall customer experience.