Correction du bogue dans le module DigressivePrice + quelques modifs design

This commit is contained in:
2021-04-20 14:11:27 +02:00
parent 39a0307e90
commit 21b19578ac
13 changed files with 5451 additions and 169 deletions

View File

@@ -29,8 +29,8 @@ class DigressivePriceListener extends BaseAction implements EventSubscriberInter
public static function getSubscribedEvents()
{
return [
TheliaEvents::CART_ADDITEM => [ "itemAddedToCart", 128 ],
TheliaEvents::CART_UPDATEITEM => [ "itemAddedToCart", 128 ],
TheliaEvents::CART_ADDITEM => [ "updateCartItemPrice", 128 ],
TheliaEvents::CART_UPDATEITEM => [ "updateCartItemPrice", 128 ],
TheliaEvents::CART_ITEM_DUPLICATE => [ 'cartItemDuplication', 100],
'action.createDigressivePrice' => [ "createDigressivePrice", 128 ],