Solved

Can we filter search results in Shopify 2.0 without an app?

MotoHeaven
Tourist
10 0 6

Good Morning,

With the release of Shopify 2.0 stores in recent months and the implementation of filtering into Shopify Itself, the platform has now eluded to the fact we have the ability to use this feature to filter Search Results without an app. 

Is this feature available to be implemented right now as it is not on Dawn template nor many of the leading 2.0 templates available right now.

And on another note is it confirmed that Metafields will become an option for this new filter menu in the future?

MotoHeaven_0-1632705634355.png

Thanks 🙂

Accepted Solution (1)
PaulNewton
Shopify Partner
6275 574 1324

This is an accepted solution.

Always backup themes before making changes

You may need to check for a theme update, or for Dawn try and merge in the latest git changes as it should be available, also double check theme settings.

https://github.com/Shopify/dawn/pull/566 

https://github.com/Shopify/dawn/blob/main/snippets/facets.liquid 

 

(untested) If you need to add filtering for search to an OS2.0 theme you may just be able to use a custom liquid block|section and add the boilerplate code from the dev docs.

https://shopify.dev/themes/navigation-search/filtering#search-results-filter-display 

Save time & money ,Ask Questions The Smart Way


Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org


View solution in original post

Replies 4 (4)

PaulNewton
Shopify Partner
6275 574 1324

Filters are available in Dawn and is available in OS2.0 compatible themes that have that feature.

Be sure to check for theme updates or your themes developers docs first if you cannot find this feature in your theme.


@MotoHeaven wrote:

And on another note is it confirmed that Metafields will become an option for this new filter menu in the future?


OS2 has Metafield definitions but no clear indication of metafield support in filters 

https://help.shopify.com/en/manual/metafields/metafield-definitions 

Save time & money ,Ask Questions The Smart Way


Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org


MotoHeaven
Tourist
10 0 6

Unless I am missing something SEARCH Filters are not available in Dawn as the feature does describe. I understand they work in Collection Pages but my original post has highlighted the mention of Search Result Filtering. 

PaulNewton
Shopify Partner
6275 574 1324

This is an accepted solution.

Always backup themes before making changes

You may need to check for a theme update, or for Dawn try and merge in the latest git changes as it should be available, also double check theme settings.

https://github.com/Shopify/dawn/pull/566 

https://github.com/Shopify/dawn/blob/main/snippets/facets.liquid 

 

(untested) If you need to add filtering for search to an OS2.0 theme you may just be able to use a custom liquid block|section and add the boilerplate code from the dev docs.

https://shopify.dev/themes/navigation-search/filtering#search-results-filter-display 

Save time & money ,Ask Questions The Smart Way


Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org


AzureMinion
Shopify Partner
28 0 0

The simplest way is to use a filter app that supports filters on search page. One is https://apps.shopify.com/ultimate-search-and-filter-1. It can help you add different types of filters to your search page and it is fast.

 

Hope this helps!