Skip to content

Commit

Permalink
Update Cart.php
Browse files Browse the repository at this point in the history
  • Loading branch information
hardevine authored Apr 20, 2019
1 parent 7571d4e commit 599fb6d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ public function add($id, $name = null, $qty = null, $price = null, array $option
$cartItem = $this->createCartItem($id, $name, $qty, $price, $options);
}

$cartItem = $this->createCartItem($id, $name, $qty, $price, $options);

$content = $this->getContent();

if ($content->has($cartItem->rowId)) {
Expand Down

0 comments on commit 599fb6d

Please sign in to comment.