How can I display related products in blog posts?

Topic summary

Goal: automatically display related product recommendations within blog posts by matching tags (product tags to blog post tags), instead of the current manual process.

Key points:

  • Inquiry about an API-based approach to match tags between products and blog posts. No specific API solution was provided.
  • A clarifying question asked about the volume of posts/products to assess whether manual curation is feasible.
  • Proposed method: use metafields (custom data fields to store relationships) and theme code editing to programmatically show related products in articles. This is possible but requires non-trivial development work.

Current status:

  • No code samples or step-by-step implementation details were shared.
  • An offer for collaboration was made; an image was attached but is not essential to understanding the approach.
  • The discussion remains open without a finalized solution or confirmed implementation path.
Summarized with AI on February 5. AI used: gpt-5.

Hello,

Does anyone know how to display relevant product recommendations in blog posts? Is there an api interface to match the product tag with the blog post tag?

Thank you in advance.

How many blog posts and products? Could it be done manually?

Right now I’m doing it manually, but I want to make it automatic by code to display related products.

@lizhenmiao ,

Yes, it’s possible by the help of metafield and code editing which is bit complex to explain, but need more development effort.

Let me know if you are interested add me as collab.