$item('#datesBtnRptr').onClick((event) => {
console.log('Before redirection');
console.log(itemData.link + '?param=DatesAndPrices');
wixLocation.to(itemData.link + '?param=DatesAndPrices');
console.log('After redirection');
})
I was wondeing if anyone has come across any issues with using wix location for a query parameter?
The above code had been working for years but seems to have stopped. The console.log returns the expected url but it isn’t passed via the wixLocation.to
Has there been an update that I’m not aware of or can someone point me in the right direction?
Thanks, Stephen