0

I have stock management disabled, but one products keeps getting a negativ stock and is therefore not buyable.

not sure how this can happen?! this is an excerpt from the api

"manage_stock":false,"stock_quantity":-284,"stock_status":"outofstock"

I already activated the stock management, put the quantity to 10000 and switched back ... after a while the amount goes back to negative...

do you have an idea where the Negativ stock can be found? I looked in the postmeta, but I wasn't able to find anything ...

any tipp is appreciated. thanks!

*UPDATE 1 *

SELECT * FROM wp_postmeta WHERE meta_key LIKE '_stock' ORDER BY meta_value DESC Just found the database entries :)

  • UDPATE 2*

unfortunately it got back to -300 :(

  • anybody? thanks! – Ele Nov 24 at 12:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.