Skip to product information
1 of 1
Published:2023.05.11

How to implement collection search in the Shopify theme "Dawn"

How to implement collection search in the Shopify theme "Dawn"

Applications

  • CollectionsEdit

How to implement

  • LIQUID
  • Javascript
View full details

By default, Shopify does not provide a function to search collections themselves. If you need advanced search functionality, we recommend using an app, but if you don't need such functionality, you can customize it to search by title or handle. Here is an example of how to set it up.

How to implement collection search in the theme "Dawn"


[Implementation method] Add a search form and search result display function to "main-list-collections.liquid"


[Position of code to add] Additional code ①


[Position of code to add] Additional code ②


[Position of code to add] Additional code ③


After making a purchase (all items are ¥0), you will be able to view the sample code.

If you have already made a purchase, please login here.

Sample Codes

Test Theme :Dawn/Rise 15.2.0

main-list-collections.liquid Additional code ① (additional insertion code)

Related Post