October 2017
Intermediate to advanced
370 pages
8h 57m
English
After that not-so-brief introduction to amp-bind, it's time to get back to the shopping cart. Earlier, we mentioned that a nice update to the cart would be if we could remove items via an XHR request without a full page reload. Let's build this now.
Recall that the shopping cart summary is fetched from the server via amp-list on page load. We're going to use amp-bind to trigger an amp-list fetch that will also remove an item from the cart.
Read now
Unlock full access