I use the following little code for some pages of my site…
import wixWindow from ‘wix-window’;
$w.onReady(function () {
wixWindow.scrollTo(0, 152);
});
If I open the page over a link within the site, the code will be executed. But if I refresh the page or go to it through a direct link, the code will not be executed. How can I achieve execution in all the above cases?
Hi Michael,
In order for us to successfully review this matter further and properly assist you, please send us a video of the issue using screencast . Simply recreate the issue while recording the steps. Add the screencast.com URL to your response.
Hi Michael,
Thanks for the screencast. Currently there’s no integration of Wix Code with Wix Stores , however this is on our backlog. The page you added the code to is the product page which is part of the Wix Stores product. I recommend following the Product Updates forum category to stay tuned.