I've bought the grid theme and I've put some slides on the homepage thanks to the masonry, unfortunately, even if I put the collection link when you click on the pictures, we go to a 404 page.
How can I resolve this ?
thanks a lot !
Solved! Go to the solution
Can you please share the URL of your shop?
So we can check this.
This is an accepted solution.
Thanks for getting back to me.
Due to a bug in grid.js, when you click on the image, redirect to the URL "undefined".
There are two ways to fix it. You need to edit it slightly grid.js. Find it in the grid.js http://joxi.ru/vAW4Jgksg4OQgr dedicated space and here currentTarget.dataset. url change the url to masonryUrl. To search inside a file, use hotkey ctrl+f or cmd+f. You can therefore search for the word _redirectMasonryFeatures
In the end, it should be like this:
The second method is when inspecting an item using the browser's devtools http://joxi.ru/Y2Ly3ndI7NEJEA you need to change the data-masonry-url attribute to just data-url. We hope that there will be a file specifically for the banner where masonry is used and change it there.
If you have any problems, you can add us as staff, we will quickly fix it for you.