How to Change Out of Stock Text in WooCommerce - eCommerce Thesis

How to Change Out of Stock Text in WooCommerce

add_filter('woocommerce_get_availability', 'availability_filter_func');

function availability_filter_func($availability) {
	$availability['availability'] = str_ireplace('Out of stock', 'Sold', $availability['availability']);
	return $availability;
}

WooCommerce is one of the most popular eCommerce Platforms to run an online business. In this article, I am going to share How to Change Out of Stock Text in WooCommerce?

Here I have included the source code and easy video guidelines. So if you need any more support then contact with me

Leave a Reply