If you want to modify the text for “Tax” that appears in the cart totals section of the WooCommerce cart page, here is the solution for you.
add_filter('woocommerce_rate_label', 'ts_tax_rate_label', 10, 2); function ts_tax_rate_label() { return __( 'Estimate Shipping & Tax', 'woocommerce' ); };
Output
The following output indicates that the text ‘Tax’ in the cart total section of the WooCommerce cart page has been replaced with the text ‘Estimate Shipping & Tax’.
![](https://www.tychesoftwares.com/wp-content/uploads/2024/01/WooCommerce-the-Estimate-Shipping-and-Tax-Text-on-the-Cart-Page.png)
On the WooCommerce cart page, it displays the default text i.e. “Tax” under the chosen shipping method as shown below.
![](https://www.tychesoftwares.com/wp-content/uploads/2024/01/WooCommerce-Default-Tax-Name-on-the-Cart-Page.png)
Similarly, you can also customize the “Shipping to” text on the WooCommerce cart for your store.