API Woocommerce does not accept stock with decimal place?
-
Hi,
I have an ERP system (www.bling.com.br) that connects to my website with woocomerce, for inventory management.
It works perfectly, only now I started selling products in bulk, where the weights and quantities are quite varied.
Example: the product has 1kg in stock, if I sell 0.2kg I should still have 0.8kg in stock.
It happens right.
But the Woocommerce API that sends the ERP stock to Woocommerce, says the system staff THAT THERE IS A LIMITATION OF the API that does not send stock to the decimal place, that way, the stock is completely unconfigured.
I need the stock of 0.8kg to be sent to Woocommerce.
But he can only send whole numbers, 1,2 or 3 … and so on.Would anyone know how to instruct anyone who knows how to program / adjust the API to accept sending inventory data to decimal places?
Thanks.
- The topic ‘API Woocommerce does not accept stock with decimal place?’ is closed to new replies.