Get product name & load image

Hello,

I’m trying to add a larger image of the product below to compliment a classic view of a product.
On my site https://www.peckandpartners.com/product-page/st-helen-s-place

As i understand the code might need to look something like; get product name, load image.
However having some issues trying to get that to work, is there a way this can be done?

Secondly on the repeater below, I’m trying to set this to show products only from the same collection as the product is there a way, this can be done please?

Kind regards and thanks!
James

https://www.wix.com/corvid/reference/wix-data.html#queryReferenced
from this query you get the results from the product database and the results have all the data you really want to use.
console.log(results) to see the path and follow the path to retrieve any information that you want. From there what you want to do with the infos is up to you.

Thanks Nikos! Would I be able to use this to match what product is currently being viewed? From what I read this doesn’t cover this…

Would I need another line of code for the above? anything you could suggest please?

Hey @James Peck I took a look at your site and it looks like you where able to pull this off. I am trying to do something similar but pulling my hair out on this one. Would you be able to share your code? I would be extremely grateful! I have tried so many things and no luck.