Skip to content

Commit

Permalink
Merge pull request #787 from moellering/fixes/786-cart.extra_rows-not…
Browse files Browse the repository at this point in the history
…-removed-via-angular

Fixes/786 cart.extra rows not removed via angular
  • Loading branch information
jrief committed Jun 14, 2020
2 parents eb68cd6 + 2e65408 commit c958d65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shop/static/shop/js/cart.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ djangoShopModule.directive('shopCartItem', function() {
}

function refreshCart(cart) {
angular.extend($scope.cart.extra_rows, cart.extra_rows);
$scope.cart.extra_rows = cart.extra_rows;
$scope.cart.total_quantity = cart.total_quantity;
$scope.cart.num_items = cart.num_items;
$scope.cart.subtotal = cart.subtotal;
Expand Down

0 comments on commit c958d65

Please sign in to comment.