This commit is contained in:
Jitendra Singh 2020-01-13 12:44:36 +05:30
parent 27e728d54e
commit cf36d252a0
3 changed files with 4 additions and 4 deletions

View File

@ -159,7 +159,7 @@ class WishlistController extends Controller
$result = Cart::moveToCart($wishlistItem);
if ($result) {
session()->flash('success', trans('shop::app.wishlist.moved'));
session()->flash('success', trans('shop::app.customer.account.wishlist.moved'));
} else {
session()->flash('info', trans('shop::app.checkout.cart.integrity.missing_options'));

View File

@ -148,9 +148,9 @@ class CartController extends Controller
$result = Cart::moveToWishlist($id);
if ($result) {
session()->flash('success', trans('shop::app.wishlist.moved'));
session()->flash('success', trans('shop::app.checkout.cart.move-to-wishlist-success'));
} else {
session()->flash('warning', trans('shop::app.wishlist.move-error'));
session()->flash('warning', trans('shop::app.checkout.cart.move-to-wishlist-error'));
}
return redirect()->back();

View File

@ -428,7 +428,7 @@ return [
'remove' => 'Remove',
'remove-link' => 'Remove',
'move-to-wishlist' => 'Move to Wishlist',
'move-to-wishlist-success' => 'Item moved to wishlist.',
'move-to-wishlist-success' => 'Item moved to wishlist successfully.',
'move-to-wishlist-error' => 'Cannot move item to wishlist, please try again later.',
'add-config-warning' => 'Please select option before adding to cart.',
'quantity' => [