---
title: "Liquid filters: link_to_vendor"
description: |-
Generates an HTML `` tag with an `href` attribute linking to a [collection page](https://shopify.dev/docs/storefronts/themes/architecture/templates/collection) that lists all products of a given
product vendor.
api_name: liquid
source_url:
html: https://shopify.dev/docs/api/liquid/filters/link_to_vendor
md: https://shopify.dev/docs/api/liquid/filters/link_to_vendor.md
---
# link\_to\_vendor
```oobleck
string | link_to_vendor
```
returns [string](https://shopify.dev/docs/api/liquid/basics#string)
Generates an HTML `` tag with an `href` attribute linking to a [collection page](https://shopify.dev/docs/storefronts/themes/architecture/templates/collection) that lists all products of a given product vendor.
```liquid
{{ "Polina's Potent Potions" | link_to_vendor }}
```
##### Code
```
{{ "Polina's Potent Potions" | link_to_vendor }}
```
## Output
```html
Polina's Potent Potions
```
### HTML attributes
```oobleck
string | link_to_vendor: attribute: string
```
You can specify [HTML attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attributes) by including a parameter that matches the attribute name, and the desired value.
```liquid
{{ "Polina's Potent Potions" | link_to_vendor: class: 'link-class' }}
```
##### Code
```
{{ "Polina's Potent Potions" | link_to_vendor: class: 'link-class' }}
```
## Output
```html
Polina's Potent Potions
```