WooCommerce ‘_stock’ showing with Decimals
-
Hi there,
I am getting an issue where ‘_stock’ meta value is appending ‘.000000’ at the end of the stock value.
However, when I Update (Save) the product in the admin area, it converts to an integer. When an order is placed for that product, the stock reverts to e.g. 26.000000 on the front-end. Re-saving in the admin, changes it back to 26 temporarily until the next order.
Any ideas what could be going on here? I have checked the database and the values are showing with the ‘.000000’ decimals too – the meta_key is set to ‘longtext’.
Thanks in advance!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WooCommerce ‘_stock’ showing with Decimals’ is closed to new replies.