All products are showing out of stock?

If you are getting “out of stock” on all products, use this command:

rule stockJH()

This command only works if you have Woocommerce Store.