Created
June 2, 2020 07:51
-
-
Save joe-dempsey/25e19a0a962bfc4e63564d6d1ef4d84c to your computer and use it in GitHub Desktop.
url generatotr shopify quick and easy / dirty
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
{% layout none %} | |
<!-- collection urls --> | |
<!-- collection urls --> | |
{%- for collection in collections -%} | |
eu.customplugs.com/{{ collection.url }}<br/> | |
{% endfor %} | |
<!-- article urls --> | |
<!-- article urls --> | |
{% for article in blogs.news.articles %} | |
eu.customplugs.com/{{ article.url }}<br/> | |
{% endfor %} | |
{%- paginate collections.all.products by 1000 -%} | |
{% for product in collections.all.products %} | |
{{ product.url }}<br/> | |
{% endfor %} | |
{%- endpaginate -%} | |
{%- paginate collections.all.products by 1000 -%} | |
{% for product in collections.all.products offset:1000 %} | |
{{ product.url }}<br/> | |
{% endfor %} | |
{%- endpaginate -%} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment