Created
June 13, 2017 19:49
-
-
Save svaustin66/21bc97c9638e29c8f84d499063a2a47c to your computer and use it in GitHub Desktop.
This liquid code will list all of the products in a store with links to the product admin page and show all product photos under each product
This file contains hidden or 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
<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 %} |
Hello,
I need the selected collection of product lists in the dropdown
For Ex: In one custom template Show all collections in a checkbox like that: https://prnt.sc/_j4zUJjW1m6F
That selected collection shows all product in a dropdown list like: https://prnt.sc/1IKLIW16IOm6
How can I do this?
Thank you!
thanks man
Has a limit of 50, how to bypass that?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks a lot! helped me :)