Merge pull request #432 from jitendra-webkul/jitendra

Cart add event code updated
This commit is contained in:
JItendra Singh 2019-01-07 16:12:25 +05:30 committed by GitHub
commit 138ebf4d9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ class CartController extends Controller
$result = Cart::add($id, request()->except('_token'));
Event::fire('core.channel.add.after', $result);
Event::fire('checkout.cart.add.after', $result);
if ($result) {
session()->flash('success', trans('shop::app.checkout.cart.item.success'));