Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnysideup committed Apr 9, 2018
1 parent 0940e82 commit 364b5f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/control/ShoppingCart_Controller.php
Expand Up @@ -395,7 +395,7 @@ public function removeitem(SS_HTTPRequest $request)
public function removeallitem(SS_HTTPRequest $request)
{
$buyable = $this->buyable();
if($buyable)) {
if($buyable) {
$this->cart->deleteBuyable($buyable, $this->parameters());
//added this because cart was not updating correctly
$order = $this->cart->CurrentOrder();
Expand Down

0 comments on commit 364b5f3

Please sign in to comment.