Skip to content

Instantly share code, notes, and snippets.

@svaustin66
Created June 13, 2017 19:49

Revisions

  1. svaustin66 created this gist Jun 13, 2017.
    7 changes: 7 additions & 0 deletions Shopify - All Product Photos
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    <h2>All Product Images</h2>
    {% for product in collections['all'].products %}
    <p><a href="/admin/products/{{product.id}}" target="_blank">{{product.title}}</a></p>
    {% for image in product.images %}
    <p><img src="{{ image.src | product_img_url: "large" }}"></p>
    {% endfor %}
    {% endfor %}