fix cart quantity for issue #46

This commit is contained in:
Manuel Raynaud
2013-10-22 17:19:16 +02:00
parent 6fef556319
commit 0580539ed8
3 changed files with 23 additions and 5 deletions

View File

@@ -69,7 +69,8 @@ class Cart extends BaseAction implements EventSubscriberInterface
}
if ($append && $cartItem !== null) {
$this->updateQuantity($cartItem, $quantity);
$cartItem->addQuantity($quantity)
->save();
}
}