Url for type
From Shopify Wiki
[edit]
url_for_type(type)
This filter creates an url for a type name by transforming it to a handle and adding the appropriate directory in front of it to make the url work.
{{ "Used car" | url_for_type }}
The previous example would result in an output like this:
"/labels/used-car"
You will most likely want to use link_to_type instead or in another filter like link_to.
