I Have a slight problem. I have this code: $item("#image").src = itemData.mediaItems[0].src; that i use to change/set the image from my products dataset. Now i want to do the same thing to a regalar dataset (womenclothing) that has my product dataset as an reference field in my new dataset (womenclothing). How do I code to the same itemData.mediaItems[0].src; from the referenced field? I did this : $item("#image").src = womenclothing.itemData.mediaItems[0].src; ....but it did'nt work.
top of page
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
bottom of page
Just incase anyone else want to know the answer. I solve it by putting
$item("#productName").text =itemData.wixStoreImages.name; where the wixStoreimages is the field key for my of the reference field.