Skip to content

Commit 599fb6d

Browse files
authored
Update Cart.php
1 parent 7571d4e commit 599fb6d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Cart.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ public function add($id, $name = null, $qty = null, $price = null, array $option
100100
$cartItem = $this->createCartItem($id, $name, $qty, $price, $options);
101101
}
102102

103-
$cartItem = $this->createCartItem($id, $name, $qty, $price, $options);
104-
105103
$content = $this->getContent();
106104

107105
if ($content->has($cartItem->rowId)) {

0 commit comments

Comments
 (0)