I was encountering an issue with discrepancies in {{ variant.inventory_quantity }} isn’t displaying the total amount of inventory among my stores.
I discovered that while {{ variant.inventory_quantity }} is supposed to return the total available inventory it appears to be only returning the highest inventory value at any 1 store…So if I have 6 stores with “1” unit and 1 store with “2" units, rather than showing a total of “8”, it is only rendering the “2"
In this case, one location has 3 units, and that is the value showing instead of “10”. If I set another random location to have something like “18” then 18 is what shows, as it is now the highest number.
Is this a bug, or is there some setting that needs to be checked to ensure I get the aggregate inventory amount?
