Available in store only

New Member
3 0 0

I am using the supply theme


I am using this workaround to have products displayed that are available in my physical store only.


{% if product.tags contains 'in-store' %}
<div>Available in store only</div>
{% else %}
Normal code that displays price in formation
{% endif %}
It works on my product page
It works on my collection list page
But it won't work on my search result page
Anybody can help
I am in the file

Shopify Partner
1281 169 403

This is an accepted solution.

Search is using item as a keyword instead of product. Try:


{% if item.tags contains 'in-store' %}


If my solution helped you, please like and accept as solution!
If you'd like to make any edits to your store, please send me a personal message and we can discuss what you'd like to accomplish :D
1 Like