Year-Make-Model (YMM) format is commonly used to display the filters of:
- production year
- manufacturer
- model type
on any store page, typically on the homepage. This functionality is particularly relevant for automotive, motorcycle, and other similar stores and can be configured within certain Shopify themes or through specific Shopify apps.
Do Filters on collections work with YMM format?
Searchanise Filters on collections can read Shopify collection URLs that include product tag handles. For example, a YMM selector for a 2022 Toyota Corolla might open /collections/toyota/model-corolla+year-2022. Here, toyota is the collection handle, and model-corolla and year-2022 are tag handles.
To check compatibility, select a year, make, and model in your storefront’s YMM selector. Check the URL it opens and verify that the collection shows products matching your selection. If your YMM app uses a different URL format or the results don’t match, send the generated URL to our support team so they can check compatibility.
Setting up filters for YMM
In Shopify, create a collection for each make and add the relevant products. Tag those products with values such as Year_2022 and Model_Corolla. If you store the make in product tags too, you can also create a filter using the Make_ prefix.
Searchanise Search & Filter is gradually rolling out a new control panel to Shopify stores. During the rollout, some Shopify stores may still use the previous version. If switching is available for your store, you can try the new control panel and return to the previous version at any time. Learn how to identify your control panel version.
- Go to Filters > Filters > Settings.
- In Create filters by tag prefix, add the
Year_andModel_prefixes:- Previous admin: Enter the prefixes separated by commas.
- New admin: Enter each prefix separately and click Add or press Enter.
- Save the changes.
- Start indexing using the link in the notification.
- After indexing finishes, open the Filter list tab and check that the Year and Model filters are listed. Then check that they appear on the relevant collection pages.
Include the underscore when entering each prefix. For example, use Year_ for tags such as Year_2022. Learn more about creating filters from tag prefixes.
Hiding the standard Tags filter
If the Tags filter repeats values already shown in Year and Model, hide it in the filter trees where those dedicated filters appear.
- Go to Filters > Filters on collections > Collection filter trees.
- Open the default collection filter tree:
- Previous admin: Click the pencil icon next to the tree.
- New admin: Click the tree row and open the Filters tab.
- Find Tags and set its status to Hidden:
- Previous admin: Select the filter and click Edit selected to change its status.
- New admin: If Tags is Active, select it under Added filters and click Toggle status.
- Save the changes. Repeat for any custom collection filter trees that show the same duplicate values.
If Tags also duplicates Year and Model on the search results page, hide it in the Search filter tree as well. Learn how to edit filter trees.
