Skip to content

Url For Type

Generates a URL for a collection page that lists all products of the given product type.

Example

liquid
  {{ 'GYM' | url_for_type }}

Output

/collections/GYM?sort_by=price-ascending