WooCommerce Mini Cart Custom Content Under Subtotal

WooCommerce custom content showing in the minicart under the subtotal


There are no pre-requisites in order for you to be able to implement this solution.

How To Implement This Solution?

Simply copy the pre-coded solution to your active theme’s functions.php or preferably the Code Snippets Plugin.

About This Solution

This quick guide shows you how to add custom content under the subtotal shown in the minicart

* Snippet Name:		WooCommerce custom content under minicart subtotal
* Snipept Author:

function ecommercehints_minicart_content_under_subtotal() {
	echo '<br>Price Matched!';

add_action( 'woocommerce_widget_shopping_cart_total', 'ecommercehints_minicart_content_under_subtotal', 10 );

100 WooCommerce Conversion Rate Optimisation Tips

This field is for validation purposes and should be left unchanged.

Let’s collaborate!

Need to outsource WordPress development?

Join forces with UnlimitedWP for an outsourced white label web development service you can truly rely on.

First Timer Here?

Sign up to receive 20% off on your first month with us.