Created
January 23, 2018 03:07
-
-
Save zakhardage/9a9713ec7b05e4fbc2ea761ffc0996a6 to your computer and use it in GitHub Desktop.
"Is there a way I could disable several products to not appear in the search result using the search panel"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% for item in search.results %} | |
{% assign tags = item.tags | join:', ' | downcase %} | |
{% unless tags contains 'search hide' %} | |
// search result | |
{% endunless %} | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment