url_ for_ vendor
string | url_for_vendor
returns string
Generates a URL for a collection page that lists all products from the given product vendor.
{{ "Polina's Potent Potions" | url_for_vendor }}
Code
{{ "Polina's Potent Potions" | url_for_vendor }}Output
/collections/vendors?q=Polina%27s%20Potent%20Potions
Output
/collections/vendors?q=Polina%27s%20Potent%20PotionsWas this page helpful?