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 ?



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.



Then go to Snippets > Add New > Insert code


Then click Save changes and Activate


and result


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:
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