Show sold out badge on WooCommerce search result

Previously we have learned how to show sold out badge on WooCommerce store and archive pages. But that method does not work on search results. We have used woocommerce_before_shop_loop_item_title action hook for store page and category/archive pages. But this hook is not available on search result page. So we will… Read More »

Show sold out badge to WooCommerce Store

If you are looking for a sold out badge for WooCommerce store out of stock products without a plugin, you are at the right place. Keep going through the article to easily accomplish your goal. A nice ‘sold out’ badge on products image, on the shop page or product category… Read More »