Home > Docs > WooCommerce PDF Invoices, Packing Slips and Credit Notes Plugin > Customize Print and Download Button Labels on My Account Page

Customize Print and Download Button Labels on My Account Page

Last updated on February 7, 2025

Changing button labels on the My Account page in WooCommerce will not only beautify the user experience but also complement business branding. Modifying the print and download invoice button text allows for a more precise and intuitive action for customers. The WebToffee WooCommerce PDF Invoices, Packing Slips, and Credit Notes plugin allows store owners to add a print and download invoice button on the customer’s My Account page and customize the button text as needed.

Customizing the print and download button labels

Here are the brief steps for the same:

  1. Enable the print invoice button on the My Account page.
  2. Add the custom code snippet to the WordPress site by making the necessary alterations.

Step 1 – Enable the print invoice button

To enable the print invoice button on the My Account page, follow the below steps:

  1. Navigate to Invoice/Packing > Invoice > General from the WordPress dashboard.
  2. Under the General section, enable the Show print invoice button for customers option.
Image highlighting the Show print invoice button option
Image highlighting the Show print invoice button option

Note: The system will show the print and download invoice buttons on the My Account page only after it generates the invoice for the order. To know more, check out the following article: Print WooCommerce Invoice From My Account Page.

Step 2 – Add the custom code snippet by making the alterations

Here is a breakdown of step 2:

  1. Make necessary alterations to the code snippet given below. In the code snippet, the text Print Invoice order details is set as the label for the print invoice button on the order details page. Similarly, Download Invoice order details is set as the label for the download invoice button on the order details page, and so on. Replace these with the preferred label text. Repeat the steps for other buttons as well.
  1. Now, add the altered code snippet to your WordPress site. You can add the code snippet to your active child theme’s functions.php file or use a third-party plugin for the addition. To learn more about using a third-party plugin for snippet addition, check out the following article: Adding Custom Codes with a Third-Party Plugin.

Example

The store owner wishes to change the labels on the print invoice and download invoice button to “Generate Invoice” and “Save Invoice” respectively. The store owner replaces the code’s default labels with the new ones and then adds the updated code to the WordPress site. The images below illustrate the before and after changes in the labels.