S
S
Sergey2019-02-07 16:49:29
WordPress
Sergey, 2019-02-07 16:49:29

How to add a new stock status in WooCommerce?

Hello! Does anyone know how it is possible to add new stock statuses like "Coming soon"? By default, in version 3.5.4 there are only three statuses "In stock", "Out of stock" and "In an unfulfilled order". Everything is clear with the first one, the second status "Out of stock" adds css class "outofstock" to the products in the list of products, which allows you to issue a badge. The third status is not at all clear for what, I thought to use it as the status "Coming soon", but unfortunately it does not add any classes to the goods and the badge cannot be issued.
Therefore, there is a desire to add another status "Coming soon" so that when setting the status in the product,
I’ll immediately explain why I was interested in the possibility of changing the status, since similar plugins with editing badges do not allow you to change properties in bulk, and the “Availability” property is easily changed in the woocommerce panel when you select a lot of products and perform the change action. Thus, you can immediately massively set the status you need. And we also have inventory management disabled, due to the fact that it is not required to fix the number of goods. In fact, the goal is the same, to easily and quickly change the status of goods between "In stock", "Out of stock" and "Coming soon" - so that customers always see up-to-date information on goods.
I would be grateful for any hints in this direction!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question