1. Home
  2. Docs
  3. Shoptimizer
  4. Change the “Out of stock” text

Change the “Out of stock” text

Note: You need to be running version 1.8.5 and above for this tutorial to work. Please update Shoptimizer first if you need to.

Shoptimizer includes an “Out of stock” label over products that have their stock status to be out of stock. This is how it looks on the theme demo.

Changing Out of Stock Text
The Out of Stock text

You can change this “Out Of Stock” text with the following code snippet.

You can either:

If you’d like to remove it entirely, you can use this function instead.


Shoptimizer - find out more
The fast WooCommerce theme built for speed and conversions.

Was this article helpful to you? Yes No

How can we help?