When all the variants of a product are out of stock, then automatically un-publish the product.
We have considered this however having a blanket rule to automatically un-publish a product can have unintended negative consequences.
Overall we believe un-publishing a product to be more detrimental to the user experience and data collection than leaving the product published, even if out of stock. That being said there are cases where it does make sense.
If we were to make this a setting of the individual product itself rather than a global rule would that be useful?
We would love to hear feedback on this from our customers.