bug fix for event fire

This commit is contained in:
Prashant Singh 2019-06-29 17:07:19 +05:30
parent ff863fcc54
commit ec2baa1be9
1 changed files with 1 additions and 1 deletions

View File

@ -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 {