Jump to content

How To Custom-Code Search Bar That Searches Entire Site Content?

Recommended Posts

Hey everyone! I have a client who has inventory on his site for fitness equipment, but he's not selling it off the website. I want to custom-code a search bar in the navigation or really anywhere on the site, but the only one's I can find are for product/ecommerce... Can anyone help custom-code a search bar that searches all of the site's content?
Thanks!

Link to comment
10 hours ago, KellieWorthen said:

I have a client who has inventory on his site for fitness equipment, but he's not selling it off the website. I want to custom-code a search bar in the navigation or really anywhere on the site, but the only one's I can find are for product/ecommerce.

I usually recommend using store pages to display inventory, even if they aren't selling directly via the website. If you use a store page, you'll be able to categorise the products allowing you to sort and filter more easily. That said, a link to the site may help to give context to your question. 

I would advise against using the built-in search feature as search isn't very reliable at the moment.

Did this help? Please give feedback by clicking an icon below  ⬇️

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.