Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

The flash messages for clearing & saving cart are switched around #29

Merged
merged 1 commit into from

2 participants

Myke Hines Paweł Jędrzejewski
Myke Hines

When saving your cart you get the message: "The cart has been successfully cleared"

Paweł Jędrzejewski pjedrzejewski merged commit 9090fb5 into from
Paweł Jędrzejewski

Thanks Myke! :+1:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 EventListener/FlashListener.php
4 EventListener/FlashListener.php
View
@@ -28,8 +28,8 @@ class FlashListener implements EventSubscriberInterface
* @var array
*/
private static $messages = array(
- SyliusCartEvents::CART_CLEAR_COMPLETED => 'The cart have been updated correctly.',
- SyliusCartEvents::CART_SAVE_COMPLETED => 'The cart has been successfully cleared.',
+ SyliusCartEvents::CART_SAVE_COMPLETED => 'The cart have been updated correctly.',
+ SyliusCartEvents::CART_CLEAR_COMPLETED => 'The cart has been successfully cleared.',
SyliusCartEvents::ITEM_ADD_COMPLETED => 'Item has been added to cart.',
SyliusCartEvents::ITEM_REMOVE_COMPLETED => 'Item has been removed from cart.',
Something went wrong with that request. Please try again.