fahadmahmood8/stock-locations-for-woocommerce

Greyed out Stock Quantity

Closed this issue · 5 comments

When editing a product, all of the Stock quantity inputs are greyed out. See screenshot.

Screenshot 2023-04-04 095949

I disabled the Stock Locations plugin and then I can enter stock quantities. So the plugin is causing the issue.

Screenshot 2023-04-04 100241

I also tried to uncheck locations for the product, save and then I can enter stock quantities. This can't be a fix since I need to be able to update the total stock when locations are selected but just something I noticed.

Can you please provide any assistance?

If you want to change the stock quantity of a variable product, go in the edit product page to the tab Stock Locations (above Attributes).

Thanks! However, how can I edit the total stock?

How did you think this would work? When you adjust the total, how does the plugin know at which location to increase or decrease something?

It should work by allowing to enter the total and then in the Stock Locations, you'd enter the individual location stock quantities and see the total you just entered. Why does this number show if you cant edit the total when the locations are enabled? Just a question. If that's the way it supposed to work, then that's fine 👍
image

Sorry for being late here, thank you @arwinvdv for explaining the stock qth. field under stock locations. Total stock value get updated usually on product update and also through the Cron jobs rounds. So don't worry about this wrong total number, as soon as your cron job will start working, these kind of small updates will be handled easily.