How to display specific blog posts on product page if the metafield product list contains it?

Topic summary

Goal: On product pages in the Dawn theme, show recipe blog posts that reference the current product. Each recipe article already uses a metafield (product list) to list products used; the user wants the inverse display on product pages. They hope to base it on the Featured blog section and filter posts to those whose product-list metafield includes the current product.

Requested help: Provide Liquid code and instructions on where to add it (template/section/snippet) to loop through the recipes blog and conditionally render matching articles.

Latest activity: The requester asked for the Liquid code and then followed up saying they sent a private message.

Status: No public solution or code shared yet; outcome unresolved and guidance still needed.

Summarized with AI on December 21. AI used: gpt-5.

Hello,

I’m using Dawn theme and have a blog called “recipes” and it contains posts of well, recipes. I set up a custom metafield under product list, so each recipe displays the products used within. I want to do this same thing but opposite, where under every product where a recipe(blog post) using that product exists will be shown. I hope to base this section off the “featured blog” section but have it only display the recipes from the blog that include the product.

Maybe something like:

for articles in blog{

if blog contains this product { display }

}

Please help write some code for this and where to add it, thank you!

1 Like

Can you provide the Liquid code?

I have sent a private message!