diff --git a/core/lib/Thelia/Action/Cart.php b/core/lib/Thelia/Action/Cart.php
index 39f9c3cda..a5a98c63b 100755
--- a/core/lib/Thelia/Action/Cart.php
+++ b/core/lib/Thelia/Action/Cart.php
@@ -180,7 +180,7 @@ class Cart extends BaseAction implements EventSubscriberInterface
return array(
"action.addArticle" => array("addArticle", 128),
"action.deleteArticle" => array("deleteArticle", 128),
- "action.modifyArticle" => array("modifyArticle", 128),
+ "action.changeArticle" => array("modifyArticle", 128),
);
}
diff --git a/core/lib/Thelia/Config/Resources/routing/front.xml b/core/lib/Thelia/Config/Resources/routing/front.xml
index 4c5ff6859..1fa147f75 100644
--- a/core/lib/Thelia/Config/Resources/routing/front.xml
+++ b/core/lib/Thelia/Config/Resources/routing/front.xml
@@ -17,4 +17,8 @@
Thelia\Controller\Front\CartController::addArticle
+
+
+ Thelia\Controller\Front\CartController::addArticle
+
\ No newline at end of file
diff --git a/core/lib/Thelia/Controller/Front/CartController.php b/core/lib/Thelia/Controller/Front/CartController.php
index 53a455aa7..f8b3f8a39 100644
--- a/core/lib/Thelia/Controller/Front/CartController.php
+++ b/core/lib/Thelia/Controller/Front/CartController.php
@@ -41,7 +41,7 @@ class CartController extends BaseFrontController
{
$cartEvent = $this->getCartEvent();
- $this->dispatch(TheliaEvents::CART_MODIFYARTICLE, $cartEvent);
+ $this->dispatch(TheliaEvents::CART_CHANGEARTICLE, $cartEvent);
}
protected function getCartEvent()
diff --git a/core/lib/Thelia/Core/Event/TheliaEvents.php b/core/lib/Thelia/Core/Event/TheliaEvents.php
index 4d0e7ba1d..f0d652323 100755
--- a/core/lib/Thelia/Core/Event/TheliaEvents.php
+++ b/core/lib/Thelia/Core/Event/TheliaEvents.php
@@ -126,7 +126,7 @@ final class TheliaEvents
/**
* sent when a cart item is modify
*/
- const AFTER_CARTMODIFYITEM = "cart.modifyItem";
+ const AFTER_CARTCHANGEITEM = "cart.modifyItem";
/**
* sent for addArticle action
@@ -136,5 +136,5 @@ final class TheliaEvents
/**
* sent on modify article action
*/
- const CART_MODIFYARTICLE = "action.modifyArticle";
+ const CART_CHANGEARTICLE = "action.changeArticle";
}
\ No newline at end of file