d
Topic
Posts:
65
Last edited September 05, 2014

URL structure to display all products in a specific collection by tag? This post is outdated

Shopify has many built in url structures that can be helpful and save a lot of work.

for example

shopname.com/collections/shark-teeth

would display all the products in collections "shark-teeth"

shopname.com/blogs/blogname/tagged/shark-poops

will return a page listing all blog articles tagged with "shark-poops"

 

My questions is, is there a url structure that will return products in a collection that are tagged, for example:

shopname.com/collections/shark-teeth/tagged/pointy

would ideally render a page with products from the shark-teeth collection that are tagged as "pointy"

I dont know if this structure exists but if anyone know what it is it would save me some time writing a custom page.

 

Thanks!

i
Replies
Alex Member
Posts:
1925
September 05, 2014
g
1
upvotes

Yes there is and your example was close.

shopname.com/collections/shark-teeth/pointy

If you want to filter the collection to show products that contain multiple tags (e.g. "pointy" and "white"):

shopname.com/collections/shark-teeth/pointy+white

I hope this helps.

Posts:
65
September 05, 2014

Awesome, thanks again Alex. You've helped me before and I really appreciate it!