Docly

How to change woocommerce mini-cart Subtotal text

Estimated reading: 1 minute 577 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.

CONTENTS