Added cart item add after event for move to cart from wishlist
This commit is contained in:
parent
a2bf855fbe
commit
ff863fcc54
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue