Hi, I’m trying to put a specific article on a product page. How do I do it? I’m trying to do it using metafield, but there’s no meafield for articles on products metafield.
Example. On Car products, I would like to show the articles for Cars. And for truck products I would like to show Truck article. I can’t do it using creating new templates because I have many products & blogs.
P,S, Articles not Blogs. articles inside a blog.
{%- assign blog = blogs[‘blog-handle’] -%}
{%- if blog.articles_count > 0 -%}
{%- for article in blog.articles -%}
{% if article.handle == ‘blog-handle/article-handle’ %}