How can I modify liquid code to preview products in blog metafields?

Hello everyone,

I created a custom metafield for blog posts to display products from my catalog within my articles.

I created the “single product” metafield and I would like the product with title, photo and link to the product sheet to appear on my blog post.

If I enter {{article.metafields.custom.prodotto_5.value.content}} in my liquid code, I get the product title and description, without photos and without links.

How can I change this code to preview the product?

Thank you

Hi @Imago ,

Assuming that you’re linking the products using a product_reference metafield, you retrieve the related product object and then access its details as shown here.