Last active
September 13, 2017 11:07
-
-
Save Odinom9g/36c935f8f9c8c97b1e00a3fd2f9616a1 to your computer and use it in GitHub Desktop.
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
{% if dates_diff <= new_products_period %} | |
<span class="product_badge new">{% assign X = 'catalog.products_listing.new_products' | t %}{% if X.size > 0 %}{{ X }}{% else %}New{% endif %}</span> | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment