bug fix for event fire
This commit is contained in:
parent
ff863fcc54
commit
ec2baa1be9
|
|
@ -1127,7 +1127,7 @@ class Cart {
|
|||
$result = $this->add($product->id, $data);
|
||||
|
||||
if ($result) {
|
||||
Event::fire('checkout.cart.add.after', $result);
|
||||
\Event::fire('checkout.cart.add.after', $result);
|
||||
|
||||
return 1;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue