I’m creating a ecommerce site since the static items are a perfect way to serve this content, so I’m wondering how could I handle searching of a product or suggesting similar products?
See Related Content for suggesting similar products:
You can add search to a Hugo site on the front end with JavaScript libraries like Lunr or Fuse etc. There are a few tutorials on the web and some older tips in the forum. Also have a look at Hugo Themes that have implemented search.
1 Like