Skip to content

Instantly share code, notes, and snippets.

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