Calling getProduct on the product page frequently returns the wrong product, and it appears to happen when multiple products share the same name.
The problem always seems to affect the first product of the ones with the same name - i.e if I have 3 products with the name ‘a product’, the product pages in the url will be
a-product
a-product-1
a-product-2
… and the problem only seems to affect the first. it doesn’t seem to affect the products that have the number suffix.
However in some cases it returns the product for a similarly named product, not identical. E.g if i have
a-product
a-product-1
a-different-product
Then when viewing the first product, the call to getProduct can return a-different-product.
Not sure what the process is for reporting bugs, do Wix monitor these forums?