What is the best way to add a rule/trigger to my product’s variants so that when it’s inventory goes below a certain level the variant will show as ‘out of stock’?
I have both online stores and brick & mortar stores which products are sent from. I would like it so when the inventory level goes below 3 it shows as out of stock. This is to avoid a situation where the last one is sold in store while a customer is checking out the same product online.
Below is what I have tried so far. I’ve made a simple workflow to make a variant show as out of stock when the inventory level drops to 3 or below.
It is running on every product in my store, and the ones which have variants below 3 it is inputing correctly, but I am getting the output message ‘This action didn’t return an output when it ran. This is because this action does not return data to Flow.’
Please could someone advise on how to get the workflow I have made work, or if there is any other way which will achieve what I am trying to do.
Thanks
