October 2017
Intermediate to advanced
370 pages
8h 57m
English
In the previous chapter, we talked about some features that we could add to enhance our e-commerce product page experience. One of these was a product search box. Let's look at this next.
Of course, to search for products in all but the simplest cases will require integration with an inventory system or database. While that aspect is outside the scope of this book, we can put all the other pieces in place.
We'll try to build something similar to Amazon's search box:

Let's start with an XHR form like we saw earlier (full code at /ch6/product-search.html ...
Read now
Unlock full access