fixed event fire on movetocart from wishlist

This commit is contained in:
Prashant Singh 2019-06-29 18:44:23 +05:30
parent e3bc993c99
commit be2b55a898
1 changed files with 1 additions and 1 deletions

View File

@ -1124,7 +1124,7 @@ class Cart {
$data['quantity'] = 1;
$data['product'] = $product->id;
\Event::fire('checkout.cart.add.after', $product->id);
\Event::fire('checkout.cart.add.before', $product->id);
$result = $this->add($product->id, $data);