Wishlist add flash message issue fixed

This commit is contained in:
jitendra 2022-08-09 11:21:40 +05:30
parent 0d24c7f379
commit 9498348ac1
1 changed files with 2 additions and 0 deletions

View File

@ -92,6 +92,8 @@ class WishlistController extends Controller
if (! $wishlist) {
$wishlist = $this->wishlistRepository->create($data);
session()->flash('success', trans('customer::app.wishlist.success'));
return redirect()->back();
} else {
$this->wishlistRepository->findOneWhere([