Hi,
I noticed what looks like a bug in the product Stock table. If you create an entry with a unit, but without a Stock Location attributed, the stock showed on the frontend will be randomly pulled from one of the other units that matches the user's Stock Location.
Here, I made a video to show the issue:
https://www.screencast.com/t/O4lneFpyrB
I'm aware there's not a lot of reason why we'd create an entry on the Stock table without a Stock Location, but it is possible to do and therefore it shouldn't behave like this. I think if there's no unit stock matching the user's Stock Location, it should either show Out of Stock, give a warning that the user's Stock Location doesn't have that unit available or perhaps get the Product Stock, but it shouldn't grab the stock available for another unit.
Regards