I’m sorry @douglas.plumley , I’ve kind of lost track of what you were trying to achieve here.
Let’s recap, as you did:
This may be unrealistic but here are our goals:
Provide the ability to search based on Year, Make, and Model
Use the out of the box Algolia Shopify app
Avoid having “messy” looking tags in collections
By looking at one of your product tags, you wouldn’t be able to achieve what you want today anyway, am I correct?
Indeed, based on a few tags of a few products that I looked at, you’re currently using different tags for each information with the Supply tag groups, there’s no hierarchical link between them anyway.
So in the end, you’re not looking at just a way for us to reuse your current tags, but really at a brand new feature, with a hierarchy between the M > M > Y .
Just to reiterate the challenges:
If we use named tags the way that Algolia expects them then the Shopify Supply theme tag groups doesn’t work. This is a challenge because I don’t think we can use Algolia for collection filtering. If we turn off tag groups then we have the ugly tags being shown to users in collections.
If we use tag groups the way that the Shopify Supply theme expects them then Algolia doesn’t see them as named tags which you are indicating is what we’d need for the YMM search.
Then you could use both.
You could filter, on your collections page, any tag that contains a colon (
Use https://help.shopify.com/themes/liquid/basics/operators#contains for this.
Then, you could activate named tags (which works even if you disable
tags in the
Faceting section of your search options).
Those tags could hold your hierarchy and could be used in your search results, independently of the