Every time I create a dynamic page and add a repeater, I will try to link the image to the dynamic page of the selected item.
However, I don’t receive an option to just link to the single-item dynamic page and instead, I am asked to display a certain product for the link.
My problem with this is that I don’t want to have to link every image to their selected item as that would take too much time.
How can I fix this issue?
Your dynamic URL in CODE-form would be similar to this one …
//getting the current item from the dataset
const item = $w('#dataset1').getCurrentItem();
//setting the current URL
const myURL = item["link-tutorials-title"];
//navigate to the current chosen URL
wixLocation.to(myURL)
Hi, thank you for the reply!
Unfortunately, I’m not very knowledgeable with code and corvid in general (haha). Do I insert these codes somewhere?
Thanks so much.