How to automatically change product status based on stock levels?

5 0 2

Hello,  new to workflow and struggling and hope someone can help as I am sure I am not the first person to need this.


i want to change the status of a product to draft when stock reaches 0 or below and back to active when stock equals 1 or above.


This is two fold.  First to remove the product from the website and so I can use “draft” products as a flag for reorder.


thanks in advance.

Replies 3 (3)

Shopify Partner
6076 1461 1800

Hi @Greg12345 


I think you can use Flow app for this. See here


Please don't forget to Like and Mark Solution to the post that helped you. Thanks!



Please don't forget to 



Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

5 0 2

Thanks for the reply, this is what I have been playing with but I am not very good at it and was hoping someone may have done it successfully already and could share with me

Shopify Staff
2 0 3

Hi there,

There are a number of templates that do something similar that you can probably tweak to meet your needs. For example, this template to Hide and republish products based on inventory level or this template to Get notified when inventory is low and hide products when out of stock 

To learn more visit the Shopify Help Center or the Community Blog.