Merge pull request #1140 from prashant-webkul/development

Development
This commit is contained in:
Jitendra Singh 2019-06-29 17:09:19 +05:30 committed by GitHub
commit 77af67ffd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1127,6 +1127,8 @@ class Cart {
$result = $this->add($product->id, $data);
if ($result) {
\Event::fire('checkout.cart.add.after', $result);
return 1;
} else {
return 0;