Skip to content

Instantly share code, notes, and snippets.

<img src=”{{ section.settings.logo_main | img_url: ‘x70‘ }}” alt=”{{ shop.name }}”>
<img src=”{{ section.settings.logo_main | img_url: ‘x300‘ }}” alt=”{{ shop.name }}”>
{% 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 %}