ProductPage getProduct() returns the wrong product

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?

How do i get someone from wix to see this? I tried sending it via the feedback page but it just refreshes when i submit, no idea if it’s actually sending anything but I’m guessing not.

Surely there’s a way to report bugs??

Hi David,

Sorry for the delayed response - This is indeed an issue on our side.
We will let you know once it’s resolved.

Thanks,
Oded

Hi David,

This should be resolved.

Thanks,
Oded

Hi Oded,

It’s working well now, thanks for quick turnaround

David

Hi David,

I too have a similar issue.
Was it a technical issue?

The click on any product takes back the first product. I assumed that there might be problem with the first product so i tried the process again by removing the first product but no use it again reflects the next first product for any product click