<ul>
{% for product in collections.all.products limit: 8 %}
<li>
<img src="{{ product.featured_image | product_img_url: 'medium' }}" alt="{{ product.title | escape }}" />
<a class="shop-now" href="{{ product.url }}">{{ product.title | escape }}
</a>
</li>
{% endfor %}
</ul>
You May Also Like
How To Make and Run Batch Files In Terminal In Mac OSX like windows .bat file
- 977 views
- 2 minute read
How to reach cart object on checkout page in Shopify checkout.liquid
- 956 views
- 2 minute read
How to Get Element Distance From Top with jQuery offset()
- 701 views
- 1 minute read