-
-
Save joe-dempsey/0edff27b472520eece408b38341e8e05 to your computer and use it in GitHub Desktop.
Hey Quentin
category/tag & URL structure on Shopify is fixed - and will not change regardless of the code we use.
you have collections (aka categories) and then tags (which you can use for multiple things including subcategories)
so in Shopify it's
/collection/tag
example URL:
https://www.urbanexcess.com/collections/all-footwear/sizes-uk-10-eu-44
that filters all products in collection all-footwear with tag sizes-uk-10-eu-44
The above code is kinda old but should work to generate a sidebar menu of filters.
It's more about allowing control of the actual filter menu (order etc) for clients rather than other methods which put them in alphabetical order.
with shopify you kinda have to use pseudo categories / subcategories which takes a while to get your head around if coming from other platforms.
But you can see something similar (but a lot more complex code) https://kerry-food-services.myshopify.com/collections/all
To the end user it has Categories and subcategories
in the backend products have collections and tags
Hi,
Do you have an example website where this is used ?
Does it enable a /category/sub-category structure on shopify ?
Thanks for your answer :)
Happy holidays,
Best.
Quentin