Hi, i need to create a search bar which i can add to any collection or product template as a section.. I have created a ,liquid search-1.liquid with the following code but i still cannot add that as a section as it is not shown… the code
1 Like
This is Noah from PageFly - Shopify Page Builder App
Hi @boozeman49 You can follow image here:
If you want add in file collection you need add code in file collection
Hope my solution will help you resolve the issue.
Best regards,
Noah | PageFly
Hi Noah,
Thanks.. Is it possible to create it as a section that can be to any template in any position flexible to me.. ..btw your method works.. but i need to create my .liquid as a snippet instead..
Hi @boozeman49 Oke sure, This have 2 part , you can follow here:
- Please create file in snippet file, and past code to this file:
- You can select liquid/html element in theme editor and past code:
- You can find the file you want add code and call to this file:
Above are 3 ways you can use file.snippet, If you want it to be beautiful and have empty areas, you need to adjust the css code for it.
Hope my solution will help you resolve the issue.
thanks.. it works well..




