From 599fb6d7b29d55994789c2642aed2eb49c318107 Mon Sep 17 00:00:00 2001 From: Harinder Date: Sat, 20 Apr 2019 23:22:25 +0530 Subject: [PATCH] Update Cart.php --- src/Cart.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Cart.php b/src/Cart.php index adffe8b2..f2b22005 100644 --- a/src/Cart.php +++ b/src/Cart.php @@ -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)) {