Issue #1764 fixed
This commit is contained in:
parent
27e728d54e
commit
cf36d252a0
|
|
@ -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'));
|
||||
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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' => [
|
||||
|
|
|
|||
Loading…
Reference in New Issue