fixed event fire on movetocart from wishlist
This commit is contained in:
parent
e3bc993c99
commit
be2b55a898
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue