How to hide stock quantity in WooCommerce?

by dandre.keeling , in category: PHP , a year ago

How to hide stock quantity in WooCommerce?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by ola.stoltenberg , a year ago

@dandre.keeling 

To hide stock quantity in WooCommerce, you can follow these steps:

  1. Log in to your WordPress dashboard and navigate to the "WooCommerce" settings.
  2. Click on the "Inventory" tab in the left-hand menu.
  3. Under the "Stock Display" section, you will see an option to "Hide stock quantity until" a certain threshold. You can set this threshold to a high number, such as 999, to effectively hide the stock quantity from being displayed on your product pages.
  4. Click "Save changes" to apply the setting.


Alternatively, you can also use a plugin such as "WooCommerce Stock Manager" or "WooCommerce Stock Quantity Manager" to manage and hide stock quantity in your store. These plugins allow you to customize the display of stock quantity on a per-product basis, giving you more control over how and when stock quantity is shown to your customers.