How to change woocommerce mini-cart Subtotal text

Estimated reading: 1 minute 2437 views

Sometimes you may need to change woocommerce's mini-cart 'Subtotal' text. Take a look below.

You can change that "Subtotal" text by using the woocommerce woocommerce_widget_shopping_cart_subtotal() function. Here is an example:

Write this piece of code inside your theme/child theme's functions.php file and see the change.

As this "Subtotal" text comes from WooCommerce, so you will see this change on our product table's mini-cart also. For example, I changed the text to Grand Total:

Share this Doc

How to change woocommerce mini-cart Subtotal text

Or copy link

CONTENTS