woocommerce change out of stock text

How to change In Stock or Out of Stock text in WooCommerce When products are out of stock, the Add to Cart button below the product showcase automatically displays with the text of ‘Read More.’ If you want to update this and see the WooCommerce Read More button display as something else, all you’ll need is a few lines of code. Let’s get started by giving you example: 1. Changing Woocommerce 'Out of Stock' text - BillionAnswers The code below will allow you to change that message to anything you like, for example a simple “Sold” word. add_filter('woocommerce_get_availability', 'availability_filter_func'); Change WooCommerce Sold Out text - WP Beaches You can change WooCommerce ‘Sold Out’ text set by the inventory setting of Sold Out with the WooCommerce filter woocommerce_get_availability_text Add the below snippet with your custom sold text to functions.php Before After See also Full Width Featured Image on Single Product Page Go to Add/Edit product panel 2. April 7, 2018.

Grossiste Vêtement Milan, Irm Clinique De La Baie Morlaix, Outlook Dossier Invisible, Articles W

woocommerce change out of stock textLeave a Reply