I have an issue after the update of the quantity to 0 (out of stock).
Product:all() return the correct list but after the update of the quantity to 0 (out of stock), Product:all() is not returning the product update to 0.
The product is availble in Woocommerce console and is correctly marked 'out of stock' on the front end.
I can retrieve the product based on his ID but it is missing from the list generated by product;all()
I see :
If the quantity = 0, missing in the list,
If the quantity is > 0 or blank, it is present in the list returned by product::all().
@piloufaces @Codexshaper same issue here. After changing the stock quantity (or other product data) in WooCommerce. The changes are not reflected in my Laravel application.
Hi,
I have an issue after the update of the quantity to 0 (out of stock).
Product:all() return the correct list but after the update of the quantity to 0 (out of stock), Product:all() is not returning the product update to 0.
The product is availble in Woocommerce console and is correctly marked 'out of stock' on the front end. I can retrieve the product based on his ID but it is missing from the list generated by product;all()
I see : If the quantity = 0, missing in the list, If the quantity is > 0 or blank, it is present in the list returned by product::all().
Any idea ?