How to output the vendor URL without 'vendors?q='

milu_balan
Shopify Partner
60 0 4

Hi community,

 

The collection filter {{ "Polina's Potent Potions" | url_for_vendor }} will output :

/collections/vendors?q=Polina%27s%20Potent%20Potions.

But how can I get the vendors url without any additional  %27s%20 or vendors?q= in the URL, 

I have this 'collections/vendors?q=Onyx%20%26%20Green' in the address bar on clicking vendor name.But I need it as collections/onyx-and-green/.

 

Any help?

Replies 2 (2)

JonasS
Shopify Partner
73 8 12

Shopify only supports searching by query parameter in your collection page. No way to change you want I think

Cobo-Sf : Your needs, our speed – Together, we succeed!
Feel free to let us know what you really want to change for your client.
milu_balan
Shopify Partner
60 0 4

I tried this URL to redirect using javascript redirect.But why that is also not working.