Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joe-dempsey/25e19a0a962bfc4e63564d6d1ef4d84c to your computer and use it in GitHub Desktop.
Save joe-dempsey/25e19a0a962bfc4e63564d6d1ef4d84c to your computer and use it in GitHub Desktop.
url generatotr shopify quick and easy / dirty
{% 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