diff --git a/ko-cart/js/viewmodel.js b/ko-cart/js/viewmodel.js index c91dfc9..dcd391f 100644 --- a/ko-cart/js/viewmodel.js +++ b/ko-cart/js/viewmodel.js @@ -91,7 +91,9 @@ var vm = (function () { addProduct: addProduct, // second chapter cart: cart, - showCartDetails: showCartDetails + showCartDetails: showCartDetails, + totalItems: totalItems, + grandTotal: grandTotal }; })(); ko.applyBindings(vm);