Created
March 3, 2015 18:09
-
-
Save sinak/4ab4a0f5e79d01e5d139 to your computer and use it in GitHub Desktop.
This file contains 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
{% paginate collections.all.products by 1000 %} | |
{% if pass_product_handle and collections["all"] %} | |
{% assign the_collection = collections["all"] %} | |
{% for product in the_collection.products offset: 0 %} | |
{% if pass_product_handle == product.handle %} | |
{% assign return = product %} | |
{% endif %} | |
{% endfor %} | |
{% endif %} | |
{% endpaginate %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment