Skip to content

Commit 9a033e5

Browse files
author
Nikita Chubukov
committed
MAGETWO-91666: Wishlist update does not return a success message
- Added message about successful saving of the product description on Wish list page
1 parent 3e3c5f1 commit 9a033e5

File tree

1 file changed

+3
-0
lines changed
  • app/code/Magento/Wishlist/Controller/Index

1 file changed

+3
-0
lines changed

app/code/Magento/Wishlist/Controller/Index/Update.php

100644100755
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ public function execute()
111111
}
112112
try {
113113
$item->setDescription($description)->setQty($qty)->save();
114+
$this->messageManager->addSuccessMessage(
115+
__('%1 has been updated in your Wish List.', $item->getProduct()->getName())
116+
);
114117
$updatedItems++;
115118
} catch (\Exception $e) {
116119
$this->messageManager->addError(

0 commit comments

Comments
 (0)