Support » Plugin: Stock Locations for WooCommerce » Total Stock is wrong when stock locations has negative value

  • Resolved michaelw90


    We’ve encountered a calculation bug when using multiple stock locations. If a stock location has a negative stock the total stock gets affected. Negative stock numbers should count as 0. Here’s an example from our store where the total stock should be 3, but instead is set to 1.

    • This topic was modified 1 month, 2 weeks ago by michaelw90.
Viewing 1 replies (of 1 total)
  • Plugin Author Fahad Mahmood


    Thank you Michael, I have updated the script and you will get this improvement in the next version. I have mentioned your name in the changelog for this amazing contribution.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.