Practical exercises
- Add local storage to retrieve and store the products added and removed in our product calculator example from this chapter.
- Overwrite a template used for shipping method rendering in the checkout process in your local theme. Do it via the checkout page configuration handle.
- Completing the following basic Knockout.js practice tasks:
- On any given page, add a template with an input field.
- Bind the text to the Knockout.js observable.
- As the user enters data into the input field, show the reverse of that text below the field.
- Dynamic UI component, quick view: On a product listing page, add a button titled Quick View that will open a popup/modal window that will display the product name and the product price loaded from the selected product grid item.