Skip to content

Commit

Permalink
Merge pull request #1880 from OwenMelbz/patch-2
Browse files Browse the repository at this point in the history
Added "Cart updated" message to the correct language category
  • Loading branch information
lukeholder committed Nov 24, 2020
2 parents 0cc0963 + 344f146 commit 147e8dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/CartController.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ private function _returnCart()
$cartUpdatedMessage = Html::encode($cartUpdatedNotice);
Craft::$app->getDeprecator()->log('cartUpdatedNotice', 'The `cartUpdatedNotice` param has been deprecated for `carts/*` requests. Use a hashed `successMessage` param instead.');
} else {
$cartUpdatedMessage = Craft::t('app', 'Cart updated.');
$cartUpdatedMessage = Craft::t('commerce', 'Cart updated.');
}

if ($this->request->getAcceptsJson()) {
Expand Down

0 comments on commit 147e8dd

Please sign in to comment.