I’m figuring out if this is possible.
So I know you can show different sets of products with collections and tags like this:
/collections/collectioname/tagname
But what I can’t figure out is how to change the information for this collection+tag combination.
So for instance we’re talking about cars and vans
/collections/vans/volvo
/collections/cars/volvo
On these pages I want specific heading H1 and description, and footer-text etc. specifically for these URLs
So for /collections/vans/volvo I would like to display “These Volvo vans are just the greatest!” (somewhere stored in cms).
And for /collections/cars/volvo “The safest cars of the world” (also somewhere stored in CMS).
But in the above construction I’m only able to display context for the main collection ‘vans’ and ‘cars’.
I could create collections specifically for every combination of tags to create collections like these:
/collections/vans-volvo
and /collections/cars-volvo
But then I would lose the parent-child url construction, what google prefers in SEO construction.
This shopify site seems to get it managed:
https://www.elho.com/en/collection/flowerpots/lighting/
But I’m hoping there’s a structural solution to this, so I don’t have to hardcode this in the templates:
{% if current_tags contains 'My tag 1'%}
hard coded text here
{% endif %}
Thanks in advance