Display products with certain tag in a customized page template

6 0 3
Hello, I created a new page template and I wanna show the products with the tag 'flash'.
I tried this line of code:
{% for tag in product.tags %}
{% if tag contains 'flash' %}
<!-- some line of code --!>
{% endif %}
{% endfor %}
But it doesn't work.
Could anyone help me? Very much appreciated.
Shopify Partner
18918 1986 6998



If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing