Added cart item add after event for move to cart from wishlist

This commit is contained in:
Prashant Singh 2019-06-29 17:04:18 +05:30
parent a2bf855fbe
commit ff863fcc54
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;