Solved

Create Search Bar as A addable section to templates..

boozeman49
Tourist
3 1 1

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

Accepted Solution (1)
boozeman49
Tourist
3 1 1

This is an accepted solution.

thanks.. it works well..

View solution in original post

Replies 4 (4)

PageFly-Noah
Shopify Partner
1251 220 253

This is Noah from PageFly - Shopify Page Builder App

 

Hi @boozeman49  You can follow image here:

PageFlyNoah_0-1716199720268.png

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

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

boozeman49
Tourist
3 1 1

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..

 

 

 

search section.png

 

PageFly-Noah
Shopify Partner
1251 220 253

Hi @boozeman49  Oke sure, This have 2 part , you can follow here:

1. Please create file in snippet file, and past code to this file:

PageFlyNoah_0-1716277808516.png

2. You can select liquid/html element in theme editor and past code:

PageFlyNoah_3-1716278227637.png

 

3. You can find the file you want add code and call to this file:

PageFlyNoah_2-1716278169908.png
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.

 

 

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

boozeman49
Tourist
3 1 1

This is an accepted solution.

thanks.. it works well..