GaboDot
GaboDot
Hi! I also created a custom directive as follows: ``` .directive('ngcartTotal', [function(){ return { restrict : 'E', controller : 'CartController', scope: {}, templateUrl: function(element, attrs) { if ( typeof attrs.templateUrl...
Hi there! You got it solved? At the beginning I got some issues too, so just be sure you add all the needed libraries: angular.js : https://ajax.googleapis.com/ajax/libs/angularjs/1.2.27/angular.js bootstrap : http://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css...
Did you opened the console log? If so, did you get any error?
Hi! You can modify the addtocart.html template, change the `` for ``. Hope this helps.
Hi! For total items I used: ngCart.getTotalItems() and for total cost just called: ngCart.totalCost() | currency Another way could be: var cart_items = ngCart.getCart().items; var total = ngCart.getCart().totalCost; Hope this...
Could you post some code?