Liquid, JavaScript, themes, sales channels
I am trying to use tags for special categorizing. I added the tag word to the {% if item.object_type == 'product, tag' %} section. I now get the items tagged in the search results but the results are now showing 0 results returned for every search including product name. I'm at a loss on how to fix this. Anyone have any suggestions?
I made the changes in the search.liquid file.
Hi @CDitty,
This is my suggestion for your question.
You should change {% if item.object_type == 'product, tag' %} to {% if item.object_type == 'product' %} and {% if item.object_type == 'tag' %}
You can try this and feel free to let me know if you need further support.
Hope this helps!
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024