When a product is out of stock, and you choose to still show it in your products list (but keep it locked for purchase), Woocommerce will display an information for the user to see. There are two filters; one for “add to cart” texts in loop (woocommerce_product_add_to_cart_text), and another for the button in single product (woocommerce_product_single_add_to_cart_text): metaphors for transformation I have tried to edit the code to loop trought the attributes but it doesn't work.. WooCommerce: Edit “# in stock” @ Single Product Page My webhost actively teases me about bloat every time I run into resource issues and I'm not surprised, … In stock: (your in stock default text)->(Woocommerce in stock default text) Out of stock: (your out of stock default text)->(woocommerce default out of stock default text) Low stock: (your low stock text)->(your in stock text)->(woocommerce low stock text) Pro Version Once released the pro version will add more options, allowing you to better control availability … How to change the “Read More” button text to “Out of Stock” – … You can inform your customer product stock status in product details page. : $translated_text = __( 'This is my new out of stock text', 'woocommerce' ); break; } return $translated_text; } add_filter( 'gettext', 'modify_gettext', 20, 3 ); How many product on your stock will show on product page. Out of Stock Message for WooCommerce plugin is used to write out of stock custom message with different background and text color. I'm trying to change the out of stock notice which appears on the thumbnail in Woocommerce product category display. Type your note/message in input field. To be honest, that doesn’t really say much to the end customer. Here, we use the filters to change any text that mentions “Read More” to “Sold Out”. Let’s get started by giving you example: 1. …. I will show you how to change this later. Everyone can read, but only WPML clients can post here. First of all, make sure inventory status is set to “ out of stock ” within inner dashboard, then refresh site in browser with ctrl+shift+R to observe changes. Step 2: Copy the following code snippet. Thanks. Change WooCommerce Sold Out text - WP Beaches You can change the “Out Of Stock” text with any custom text you want, on both the Product Catalog (Shop page) and Single Product pages using filters. You need to add the following filters to the functions.php file of your Child Theme: