This chapter covers everything you need to know to implement a real-world e-commerce product catalog that has a decent amount of complexity. As always, there are many other ways you could present the catalog, other features you could implement, and other stylistic choices you could make. I’ll highlight a few of those here; no doubt you can come up with several others on your own.
One feature I have not incorporated into this site is pagination: making a list of items appear in smaller groupings—like 10 to 20 at a time—over multiple pages. For starters, the page for listing every coffee product does so using a single drop-down menu, so no pagination is required there. As for the non-coffee products, the ...