Hi,
I want to add specific collection image (like LOGO of the brand) on product thumbnails which is one of the specific collection.
- for example, add A logo image on product B which is one of the collection A.
when the product B has the tag “sample”, it is sorted as collecion A.
I tried to put the code below.
{% if product.tags contains 'sample' %}
{% endif %}
It worked but I have to add the tags all time when I add new collection.
I know I can use “{{collection.image}}” instead of
but problem is one item include at least 2 collections so it may not shows the image I want to.
If someone have great idea, I would appreciate with your kindness.