WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have my products set to manage inventory. Is there an option somewhere to simply make the product pages state "In Stock" rather than "X In Stock"? Or is that just set in the theme (I'm just using Twenty Twelve at the moment)?

share|improve this question
up vote 1 down vote accepted

There is actually a setting for this, found under WooCommerce, Settings, Inventory, Stock display format.

share|improve this answer

Did you look at the excellent documentation at WooCommerce docs?

The answer to your exact question is posted along with the needed code snippet. You can see the article here.

share|improve this answer
I had tried googling this in several different ways with no luck. Thanks for the link, but I believe the answer I posted is the correct method. – Cory Dee Feb 4 '13 at 19:04
@Cory This option would also remove the 'In Stock' that you wanted. – Stephen Feb 4 '13 at 19:14
my testing shows otherwise. It still displays "In Stock". I have it set to "Never Show Stock Amount", but it still says In Stock for variations that have stock. – Cory Dee Feb 4 '13 at 19:26
Interesting, wonder why I'm seeing a different result. Anyway glad you found an answer. – Stephen Feb 4 '13 at 19:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.