Skip to content

Commit 918d44d

Browse files
committed
fix cart session empty
1 parent cde6166 commit 918d44d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/Darryldecode/Cart/Cart.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,6 @@ public function __construct($session, $events, $instanceName, $session_key)
5959
$this->instanceName = $instanceName;
6060
$this->sessionKey = $session_key;
6161
$this->conditions = new CartConditionCollection();
62-
63-
// initial cart container
64-
$this->session->put(
65-
$this->sessionKey,
66-
array()
67-
);
68-
6962
$this->events->fire($this->getInstanceName().'.created', array($this));
7063
}
7164

0 commit comments

Comments
 (0)