I have about 500 product in my site powered by the commerce module. I need stock capabilities so installed the commerce_stock module. So far so good.
This module add a stock field and a checkbox to check Disable stock for this product in the product itself.
Thing is that stock field is set to 0,00 by default, then all the product are shown as Out of stock.
The solution is as simple as to mark the checkbox to check Disable stock for this product for all products. But I have 500 products, then this will be a waste of time...
Is there any way to do this programmatically? Any other idea to get this done?
I thing of doing this directly in the database with a sql query, but not sure if this is a good idea?