Buy me a coffee

How to change “Out of Stock” Text in WooCommerce

Hanna Holmes: Does anyone know how to change the ‘out of stock’ text to something else? I just don’t think it looks very good.. we would prefer it to say something like ‘fully booked’ … Thanks ?

change-out-of-stock-text1-min

ANSWER

You just need to insert the following code into Functions.php (Appearance > Editor > functions.php)


I recommend you to insert via Code Snippets Plugin. It will safer and easier to manage the codes.

php-snippets1-min

php-snippets2-min

Then go to Snippets > Add New > Insert code

change-out-of-stock-text2-min

Then click Save changes and Activate

change-out-of-stock-text3-min

and result

change-out-of-stock-text4-min

If you have problems, don’t hesitate to send me. I will reply in 1-2 days.

Leave a Comment

Ask me a question, free

If your site is private or in trial, just setup password and share url. See how to: https://beaverhero.com/squarespace-how-to/
Please check your email carefully. Recently I got a lot of questions with wrong emails.

If you haven't heard from me within 24 hours please check your junk/spam folder