Hi, i really want each brand blog to have the branded featured collection at the bottom of each one however its keeping the same for each blog.
can anyone help
Hi, i really want each brand blog to have the branded featured collection at the bottom of each one however its keeping the same for each blog.
can anyone help
Hi @bally ,
We can tag the brand blog based with the collection handle and use the condition to show the blog based on the collection.
Let me know if you need any assistance.
Thank you
hi, can you explain on how to do this as im not a pro at this sort off stuff
Hi @bally ,
Here is the sample code.
{% assign bloghandle = collection.metafields.custom.blog %}
{% for article in blogs.brand.articles %}
{% if article.tags contains bloghandle %}
{{ article.title }}
{{ article.content }}
{% endif %}
{% endfor %}
Let me know if you need further assistance.
Thank you
where do i put this code
Hi @bally ,
If it’s Dawn theme, we can add it in main-collection-product-grid.liquid.
Make sure you have brand category in blog post.
Thank you
its not dawn its Focal theme
and yes ive tagged each blog
Hi @bally ,
We should also create a metafield for a collection with name Blog.
I will need the access to theme code so that I can help you with the custom code.
Thank you
how can i give access ?
Hello,
I’m having the same issue and would like your help could you reach out me so we can work on it?