Since Wix does not support more than 300 product Variation, i had to rebuild my custom navigation to specific product. I built all my variances with the same name, but different options and sku.
import wixLocation from 'wix-location';
and simply utilize
wixLocation.to("/product-page/" + results.items._id) --> from product database directly
This results to something like: https://www.rimorama.com/product-page/ca71e827-c465-4653-bb73-5e8392cb2e05
which gives me "Product Not Found" page.
After refreshing the page, it redirects automatically to https://www.rimorama.com/product-page/assault-d546-128. (i have not done any coding for it. This is built in to Wix)
This issue is not happening if I load it via a phone or tablet.
I also tried
wixLocation.to("/product-page?sku=" + results.items.sku) and it works. I guess this is my last option but i really don't want to use this [i am using it now].
Any help or suggestion is appreciated. i have a feeling i am hitting the product page wrong.