12 Adding e-commerce capabilities using the Jamstack
This chapter covers
- Creating product pages for an e-commerce website
- Adding a shopping cart via JavaScript
- Using APIs to handle payments
- Fulfilling a purchase using a webhook in a cloud function
After 11 chapters on Hugo and the Jamstack, we have a complete, fast, and modern corporate website. We can use it to present any content, authored and managed as Markdown documents, with a custom theme. We can offer dynamic surveys, a fuzzy search on the client with support for comments, a contact form, and an embedded single-page application (SPA).
Hugo is applicable in a much wider variety of use cases. A documentation website is relatively static. A portfolio page or a media website needs image ...
Get Hugo in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.