Showing stock levels per location on product variants

We are currently using the code from lightspeed to show the stock levels per location, but it does not show the stock correctly on products with variants/matrix. Sometimes it shows the product as out of stock in both locations or it shows it as in stock(randomly) in only one location when it is in stock in both location.
Is there a solution to this?
1 comment
Hi @HalvardHF, this is not an issue we are familiar with and I recommend reaching out to eCom Support for a closer look.