Last active
May 27, 2020 21:30
-
-
Save jfonte/3238a4b122b8cde02e6f71bc8057a5b7 to your computer and use it in GitHub Desktop.
filter for tag in Shopify product page
This file contains 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
{% assign isTagDeposit = false %} | |
{% for tag in product.tags %} | |
{% if tag contains 'DEPOSIT' %} | |
{% assign isTagDeposit = true %} | |
{% break %} | |
{% endif %} | |
{% endfor %} | |
{% if isTagDeposit == false %} | |
{% include 'cross-sell' %} | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment