Add InPost Pay integration to admin templates

- Created a new template for the cart rule form with custom label, switch, and choice widgets.
- Implemented the InPost Pay block in the order details template for displaying delivery method, APM, and VAT invoice request.
- Added legacy support for the order details template to maintain compatibility with older PrestaShop versions.
This commit is contained in:
2025-09-14 14:38:09 +02:00
parent d895f86a03
commit 4066f6fa31
1086 changed files with 76598 additions and 6 deletions

View File

@@ -0,0 +1,65 @@
# PS >= 1.7.4 BO configuration
imports:
- { resource: ../services/sf34.yml }
- { resource: ../services/common_admin.yml }
parameters:
container.autowiring.strict_mode: true
services:
_defaults:
public: false
autowire: true
bind:
$context: '@inpost.izi.context'
$assetsProviders: !tagged inpost.izi.admin_assets_provider
$formFactory: '@=container.has("form.factory") ? service("form.factory") : service("inpost.izi.form_factory")'
izi\prestashop\Hook\Admin\ActionAdminCartRuleSaveAfter:
class: izi\prestashop\Hook\Admin\ActionAdminCartRuleSaveAfter
izi\prestashop\Hook\Admin\ActionAdminControllerSetMedia:
class: izi\prestashop\Hook\Admin\ActionAdminControllerSetMedia
izi\prestashop\Hook\Admin\ActionAdminInPostConfirmedShipmentsControllerAfter:
class: izi\prestashop\Hook\Admin\ActionAdminInPostConfirmedShipmentsControllerAfter
izi\prestashop\Hook\Admin\ActionAdminInPostConfirmedShipmentsControllerBefore:
class: izi\prestashop\Hook\Admin\ActionAdminInPostConfirmedShipmentsControllerBefore
izi\prestashop\Hook\Admin\DisplayAdminOrderSide:
class: izi\prestashop\Hook\Admin\DisplayAdminOrderSide
izi\prestashop\Hook\Admin\DisplayAdminOrderLeft:
class: izi\prestashop\Hook\Admin\DisplayAdminOrderLeft
izi\prestashop\Hook\Admin\DisplayBackOfficeHeader:
class: izi\prestashop\Hook\Admin\DisplayBackOfficeHeader
izi\prestashop\CommandBus:
class: izi\prestashop\CommandBus
tags: [ container.service_subscriber ]
izi\prestashop\Hook\HookExecutor:
class: izi\prestashop\Hook\HookExecutor
tags: [ container.service_subscriber ]
arguments:
$widget: '@inpost.izi.module'
izi\prestashop\Form\FormFactoryFactory:
class: izi\prestashop\Form\FormFactoryFactory
inpost.izi.form_factory:
class: Symfony\Component\Form\FormFactoryInterface
factory: [ '@izi\prestashop\Form\FormFactoryFactory', create ]
arguments:
- '@inpost.izi.form_type_locator'
- Symfony\Component\Form\Extension\Core\Type\FormType: ['@izi\prestashop\Form\TypeExtension\HelpTextExtension']
inpost.izi.form_type_locator:
class: Symfony\Component\DependencyInjection\ServiceLocator
tags:
- { name: container.service_locator }
arguments:
- izi\prestashop\Form\Type\CartRuleOptionsType: '@izi\prestashop\Form\Type\CartRuleOptionsType'
izi\prestashop\Form\Type\ObjectModelType: '@izi\prestashop\Form\Type\ObjectModelType'

View File

@@ -0,0 +1,100 @@
# PS >= 1.7.4 FO configuration
imports:
- { resource: ../services/sf34.yml }
- { resource: ../services/common_front.yml }
services:
_defaults:
public: false
inpost.izi.hook_locator:
class: Symfony\Component\DependencyInjection\ServiceLocator
tags: [ container.service_locator ]
arguments:
- actionObjectCartDeleteBefore: '@izi\prestashop\Hook\Common\ActionCartDeleteBefore'
actionObjectCartUpdateAfter: '@izi\prestashop\Hook\Common\ActionCartUpdateAfter'
actionObjectInPostShipmentModelAddAfter: '@izi\prestashop\Hook\Common\ActionShipmentAddAfter'
actionObjectInPostShipmentModelUpdateBefore: '@izi\prestashop\Hook\Common\ActionShipmentUpdateBefore'
actionObjectInPostShipmentModelUpdateAfter: '@izi\prestashop\Hook\Common\ActionShipmentUpdateAfter'
actionValidateOrder: '@izi\prestashop\Hook\Common\ActionValidateOrder'
actionOrderStatusPostUpdate: '@izi\prestashop\Hook\Common\ActionOrderStatusPostUpdate'
actionObjectOrderUpdateBefore: '@izi\prestashop\Hook\Common\ActionObjectOrderUpdateBefore'
actionObjectOrderUpdateAfter: '@izi\prestashop\Hook\Common\ActionObjectOrderUpdateAfter'
actionAjaxDieCartControllerdisplayAjaxUpdateBefore: '@izi\prestashop\Hook\Front\ActionCartControllerAjaxUpdateResponse'
actionFrontControllerSetMedia: '@izi\prestashop\Hook\Front\ActionFrontControllerSetMedia'
actionEmailSendBefore: '@izi\prestashop\Hook\Common\ActionEmailSendBefore'
displayHeader: '@izi\prestashop\Hook\Front\DisplayHeader'
paymentOptions: '@izi\prestashop\Hook\Front\ActionGetPaymentOptions'
displayOrderConfirmation: '@izi\prestashop\Hook\Front\DisplayOrderConfirmation'
displayIziThankYou: '@izi\prestashop\Hook\Front\DisplayIziThankYou'
displayPaymentReturn: '@izi\prestashop\Hook\Front\DisplayPaymentReturn'
displayProductActions: '@izi\prestashop\Hook\Front\DisplayProductActions'
displayProductAdditionalInfo: '@izi\prestashop\Hook\Front\DisplayProductAdditionalInfo'
displayExpressCheckout: '@izi\prestashop\Hook\Front\DisplayExpressCheckout'
displayShoppingCart: '@izi\prestashop\Hook\Front\DisplayShoppingCart'
displayShoppingCartFooter: '@izi\prestashop\Hook\Front\DisplayShoppingCartFooter'
displayCheckoutSummaryTop: '@izi\prestashop\Hook\Front\DisplayCheckoutSummaryTop'
displayCustomerAccountFormTop: '@izi\prestashop\Hook\Front\DisplayCustomerAccountFormTop'
displayCustomerLoginFormAfter: '@izi\prestashop\Hook\Front\DisplayCustomerLoginFormAfter'
displayIziCartPreviewButton: '@izi\prestashop\Hook\Front\DisplayIziCartPreviewButton'
displayIziCheckoutButton: '@izi\prestashop\Hook\Front\DisplayIziCheckoutButton'
# products
actionObjectProductDeleteBefore: '@izi\prestashop\Hook\Common\Product\ActionProductDeleteBefore'
actionObjectProductDeleteAfter: '@izi\prestashop\Hook\Common\Product\ActionProductDeleteAfter'
actionObjectProductUpdateAfter: '@izi\prestashop\Hook\Common\Product\ActionProductUpdateAfter'
actionObjectCombinationDeleteBefore: '@izi\prestashop\Hook\Common\Product\ActionCombinationDeleteBefore'
actionObjectCombinationDeleteAfter: '@izi\prestashop\Hook\Common\Product\ActionCombinationDeleteAfter'
actionObjectCombinationUpdateAfter: '@izi\prestashop\Hook\Common\Product\ActionCombinationUpdateAfter'
actionObjectImageAddAfter: '@izi\prestashop\Hook\Common\Product\ActionImageAddAfter'
actionObjectImageDeleteAfter: '@izi\prestashop\Hook\Common\Product\ActionImageDeleteAfter'
actionObjectSpecificPriceAddAfter: '@izi\prestashop\Hook\Common\Product\ActionSpecificPriceAddAfter'
actionObjectSpecificPriceUpdateAfter: '@izi\prestashop\Hook\Common\Product\ActionSpecificPriceUpdateAfter'
actionObjectSpecificPriceDeleteAfter: '@izi\prestashop\Hook\Common\Product\ActionSpecificPriceDeleteAfter'
actionUpdateQuantity: '@izi\prestashop\Hook\Common\Product\ActionUpdateQuantity'
inpost.izi.basket_event_handler_locator:
class: Symfony\Component\DependencyInjection\ServiceLocator
tags: [ container.service_locator ]
arguments:
- PRODUCTS_QUANTITY: '@izi\prestashop\MerchantApi\Handler\Basket\ProductsQuantityEventHandler'
PROMO_CODES: '@izi\prestashop\MerchantApi\Handler\Basket\PromoCodesEventHandler'
RELATED_PRODUCTS: '@izi\prestashop\MerchantApi\Handler\Basket\RelatedProductsEventHandler'
izi\prestashop\CommandBus:
class: izi\prestashop\CommandBus
arguments:
- '@inpost.izi.command_handler_locator'
inpost.izi.command_handler_locator:
class: Symfony\Component\DependencyInjection\ServiceLocator
tags: [ container.service_locator ]
arguments:
- izi\prestashop\Command\UnbindBasketCommand: '@izi\prestashop\Handler\UnbindBasketHandlerInterface'
izi\prestashop\Command\UpdateOrderTrackingNumbersCommand: '@izi\prestashop\Handler\UpdateOrderTrackingNumbersHandlerInterface'
izi\prestashop\Command\UpdateOrderStatusCommand: '@izi\prestashop\Handler\UpdateOrderStatusHandlerInterface'
izi\prestashop\Command\UpdateOrderAddressDeliveryCommand: '@izi\prestashop\Handler\UpdateOrderAddressDeliveryHandlerInterface'
izi\prestashop\Command\UpdateBasketCommand: '@izi\prestashop\Handler\UpdateBasketHandlerInterface'
izi\prestashop\Command\GetBasketBindingKeyCommand: '@izi\prestashop\Handler\GetBasketBindingKeyHandlerInterface'
izi\prestashop\Command\GetOrderConfirmationUrlCommand: '@izi\prestashop\Handler\GetOrderConfirmationUrlHandlerInterface'
izi\prestashop\MerchantApi\Command\ConfirmBasketBindingCommand: '@izi\prestashop\MerchantApi\Handler\ConfirmBasketBindingHandlerInterface'
izi\prestashop\MerchantApi\Command\DeleteBasketBindingCommand: '@izi\prestashop\MerchantApi\Handler\DeleteBasketBindingHandlerInterface'
izi\prestashop\MerchantApi\Command\GetBasketCommand: '@izi\prestashop\MerchantApi\Handler\GetBasketHandlerInterface'
izi\prestashop\MerchantApi\Command\UpdateBasketCommand: '@izi\prestashop\MerchantApi\Handler\UpdateBasketHandlerInterface'
izi\prestashop\MerchantApi\Command\GetProductsCommand: '@izi\prestashop\MerchantApi\Handler\GetProductsHandlerInterface'
izi\prestashop\MerchantApi\Command\AddProductToBasketCommand: '@izi\prestashop\MerchantApi\Handler\AddProductToBasketHandlerInterface'
izi\prestashop\MerchantApi\Command\CreateOrderCommand: '@izi\prestashop\MerchantApi\Handler\CreateOrderHandlerInterface'
izi\prestashop\MerchantApi\Command\GetOrderCommand: '@izi\prestashop\MerchantApi\Handler\GetOrderHandlerInterface'
izi\prestashop\MerchantApi\Command\UpdateOrderCommand: '@izi\prestashop\MerchantApi\Handler\UpdateOrderHandlerInterface'
izi\prestashop\MerchantApi\Command\Basket\CreateCartCommand: '@izi\prestashop\MerchantApi\Handler\Basket\CreateCartHandlerInterface'
izi\prestashop\MerchantApi\Command\Basket\AddProductToCartCommand: '@izi\prestashop\MerchantApi\Handler\Basket\AddProductToCartHandlerInterface'
izi\prestashop\MerchantApi\Command\Basket\IncrementCartQuantityCommand: '@izi\prestashop\MerchantApi\Handler\Basket\IncrementCartQuantityHandlerInterface'
izi\prestashop\MerchantApi\Command\Order\UpdateCartMessageCommand: '@izi\prestashop\MerchantApi\Handler\Order\UpdateCartMessageHandlerInterface'
izi\prestashop\HotProduct\Message\DeleteRemoteProductCommand: '@izi\prestashop\HotProduct\MessageHandler\DeleteRemoteProductHandlerInterface'
izi\prestashop\HotProduct\Message\UpdateHotProductCommand: '@izi\prestashop\HotProduct\MessageHandler\UpdateHotProductHandlerInterface'
izi\prestashop\Analytics\Command\UpdateCartAnalyticsCommand: '@izi\prestashop\Analytics\Handler\UpdateCartAnalyticsHandlerInterface'
inpost.izi.widget_controller_locator:
class: Symfony\Component\DependencyInjection\ServiceLocator
tags: [ container.service_locator ]
arguments:
- Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface: '@inpost.izi.security.authorization_checker'

View File

@@ -0,0 +1,4 @@
inpost_izi_admin:
resource: ../src/Controller/Admin
type: annotation
prefix: /inpost/izi

View File

@@ -0,0 +1,632 @@
# config page configuration
imports:
- { resource: services/common.yml }
- { resource: services/common_admin.yml }
services:
izi\prestashop\CommandBus:
class: izi\prestashop\CommandBus
public: false
autowire: true
tags:
- { name: container.service_subscriber }
izi\prestashop\Controller\Admin\ConfigurationController:
class: izi\prestashop\Controller\Admin\ConfigurationController
public: false
autowire: true
tags:
- { name: controller.service_arguments }
- { name: container.service_subscriber }
arguments:
- '@izi\prestashop\Translation\LegacyTranslator'
- '@inpost.izi.context'
- !tagged inpost.izi.config_initializer
- '@izi\prestashop\Configuration\ApiConfigurationInterface'
- '%kernel.debug%'
calls:
- { method: setLogger, arguments: [ '@inpost.izi.general_logger' ] }
izi\prestashop\Controller\Admin\HotProductController:
class: izi\prestashop\Controller\Admin\HotProductController
public: false
autowire: true
tags:
- { name: controller.service_arguments }
- { name: container.service_subscriber }
arguments:
- '@inpost.izi.shop_context'
- '@izi\prestashop\Translation\LegacyTranslator'
- '@inpost.izi.context'
- '@izi\prestashop\Configuration\ApiConfigurationInterface'
- !tagged inpost.izi.config_initializer
- '%kernel.debug%'
calls:
- { method: setLogger, arguments: [ '@inpost.izi.general_logger' ] }
izi\prestashop\Form\Type\GeneralConfigurationType:
class: izi\prestashop\Form\Type\GeneralConfigurationType
tags:
- { name: form.type }
arguments:
- '@izi\prestashop\Translation\LegacyTranslator'
- '@izi\prestashop\Event\EventDispatcherInterface'
izi\prestashop\Form\Type\ApiConfigurationType:
class: izi\prestashop\Form\Type\ApiConfigurationType
autowire: true
tags:
- { name: form.type }
izi\prestashop\Form\Type\EnvironmentChoiceType:
class: izi\prestashop\Form\Type\EnvironmentChoiceType
autowire: true
tags:
- { name: form.type }
izi\prestashop\Form\Type\ClientCredentialsType:
class: izi\prestashop\Form\Type\ClientCredentialsType
autowire: true
tags:
- { name: form.type }
izi\prestashop\Form\Type\MaskedPasswordType:
class: izi\prestashop\Form\Type\MaskedPasswordType
tags:
- { name: form.type }
izi\prestashop\Form\Type\OrdersConfigurationType:
class: izi\prestashop\Form\Type\OrdersConfigurationType
autowire: true
tags:
- { name: form.type }
izi\prestashop\Form\Type\OrderStateChoiceType:
class: izi\prestashop\Form\Type\OrderStateChoiceType
tags:
- { name: form.type }
arguments:
- '@inpost.izi.context'
- '@izi\prestashop\Form\ChoiceList\OrderStateChoiceLoader'
izi\prestashop\Form\Type\Order\AvailablePaymentOptionsChoiceType:
class: izi\prestashop\Form\Type\Order\AvailablePaymentOptionsChoiceType
tags:
- { name: form.type }
arguments:
- '@izi\prestashop\Form\ChoiceList\AvailablePaymentOptionChoiceLoader'
- '@izi\prestashop\Translation\PaymentTypeTranslator'
izi\prestashop\Form\Type\Order\MessageOptionsType:
class: izi\prestashop\Form\Type\Order\MessageOptionsType
tags:
- { name: form.type }
arguments:
- '@izi\prestashop\Translation\LegacyTranslator'
- '@izi\prestashop\Order\Message\ParameterDescriptorInterface'
izi\prestashop\Form\Type\ShippingConfigurationType:
class: izi\prestashop\Form\Type\ShippingConfigurationType
autowire: true
tags:
- { name: form.type }
izi\prestashop\Form\Type\AdvancedConfigurationType:
class: izi\prestashop\Form\Type\AdvancedConfigurationType
autowire: true
tags:
- { name: form.type }
izi\prestashop\Form\Type\Shipping\CarrierChoiceType:
class: izi\prestashop\Form\Type\Shipping\CarrierChoiceType
tags:
- { name: form.type }
arguments:
- '@izi\prestashop\Form\ChoiceList\CarrierChoiceLoader'
izi\prestashop\Form\Type\Shipping\CarrierMappingsType:
class: izi\prestashop\Form\Type\Shipping\CarrierMappingsType
autowire: true
tags:
- { name: form.type }
izi\prestashop\Form\Type\Shipping\CarrierMappingType:
class: izi\prestashop\Form\Type\Shipping\CarrierMappingType
tags:
- { name: form.type }
izi\prestashop\Form\Type\Shipping\OptionalServicesType:
class: izi\prestashop\Form\Type\Shipping\OptionalServicesType
autowire: true
tags:
- { name: form.type }
izi\prestashop\Form\Type\Shipping\ServiceOptionsType:
class: izi\prestashop\Form\Type\Shipping\ServiceOptionsType
tags:
- { name: form.type }
arguments:
- '@izi\prestashop\Translation\LegacyTranslator'
- '@inpost.izi.context'
izi\prestashop\Form\Type\Shipping\ShippingOptionsType:
class: izi\prestashop\Form\Type\Shipping\ShippingOptionsType
tags:
- { name: form.type }
izi\prestashop\Form\Type\Shipping\TimeOfWeekType:
class: izi\prestashop\Form\Type\Shipping\TimeOfWeekType
tags:
- { name: form.type }
izi\prestashop\Form\Type\Shipping\TimeOfWeekRangeType:
class: izi\prestashop\Form\Type\Shipping\TimeOfWeekRangeType
autowire: true
tags:
- { name: form.type }
izi\prestashop\Form\Type\Shipping\WeekDayChoiceType:
class: izi\prestashop\Form\Type\Shipping\WeekDayChoiceType
autowire: true
tags:
- { name: form.type }
izi\prestashop\Form\Type\OrderStatusDescriptionMapType:
class: izi\prestashop\Form\Type\OrderStatusDescriptionMapType
tags:
- { name: form.type }
arguments:
- '@inpost.izi.context'
- '@izi\prestashop\Form\ChoiceList\OrderStateChoiceLoader'
izi\prestashop\Form\Type\Image\ImageTypeChoiceType:
class: izi\prestashop\Form\Type\Image\ImageTypeChoiceType
tags:
- { name: form.type }
arguments:
- '@izi\prestashop\Form\ChoiceList\ProductImageTypeChoiceLoader'
izi\prestashop\Form\Type\ProductConfigurationType:
class: izi\prestashop\Form\Type\ProductConfigurationType
autowire: true
tags:
- { name: form.type }
izi\prestashop\Form\Type\ObjectModelAutocompleteType:
class: izi\prestashop\Form\Type\ObjectModelAutocompleteType
autowire: true
tags:
- { name: form.type }
izi\prestashop\Form\Type\Product\ProductRestrictionsType:
class: izi\prestashop\Form\Type\Product\ProductRestrictionsType
tags:
- { name: form.type }
arguments:
- '@izi\prestashop\Translation\LegacyTranslator'
- '@inpost.izi.context'
izi\prestashop\Form\Type\Widget\ProductPageDisplayConfigurationType:
class: izi\prestashop\Form\Type\Widget\ProductPageDisplayConfigurationType
tags:
- { name: form.type }
arguments:
- '@izi\prestashop\Translation\LegacyTranslator'
izi\prestashop\Form\ChoiceList\OrderStateChoiceLoader:
class: izi\prestashop\Form\ChoiceList\OrderStateChoiceLoader
public: false
arguments:
- '@inpost.izi.object_model.order_state_repository'
izi\prestashop\Form\ChoiceList\AvailablePaymentOptionChoiceLoader:
class: izi\prestashop\Form\ChoiceList\AvailablePaymentOptionChoiceLoader
public: false
autowire: true
izi\prestashop\Form\ChoiceList\CarrierChoiceLoader:
class: izi\prestashop\Form\ChoiceList\CarrierChoiceLoader
public: false
arguments:
- '@izi\prestashop\ObjectModel\Repository\CarrierRepository'
izi\prestashop\Form\ChoiceList\ProductImageTypeChoiceLoader:
class: izi\prestashop\Form\ChoiceList\ProductImageTypeChoiceLoader
public: false
arguments:
- '@izi\prestashop\ObjectModel\Repository\ImageTypeRepository'
izi\prestashop\Handler\Config\UpdateGeneralConfigurationHandlerInterface: '@izi\prestashop\Handler\Config\UpdateGeneralConfigurationHandler'
izi\prestashop\Handler\Config\UpdateGeneralConfigurationHandler:
class: izi\prestashop\Handler\Config\UpdateGeneralConfigurationHandler
public: false
tags:
- { name: inpost.izi.command_handler }
arguments:
- '@izi\prestashop\Configuration\ApiConfigurationInterface'
- '@izi\prestashop\Configuration\OrdersConfigurationInterface'
- '@izi\prestashop\Configuration\GeneralConfigurationInterface'
- '@izi\prestashop\Configuration\ProductConfigurationInterface'
- '@izi\prestashop\CacheClearer\CacheClearerInterface'
- '@inpost.izi.module'
izi\prestashop\BasketApp\BasketAppClientFactory:
class: izi\prestashop\BasketApp\BasketAppClientFactory
public: false
arguments:
- '@inpost.izi.psr17_factory'
- '@inpost.izi.psr17_factory'
- '@inpost.izi.serializer'
- '@izi\prestashop\Http\Client\Factory\GuzzleClientFactory'
- '@izi\prestashop\BasketApp\AuthorizationProviderFactory'
izi\prestashop\Form\BasketAppClientProvider:
class: izi\prestashop\Form\BasketAppClientProvider
tags:
- { name: kernel.event_subscriber }
arguments:
- '@izi\prestashop\Configuration\ApiConfigurationInterface'
- '@izi\prestashop\BasketApp\BasketAppClientFactory'
- '@izi\prestashop\BasketApp\BasketAppClient'
izi\prestashop\Validator\InPostApiCredentialsValidator:
class: izi\prestashop\Validator\InPostApiCredentialsValidator
tags:
- { name: validator.constraint_validator }
arguments:
- '@izi\prestashop\Translation\LegacyTranslator'
- '@izi\prestashop\BasketApp\AuthorizationProviderFactory'
izi\prestashop\Validator\NotBlankInDefaultLanguageValidator:
class: izi\prestashop\Validator\NotBlankInDefaultLanguageValidator
tags:
- { name: validator.constraint_validator }
arguments:
- '@izi\prestashop\Configuration\Adapter\Configuration'
izi\prestashop\Validator\ProcessableMessageFormatValidator:
class: izi\prestashop\Validator\ProcessableMessageFormatValidator
tags:
- { name: validator.constraint_validator }
arguments:
- '@izi\prestashop\Order\Message\MessageFormatterInterface'
- '@izi\prestashop\Translation\LegacyTranslator'
izi\prestashop\Validator\Consent\DescriptionUsesIdPlaceholdersValidator:
class: izi\prestashop\Validator\Consent\DescriptionUsesIdPlaceholdersValidator
tags:
- { name: validator.constraint_validator }
arguments:
- '@izi\prestashop\Translation\LegacyTranslator'
izi\prestashop\Validator\Consent\UniqueIdentifiersValidator:
class: izi\prestashop\Validator\Consent\UniqueIdentifiersValidator
tags:
- { name: validator.constraint_validator }
arguments:
- '@izi\prestashop\Translation\LegacyTranslator'
izi\prestashop\Command\Config\UpdateGeneralConfigurationCommandFactory:
class: izi\prestashop\Command\Config\UpdateGeneralConfigurationCommandFactory
arguments:
- '@izi\prestashop\Configuration\ApiConfigurationInterface'
- '@izi\prestashop\Configuration\OrdersConfigurationInterface'
- '@izi\prestashop\Configuration\GeneralConfigurationInterface'
- '@izi\prestashop\Configuration\ProductConfigurationInterface'
izi\prestashop\Form\Type\ConsentsConfigurationType:
class: izi\prestashop\Form\Type\ConsentsConfigurationType
autowire: true
tags:
- { name: form.type }
izi\prestashop\Form\Type\Consent\ConsentType:
class: izi\prestashop\Form\Type\Consent\ConsentType
tags:
- { name: form.type }
arguments:
- '@izi\prestashop\Translation\LegacyTranslator'
izi\prestashop\Form\Type\Consent\ConsentLinkType:
class: izi\prestashop\Form\Type\Consent\ConsentLinkType
tags:
- { name: form.type }
arguments:
- '@izi\prestashop\Translation\LegacyTranslator'
- '@inpost.izi.context'
- '@izi\prestashop\ObjectModel\Repository\CmsPageRepository'
izi\prestashop\Form\Type\Consent\ConsentRequirementChoiceType:
class: izi\prestashop\Form\Type\Consent\ConsentRequirementChoiceType
autowire: true
tags:
- { name: form.type }
izi\prestashop\Handler\Config\UpdateConsentsConfigurationHandlerInterface: '@izi\prestashop\Handler\Config\UpdateConsentsConfigurationHandler'
izi\prestashop\Handler\Config\UpdateConsentsConfigurationHandler:
class: izi\prestashop\Handler\Config\UpdateConsentsConfigurationHandler
public: false
tags:
- { name: inpost.izi.command_handler }
arguments:
- '@izi\prestashop\Configuration\ConsentsConfigurationInterface'
- '@inpost.izi.clock'
izi\prestashop\Form\Type\GuiConfigurationType:
class: izi\prestashop\Form\Type\GuiConfigurationType
autowire: true
tags:
- { name: form.type }
izi\prestashop\Form\Type\Widget\WidgetDisplayConfigurationType:
class: izi\prestashop\Form\Type\Widget\WidgetDisplayConfigurationType
autowire: true
tags:
- { name: form.type }
izi\prestashop\Form\Type\Widget\HtmlStylesType:
class: izi\prestashop\Form\Type\Widget\HtmlStylesType
autowire: true
tags:
- { name: form.type }
izi\prestashop\Form\Type\Widget\WidgetConfigurationType:
class: izi\prestashop\Form\Type\Widget\WidgetConfigurationType
autowire: true
tags:
- { name: form.type }
izi\prestashop\Form\Type\Widget\WidgetVariantChoiceType:
class: izi\prestashop\Form\Type\Widget\WidgetVariantChoiceType
autowire: true
tags:
- { name: form.type }
izi\prestashop\Form\Type\Widget\WidgetFrameStyleChoiceType:
class: izi\prestashop\Form\Type\Widget\WidgetFrameStyleChoiceType
autowire: true
tags:
- { name: form.type }
izi\prestashop\Form\Type\Widget\WidgetSizeChoiceType:
class: izi\prestashop\Form\Type\Widget\WidgetSizeChoiceType
autowire: true
tags:
- { name: form.type }
izi\prestashop\HotProduct\Form\UpdateHotProductType:
class: izi\prestashop\HotProduct\Form\UpdateHotProductType
autowire: true
tags:
- { name: form.type }
izi\prestashop\HotProduct\Form\CreateHotProductType:
class: izi\prestashop\HotProduct\Form\CreateHotProductType
tags:
- { name: form.type }
arguments:
- '@inpost.izi.context'
- '@izi\prestashop\Translation\LegacyTranslator'
- '@router'
izi\prestashop\Form\Type\Product\CombinationByAttributesChoiceType:
class: izi\prestashop\Form\Type\Product\CombinationByAttributesChoiceType
tags:
- { name: form.type }
arguments:
- '@izi\prestashop\ObjectModel\ObjectManagerInterface'
- '@inpost.izi.context'
- '@izi\prestashop\Translation\LegacyTranslator'
izi\prestashop\Handler\Config\UpdateGuiConfigurationHandlerInterface: '@izi\prestashop\Handler\Config\UpdateGuiConfigurationHandler'
izi\prestashop\Handler\Config\UpdateGuiConfigurationHandler:
class: izi\prestashop\Handler\Config\UpdateGuiConfigurationHandler
public: false
tags:
- { name: inpost.izi.command_handler }
arguments:
- '@izi\prestashop\Configuration\GuiConfigurationInterface'
izi\prestashop\Handler\Config\UpdateShippingConfigurationHandlerInterface: '@izi\prestashop\Handler\Config\UpdateShippingConfigurationHandler'
izi\prestashop\Handler\Config\UpdateShippingConfigurationHandler:
class: izi\prestashop\Handler\Config\UpdateShippingConfigurationHandler
public: false
autowire: true
tags:
- { name: inpost.izi.command_handler }
izi\prestashop\Handler\Config\UpdateAdvancedConfigurationHandlerInterface: '@izi\prestashop\Handler\Config\UpdateAdvancedConfigurationHandler'
izi\prestashop\Handler\Config\UpdateAdvancedConfigurationHandler:
class: izi\prestashop\Handler\Config\UpdateAdvancedConfigurationHandler
public: false
autowire: true
tags:
- { name: inpost.izi.command_handler }
izi\prestashop\Handler\Config\CheckStatusHandlerInterface: '@izi\prestashop\Handler\Config\CheckStatusHandler'
izi\prestashop\Handler\Config\CheckStatusHandler:
class: izi\prestashop\Handler\Config\CheckStatusHandler
public: false
tags:
- { name: inpost.izi.command_handler }
arguments:
- !tagged inpost.izi.status_checker
izi\prestashop\Handler\Config\DownloadModuleDataHandlerInterface: '@izi\prestashop\Handler\Config\DownloadModuleDataHandler'
izi\prestashop\Handler\Config\DownloadModuleDataHandler:
class: izi\prestashop\Handler\Config\DownloadModuleDataHandler
public: false
tags:
- { name: inpost.izi.command_handler }
arguments:
- '@inpost.izi.module'
- '@inpost.izi.context'
- '@izi\prestashop\ObjectModel\ObjectManagerInterface'
- '%inpost.izi.logs_dir%'
izi\prestashop\Twig\Extension\LegacyTranslationExtension:
class: izi\prestashop\Twig\Extension\LegacyTranslationExtension
public: false
tags:
- { name: inpost.izi.twig_extension }
arguments:
- '@izi\prestashop\Translation\LegacyTranslator'
izi\prestashop\Handler\Config\Status\ConfigurationStatusChecker:
class: izi\prestashop\Handler\Config\Status\ConfigurationStatusChecker
public: false
tags:
- { name: inpost.izi.status_checker }
arguments:
- '@izi\prestashop\Translation\LegacyTranslator'
- '@izi\prestashop\Configuration\OrdersConfigurationInterface'
- '@izi\prestashop\Configuration\ApiConfigurationInterface'
- '@validator'
izi\prestashop\Handler\Config\Status\DeliveryOptionsStatusChecker:
class: izi\prestashop\Handler\Config\Status\DeliveryOptionsStatusChecker
public: false
autowire: true
tags:
- { name: inpost.izi.status_checker }
arguments:
- '@izi\prestashop\Translation\LegacyTranslator'
- '@izi\prestashop\ObjectModel\Repository\CarrierRepository'
izi\prestashop\Handler\Config\Status\CacheStatusChecker:
class: izi\prestashop\Handler\Config\Status\CacheStatusChecker
public: false
tags:
- { name: inpost.izi.status_checker }
arguments:
- '@inpost.izi.module'
- '@service_container'
izi\prestashop\Translation\LegacyTranslator:
class: izi\prestashop\Translation\LegacyTranslator
public: false
arguments:
- inpostizi
izi\prestashop\Translation\ServiceNameTranslator:
class: izi\prestashop\Translation\ServiceNameTranslator
public: false
autowire: true
izi\prestashop\Translation\PaymentTypeTranslator:
class: izi\prestashop\Translation\PaymentTypeTranslator
public: false
autowire: true
izi\prestashop\Configuration\Initializer\AssetPackageInitializer:
class: izi\prestashop\Configuration\Initializer\AssetPackageInitializer
public: false
tags:
- { name: inpost.izi.config_initializer }
arguments:
- '@assets.packages'
- '@izi\prestashop\View\Asset\AssetManagerInterface'
- InPostIzi
izi\prestashop\Configuration\Initializer\AnnotationsConfigInitializer:
class: izi\prestashop\Configuration\Initializer\AnnotationsConfigInitializer
public: false
tags:
- { name: inpost.izi.config_initializer }
izi\prestashop\Configuration\Initializer\TwigConfigInitializer:
class: izi\prestashop\Configuration\Initializer\TwigConfigInitializer
public: false
tags:
- { name: inpost.izi.config_initializer }
arguments:
- '@twig'
- !tagged inpost.izi.twig_extension
izi\prestashop\Order\Message\ParameterDescriptorInterface: '@izi\prestashop\Order\Message\ParametersExtractor'
izi\prestashop\Configuration\GuiConfiguration:
class: izi\prestashop\Configuration\GuiConfiguration
autowire: true
public: false
tags:
- { name: container.service_subscriber, key: context, id: inpost.izi.shop_context }
arguments:
- '@izi\prestashop\Configuration\Adapter\Configuration'
- '@inpost.izi.serializer'
inpost.izi.security.authorization_checker: '@security.authorization_checker'
inpost.izi.validator: '@validator'
izi\prestashop\CacheClearer\CacheClearerInterface: '@izi\prestashop\CacheClearer\ChainCacheClearer'
izi\prestashop\CacheClearer\ChainCacheClearer:
class: izi\prestashop\CacheClearer\ChainCacheClearer
public: false
arguments:
- !tagged inpost.izi.cache_clearer
inpost.izi.config_cache_clearer:
class: izi\prestashop\CacheClearer\Psr16CacheClearer
public: false
tags:
- { name: inpost.izi.cache_clearer }
arguments:
- '@izi\prestashop\Cache\ConfigurationCache'
izi\prestashop\CacheClearer\BindingKeysCacheClearer:
class: izi\prestashop\CacheClearer\BindingKeysCacheClearer
public: false
tags:
- { name: inpost.izi.cache_clearer }
arguments:
- '@izi\prestashop\Repository\BasketSessionRepository'
izi\prestashop\HotProduct\MessageHandler\CreateHotProductHandlerInterface: '@izi\prestashop\HotProduct\MessageHandler\CreateHotProductHandler'
izi\prestashop\HotProduct\MessageHandler\CreateHotProductHandler:
class: izi\prestashop\HotProduct\MessageHandler\CreateHotProductHandler
public: false
tags:
- { name: inpost.izi.command_handler }
arguments:
- '@izi\prestashop\HotProduct\HotProductRepositoryInterface'
- '@izi\prestashop\HotProduct\HotProductValidator'
- '@izi\prestashop\HotProduct\HotProductDataMapperInterface'
- '@izi\prestashop\BasketApp\Product\ProductsApiClientInterface'
izi\prestashop\HotProduct\MessageHandler\ImportHotProductHandlerInterface: '@izi\prestashop\HotProduct\MessageHandler\ImportHotProductHandler'
izi\prestashop\HotProduct\MessageHandler\ImportHotProductHandler:
class: izi\prestashop\HotProduct\MessageHandler\ImportHotProductHandler
public: false
tags:
- { name: inpost.izi.command_handler }
arguments:
- '@izi\prestashop\HotProduct\HotProductRepositoryInterface'
- '@izi\prestashop\ObjectModel\Repository\ProductRepository'
- '@izi\prestashop\BasketApp\Product\ProductsApiClientInterface'
- '@izi\prestashop\HotProduct\HotProductDataMapperInterface'
izi\prestashop\HotProduct\MessageHandler\DeleteHotProductHandlerInterface: '@izi\prestashop\HotProduct\MessageHandler\DeleteHotProductHandler'
izi\prestashop\HotProduct\MessageHandler\DeleteHotProductHandler:
class: izi\prestashop\HotProduct\MessageHandler\DeleteHotProductHandler
public: false
tags:
- { name: inpost.izi.command_handler }
arguments:
- '@izi\prestashop\HotProduct\HotProductRepositoryInterface'
- '@izi\prestashop\BasketApp\Product\ProductsApiClientInterface'
izi\prestashop\HotProduct\View\HotProductViewDataFactory:
class: izi\prestashop\HotProduct\View\HotProductViewDataFactory
arguments:
- '@inpost.izi.context'
- '@izi\prestashop\ObjectModel\Repository\ProductRepository'
- '@inpost.izi.object_model.shop_repository'
- '@izi\prestashop\BasketApp\Product\ProductsApiClientInterface'
izi\prestashop\EventListener\CreateShipmentListener:
class: izi\prestashop\EventListener\CreateShipmentListener
tags:
- { name: kernel.event_subscriber }
arguments:
- '@izi\prestashop\Repository\OrderDataRepositoryInterface'
- '@izi\prestashop\Translation\LegacyTranslator'

View File

@@ -0,0 +1,30 @@
<?php
declare(strict_types=1);
use izi\prestashop\Form\TypeExtension\DatePickerCompatibilityTypeExtension;
use izi\prestashop\Form\TypeExtension\DateTimeImmutableTimeTypeExtension;
use izi\prestashop\Form\TypeExtension\HelpTextExtension;
use izi\prestashop\Form\TypeExtension\UnitTypeExtension;
use Symfony\Component\DependencyInjection\ContainerBuilder;
if (!defined('_PS_VERSION_') || Tools::version_compare(_PS_VERSION_, '8.0.0')) {
return;
}
assert(isset($container) && $container instanceof ContainerBuilder);
$classes = [
DateTimeImmutableTimeTypeExtension::class,
HelpTextExtension::class,
UnitTypeExtension::class,
];
$container->removeDefinition(DatePickerCompatibilityTypeExtension::class);
foreach ($classes as $class) {
$container
->getDefinition($class)
->setTags([])
->setDeprecated();
}

View File

@@ -0,0 +1,20 @@
services:
izi\prestashop\Form\TypeExtension\DatePickerCompatibilityTypeExtension:
class: izi\prestashop\Form\TypeExtension\DatePickerCompatibilityTypeExtension
tags:
- { name: form.type_extension, extended_type: PrestaShopBundle\Form\Admin\Type\DatePickerType }
izi\prestashop\Form\TypeExtension\DateTimeImmutableTimeTypeExtension:
class: izi\prestashop\Form\TypeExtension\DateTimeImmutableTimeTypeExtension
tags:
- { name: form.type_extension, extended_type: Symfony\Component\Form\Extension\Core\Type\TimeType }
izi\prestashop\Form\TypeExtension\HelpTextExtension:
class: izi\prestashop\Form\TypeExtension\HelpTextExtension
tags:
- { name: form.type_extension, extended_type: Symfony\Component\Form\Extension\Core\Type\FormType }
izi\prestashop\Form\TypeExtension\UnitTypeExtension:
class: izi\prestashop\Form\TypeExtension\UnitTypeExtension
tags:
- { name: form.type_extension, extended_type: Symfony\Component\Form\Extension\Core\Type\IntegerType }

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,47 @@
# common BO configuration
imports:
- { resource: admin/form.yml }
- { resource: admin/form.php, ignore_errors: true }
services:
izi\prestashop\View\Asset\AssetManagerInterface: '@izi\prestashop\View\Asset\AdminAssetManager'
izi\prestashop\View\Asset\AdminAssetManager:
class: izi\prestashop\View\Asset\AdminAssetManager
public: false
arguments:
- '@inpost.izi.module'
- '@inpost.izi.context'
izi\prestashop\View\Asset\Provider\Admin\CartRulesAssetsProvider:
class: izi\prestashop\View\Asset\Provider\Admin\CartRulesAssetsProvider
public: false
tags:
- { name: inpost.izi.admin_assets_provider }
arguments:
- '@inpost.izi.context'
- '@inpost.izi.request_stack'
izi\prestashop\Handler\Config\UpdateCartRuleOptionsHandlerInterface: '@izi\prestashop\Handler\Config\UpdateCartRuleOptionsHandler'
izi\prestashop\Handler\Config\UpdateCartRuleOptionsHandler:
class: izi\prestashop\Handler\Config\UpdateCartRuleOptionsHandler
public: false
tags:
- { name: inpost.izi.command_handler }
arguments:
- '@izi\prestashop\PromoCode\CartRuleOptionsRepositoryInterface'
izi\prestashop\Form\Type\CartRuleOptionsType:
class: izi\prestashop\Form\Type\CartRuleOptionsType
tags:
- { name: form.type }
arguments:
- '@izi\prestashop\Translation\LegacyTranslator'
- '@inpost.izi.context'
izi\prestashop\Form\Type\ObjectModelType:
class: izi\prestashop\Form\Type\ObjectModelType
tags:
- { name: form.type }
arguments:
- '@izi\prestashop\ObjectModel\ObjectManagerInterface'
- '@inpost.izi.context'

View File

@@ -0,0 +1,490 @@
# common FO configuration
services:
izi\prestashop\View\Asset\FrontAssetManager:
class: izi\prestashop\View\Asset\FrontAssetManager
public: false
arguments:
- '@inpost.izi.module'
- '@inpost.izi.context'
izi\prestashop\Hook\Front\ActionFrontControllerSetMedia:
class: izi\prestashop\Hook\Front\ActionFrontControllerSetMedia
public: false
tags:
- { name: inpost.izi.hook }
arguments:
- '@izi\prestashop\View\Asset\FrontAssetManager'
- '@inpost.izi.security.authorization_checker'
- !tagged inpost.izi.front_assets_provider
- '@izi\prestashop\Configuration\ApiConfigurationInterface'
izi\prestashop\Hook\Front\DisplayHeader:
class: izi\prestashop\Hook\Front\DisplayHeader
public: false
tags:
- { name: inpost.izi.hook }
arguments:
- '@inpost.izi.context'
- '@izi\prestashop\Configuration\GeneralConfigurationInterface'
- '@izi\prestashop\Configuration\ApiConfigurationInterface'
- '@inpost.izi.security.authorization_checker'
- '@izi\prestashop\Analytics\Cookie\Executor\CookiePersisterExecutor'
- '@izi\prestashop\Repository\BasketSessionRepository'
- '@izi\prestashop\Event\EventDispatcherInterface'
izi\prestashop\Hook\Front\ActionGetPaymentOptions:
class: izi\prestashop\Hook\Front\ActionGetPaymentOptions
public: false
tags:
- { name: inpost.izi.hook }
arguments:
- '@inpost.izi.module'
- '@izi\prestashop\Payment\PaymentCurrencyChecker'
- '@izi\prestashop\Configuration\GuiConfiguration'
- '@izi\prestashop\View\Templating\RendererInterface'
izi\prestashop\Hook\Front\DisplayIziThankYou:
class: izi\prestashop\Hook\Front\DisplayIziThankYou
public: false
tags:
- { name: inpost.izi.hook }
arguments:
- '@inpost.izi.module'
- '@izi\prestashop\Configuration\GeneralConfiguration'
izi\prestashop\Hook\Front\DisplayOrderConfirmation:
class: izi\prestashop\Hook\Front\DisplayOrderConfirmation
public: false
tags:
- { name: inpost.izi.hook }
arguments:
- '@izi\prestashop\Repository\BasketSessionRepository'
- '@inpost.izi.context'
- '@inpost.izi.module'
- '@izi\prestashop\Configuration\GeneralConfiguration'
izi\prestashop\Hook\Front\DisplayPaymentReturn:
class: izi\prestashop\Hook\Front\DisplayPaymentReturn
public: false
tags:
- { name: inpost.izi.hook }
arguments:
- '@inpost.izi.module'
- '@izi\prestashop\Configuration\GeneralConfiguration'
izi\prestashop\Hook\Front\DisplayProductActions:
class: izi\prestashop\Hook\Front\DisplayProductActions
public: false
tags:
- { name: inpost.izi.hook }
arguments:
- '@izi\prestashop\Configuration\GuiConfiguration'
- '@izi\prestashop\Configuration\GeneralConfiguration'
- '@inpost.izi.module'
- '@izi\prestashop\View\Templating\RendererInterface'
- '@inpost.izi.context'
- '@izi\prestashop\Repository\BasketSessionRepository'
izi\prestashop\Hook\Front\DisplayProductAdditionalInfo:
class: izi\prestashop\Hook\Front\DisplayProductAdditionalInfo
public: false
tags:
- { name: inpost.izi.hook }
arguments:
- '@izi\prestashop\Configuration\GuiConfiguration'
- '@izi\prestashop\Configuration\GeneralConfiguration'
- '@inpost.izi.module'
- '@izi\prestashop\View\Templating\RendererInterface'
- '@inpost.izi.context'
- '@izi\prestashop\Repository\BasketSessionRepository'
izi\prestashop\Hook\Front\DisplayShoppingCart:
class: izi\prestashop\Hook\Front\DisplayShoppingCart
public: false
tags:
- { name: inpost.izi.hook }
arguments:
- '@izi\prestashop\Configuration\GuiConfiguration'
- '@inpost.izi.module'
- '@izi\prestashop\View\Templating\RendererInterface'
izi\prestashop\Hook\Front\DisplayShoppingCartFooter:
class: izi\prestashop\Hook\Front\DisplayShoppingCartFooter
public: false
tags:
- { name: inpost.izi.hook }
arguments:
- '@izi\prestashop\Configuration\GuiConfiguration'
- '@inpost.izi.module'
- '@izi\prestashop\View\Templating\RendererInterface'
izi\prestashop\Hook\Front\DisplayExpressCheckout:
class: izi\prestashop\Hook\Front\DisplayExpressCheckout
public: false
tags:
- { name: inpost.izi.hook }
arguments:
- '@izi\prestashop\Configuration\GuiConfiguration'
- '@inpost.izi.module'
- '@izi\prestashop\View\Templating\RendererInterface'
izi\prestashop\Hook\Front\DisplayCheckoutSummaryTop:
class: izi\prestashop\Hook\Front\DisplayCheckoutSummaryTop
public: false
tags:
- { name: inpost.izi.hook }
arguments:
- '@izi\prestashop\Configuration\GuiConfiguration'
- '@izi\prestashop\Configuration\GeneralConfiguration'
- '@inpost.izi.module'
- '@izi\prestashop\View\Templating\RendererInterface'
izi\prestashop\Hook\Front\DisplayCustomerAccountFormTop:
class: izi\prestashop\Hook\Front\DisplayCustomerAccountFormTop
public: false
tags:
- { name: inpost.izi.hook }
arguments:
- '@izi\prestashop\Configuration\GuiConfiguration'
- '@inpost.izi.module'
- '@izi\prestashop\View\Templating\RendererInterface'
izi\prestashop\Hook\Front\DisplayCustomerLoginFormAfter:
class: izi\prestashop\Hook\Front\DisplayCustomerLoginFormAfter
public: false
tags:
- { name: inpost.izi.hook }
arguments:
- '@izi\prestashop\Configuration\GuiConfiguration'
- '@inpost.izi.module'
- '@izi\prestashop\View\Templating\RendererInterface'
izi\prestashop\Hook\Front\DisplayIziCartPreviewButton:
class: izi\prestashop\Hook\Front\DisplayIziCartPreviewButton
public: false
tags:
- { name: inpost.izi.hook }
arguments:
- '@izi\prestashop\Configuration\GuiConfiguration'
- '@inpost.izi.module'
- '@izi\prestashop\View\Templating\RendererInterface'
izi\prestashop\Hook\Front\DisplayIziCheckoutButton:
class: izi\prestashop\Hook\Front\DisplayIziCheckoutButton
public: false
tags:
- { name: inpost.izi.hook }
arguments:
- '@izi\prestashop\Configuration\GuiConfiguration'
- '@izi\prestashop\Configuration\GeneralConfiguration'
- '@inpost.izi.module'
- '@izi\prestashop\View\Templating\RendererInterface'
izi\prestashop\Controller\WidgetController:
class: izi\prestashop\Controller\WidgetController
public: true
arguments:
- '@inpost.izi.module'
- '@inpost.izi.context'
- '@izi\prestashop\CommandBus'
- '@inpost.izi.widget_controller_locator'
izi\prestashop\Controller\Api\BasketController:
class: izi\prestashop\Controller\Api\BasketController
public: true
arguments:
- '@inpost.izi.serializer'
- '@izi\prestashop\CommandBus'
izi\prestashop\Controller\Api\OrderController:
class: izi\prestashop\Controller\Api\OrderController
public: true
arguments:
- '@inpost.izi.serializer'
- '@izi\prestashop\CommandBus'
izi\prestashop\Controller\Api\ProductController:
class: izi\prestashop\Controller\Api\ProductController
public: true
arguments:
- '@inpost.izi.serializer'
- '@izi\prestashop\CommandBus'
izi\prestashop\Handler\GetBasketBindingKeyHandlerInterface: '@izi\prestashop\Handler\GetBasketBindingKeyHandler'
izi\prestashop\Handler\GetBasketBindingKeyHandler:
class: izi\prestashop\Handler\GetBasketBindingKeyHandler
public: false
tags:
- { name: inpost.izi.command_handler }
arguments:
- '@izi\prestashop\Repository\BasketSessionRepository'
- '@izi\prestashop\BasketApp\Basket\BasketsApiClientInterface'
- '@inpost.izi.context'
izi\prestashop\Handler\GetOrderConfirmationUrlHandlerInterface: '@izi\prestashop\Handler\GetOrderConfirmationUrlHandler'
izi\prestashop\Handler\GetOrderConfirmationUrlHandler:
class: izi\prestashop\Handler\GetOrderConfirmationUrlHandler
public: false
tags:
- { name: inpost.izi.command_handler }
arguments:
- '@izi\prestashop\Repository\BasketSessionRepository'
- '@izi\prestashop\Order\ContextCustomerUpdater'
izi\prestashop\MerchantApi\Handler\ConfirmBasketBindingHandlerInterface: '@izi\prestashop\MerchantApi\Handler\ConfirmBasketBindingHandler'
izi\prestashop\MerchantApi\Handler\ConfirmBasketBindingHandler:
class: izi\prestashop\MerchantApi\Handler\ConfirmBasketBindingHandler
public: false
tags:
- { name: inpost.izi.command_handler }
arguments:
- '@izi\prestashop\Repository\BasketSessionRepository'
- '@izi\prestashop\Builder\Basket\BasketBuilderFactory'
izi\prestashop\MerchantApi\Handler\DeleteBasketBindingHandlerInterface: '@izi\prestashop\MerchantApi\Handler\DeleteBasketBindingHandler'
izi\prestashop\MerchantApi\Handler\DeleteBasketBindingHandler:
class: izi\prestashop\MerchantApi\Handler\DeleteBasketBindingHandler
public: false
tags:
- { name: inpost.izi.command_handler }
arguments:
- '@izi\prestashop\Repository\BasketSessionRepository'
izi\prestashop\MerchantApi\Handler\GetBasketHandlerInterface: '@izi\prestashop\MerchantApi\Handler\GetBasketHandler'
izi\prestashop\MerchantApi\Handler\GetBasketHandler:
class: izi\prestashop\MerchantApi\Handler\GetBasketHandler
public: false
tags:
- { name: inpost.izi.command_handler }
arguments:
- '@izi\prestashop\Repository\BasketSessionRepository'
- '@izi\prestashop\Builder\Basket\BasketBuilderFactory'
izi\prestashop\MerchantApi\Handler\UpdateBasketHandlerInterface: '@izi\prestashop\MerchantApi\Handler\UpdateBasketHandler'
izi\prestashop\MerchantApi\Handler\UpdateBasketHandler:
class: izi\prestashop\MerchantApi\Handler\UpdateBasketHandler
public: false
tags:
- { name: inpost.izi.command_handler }
arguments:
- '@izi\prestashop\Repository\BasketSessionRepository'
- '@izi\prestashop\MerchantApi\Handler\Basket\BasketEventHandler'
- '@izi\prestashop\Builder\Basket\BasketBuilderFactory'
izi\prestashop\MerchantApi\Handler\GetProductsHandlerInterface: '@izi\prestashop\MerchantApi\Handler\GetProductsHandler'
izi\prestashop\MerchantApi\Handler\GetProductsHandler:
class: izi\prestashop\MerchantApi\Handler\GetProductsHandler
public: false
tags:
- { name: inpost.izi.command_handler }
arguments:
- '@izi\prestashop\HotProduct\HotProductRepositoryInterface'
- '@izi\prestashop\HotProduct\HotProductDataMapperInterface'
- '@izi\prestashop\BasketApp\Product\ProductsApiClientInterface'
- '@izi\prestashop\Cache\ConfigurationCache'
- '@izi\prestashop\ObjectModel\Repository\ProductRepository'
izi\prestashop\MerchantApi\Handler\AddProductToBasketHandlerInterface: '@izi\prestashop\MerchantApi\Handler\AddProductToBasketHandler'
izi\prestashop\MerchantApi\Handler\AddProductToBasketHandler:
class: izi\prestashop\MerchantApi\Handler\AddProductToBasketHandler
public: false
tags:
- { name: inpost.izi.command_handler }
arguments:
- '@izi\prestashop\Repository\BasketSessionRepository'
- '@izi\prestashop\ContextManager'
- '@izi\prestashop\CommandBusInterface'
- '@izi\prestashop\Event\EventDispatcherInterface'
- '@izi\prestashop\Builder\Basket\BasketBuilderFactory'
izi\prestashop\MerchantApi\Handler\CreateOrderHandlerInterface: '@izi\prestashop\MerchantApi\Handler\CreateOrderHandler'
izi\prestashop\MerchantApi\Handler\CreateOrderHandler:
class: izi\prestashop\MerchantApi\Handler\CreateOrderHandler
public: false
tags:
- { name: inpost.izi.command_handler }
arguments:
- '@izi\prestashop\Repository\BasketSessionRepository'
- '@izi\prestashop\CommandBusInterface'
izi\prestashop\MerchantApi\Handler\GetOrderHandlerInterface: '@izi\prestashop\MerchantApi\Handler\GetOrderHandler'
izi\prestashop\MerchantApi\Handler\GetOrderHandler:
class: izi\prestashop\MerchantApi\Handler\GetOrderHandler
public: false
tags:
- { name: inpost.izi.command_handler }
arguments:
- '@inpost.izi.object_model.order_repository'
- '@izi\prestashop\Repository\BasketSessionRepository'
- '@izi\prestashop\Analytics\BasketAnalyticsRepositoryInterface'
izi\prestashop\MerchantApi\Handler\UpdateOrderHandlerInterface: '@izi\prestashop\MerchantApi\Handler\UpdateOrderHandler'
izi\prestashop\MerchantApi\Handler\UpdateOrderHandler:
class: izi\prestashop\MerchantApi\Handler\UpdateOrderHandler
public: false
tags:
- { name: inpost.izi.command_handler }
arguments:
- '@inpost.izi.object_model.order_repository'
- '@izi\prestashop\Configuration\OrdersConfiguration'
- '@izi\prestashop\Builder\Order\OrderStatusDescriptionProvider'
- '@inpost.izi.general_logger'
izi\prestashop\MerchantApi\Handler\Order\UpdateCartMessageHandlerInterface: '@izi\prestashop\MerchantApi\Handler\Order\UpdateCartMessageHandler'
izi\prestashop\MerchantApi\Handler\Order\UpdateCartMessageHandler:
class: izi\prestashop\MerchantApi\Handler\Order\UpdateCartMessageHandler
public: false
tags:
- { name: inpost.izi.command_handler }
arguments:
- '@izi\prestashop\ObjectModel\ObjectManagerInterface'
- '@izi\prestashop\Configuration\OrdersConfiguration'
- '@izi\prestashop\Order\Message\MessageFormatterInterface'
izi\prestashop\MerchantApi\Handler\Basket\CreateCartHandlerInterface: '@izi\prestashop\MerchantApi\Handler\Basket\CreateCartHandler'
izi\prestashop\MerchantApi\Handler\Basket\CreateCartHandler:
class: izi\prestashop\MerchantApi\Handler\Basket\CreateCartHandler
public: false
tags:
- { name: inpost.izi.command_handler }
arguments:
- '@inpost.izi.context'
- '@izi\prestashop\Configuration\PrestaShopConfiguration'
- '@izi\prestashop\ObjectModel\ObjectManagerInterface'
izi\prestashop\MerchantApi\Handler\Basket\AddProductToCartHandlerInterface: '@izi\prestashop\MerchantApi\Handler\Basket\AddProductToCartHandler'
izi\prestashop\MerchantApi\Handler\Basket\AddProductToCartHandler:
class: izi\prestashop\MerchantApi\Handler\Basket\AddProductToCartHandler
public: false
tags:
- { name: inpost.izi.command_handler }
arguments:
- '@inpost.izi.context'
- '@izi\prestashop\ObjectModel\Repository\ProductRepository'
- '@izi\prestashop\Translation\LegacyTranslator'
- '@inpost.izi.general_logger'
izi\prestashop\MerchantApi\Handler\Basket\IncrementCartQuantityHandlerInterface: '@izi\prestashop\MerchantApi\Handler\Basket\IncrementCartQuantityHandler'
izi\prestashop\MerchantApi\Handler\Basket\IncrementCartQuantityHandler:
class: izi\prestashop\MerchantApi\Handler\Basket\IncrementCartQuantityHandler
public: false
tags:
- { name: inpost.izi.command_handler }
arguments:
- '@izi\prestashop\ObjectModel\Repository\ProductRepository'
- '@izi\prestashop\Translation\LegacyTranslator'
- '@inpost.izi.general_logger'
izi\prestashop\MerchantApi\Handler\Basket\BasketEventHandlerInterface: '@izi\prestashop\MerchantApi\Handler\Basket\BasketEventHandler'
izi\prestashop\MerchantApi\Handler\Basket\BasketEventHandler:
class: izi\prestashop\MerchantApi\Handler\Basket\BasketEventHandler
public: false
arguments:
- '@inpost.izi.basket_event_handler_locator'
- '@izi\prestashop\ContextManager'
- '@izi\prestashop\Event\EventDispatcherInterface'
izi\prestashop\MerchantApi\Handler\Basket\ProductsQuantityEventHandler:
class: izi\prestashop\MerchantApi\Handler\Basket\ProductsQuantityEventHandler
public: false
tags:
- { name: inpost.izi.basket_event_handler }
arguments:
- '@inpost.izi.module'
- '@inpost.izi.context'
- '@izi\prestashop\ObjectModel\ObjectManager'
- '@inpost.izi.general_logger'
izi\prestashop\MerchantApi\Handler\Basket\PromoCodesEventHandler:
class: izi\prestashop\MerchantApi\Handler\Basket\PromoCodesEventHandler
public: false
tags:
- { name: inpost.izi.basket_event_handler }
arguments:
- '@inpost.izi.module'
- '@inpost.izi.context'
- '@izi\prestashop\ObjectModel\ObjectManager'
- '@inpost.izi.general_logger'
izi\prestashop\MerchantApi\Handler\Basket\RelatedProductsEventHandler:
class: izi\prestashop\MerchantApi\Handler\Basket\RelatedProductsEventHandler
public: false
tags:
- { name: inpost.izi.basket_event_handler }
arguments:
- '@izi\prestashop\CommandBusInterface'
- '@inpost.izi.context'
izi\prestashop\MerchantApi\Firewall\MerchantApiAuthenticator:
class: izi\prestashop\MerchantApi\Firewall\MerchantApiAuthenticator
public: true # todo: make private after refactoring the front controller
arguments:
- '@izi\prestashop\MerchantApi\Firewall\SigningKeysService'
- '@inpost.izi.clock'
izi\prestashop\MerchantApi\Firewall\SigningKeysService:
class: izi\prestashop\MerchantApi\Firewall\SigningKeysService
public: false
arguments:
- '@izi\prestashop\BasketApp\Signature\SigningKeysApiClientInterface'
- '@izi\prestashop\Cache\ConfigurationCache'
inpost.izi.security.access.decision_manager:
class: Symfony\Component\Security\Core\Authorization\AccessDecisionManager
public: false
arguments:
- !tagged inpost.izi.security_voter
inpost.izi.security.authorization_checker:
class: izi\prestashop\Security\AuthorizationChecker
public: false
tags:
- { name: inpost.izi.widget_controller_dependency, key: Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface }
arguments:
- '@inpost.izi.security.access.decision_manager'
izi\prestashop\Security\Voter\BindingWidgetVoter:
class: izi\prestashop\Security\Voter\BindingWidgetVoter
public: false
tags:
- { name: inpost.izi.security_voter }
arguments:
- '@izi\prestashop\Configuration\GeneralConfigurationInterface'
- '@inpost.izi.context'
izi\prestashop\View\Asset\Provider\Front\CommonAssetsProvider:
class: izi\prestashop\View\Asset\Provider\Front\CommonAssetsProvider
public: false
tags:
- { name: inpost.izi.front_assets_provider }
arguments:
- '@inpost.izi.module'
- '@inpost.izi.context'
- '@inpost.izi.environment'
izi\prestashop\View\Asset\Provider\Front\ProductPageAssetsProvider:
class: izi\prestashop\View\Asset\Provider\Front\ProductPageAssetsProvider
public: false
tags:
- { name: inpost.izi.front_assets_provider }
arguments:
- '@izi\prestashop\Configuration\GeneralConfigurationInterface'
- '@inpost.izi.context'
izi\prestashop\View\Asset\Provider\Front\WidgetConfigurationProvider:
class: izi\prestashop\View\Asset\Provider\Front\WidgetConfigurationProvider
public: false
tags:
- { name: inpost.izi.front_assets_provider }
arguments:
- '@inpost.izi.context'
- '@izi\prestashop\Configuration\ApiConfigurationInterface'
- '@izi\prestashop\Configuration\GeneralConfigurationInterface'
- '@izi\prestashop\Repository\BasketSessionRepository'
izi\prestashop\Order\ContextCustomerUpdater:
class: izi\prestashop\Order\ContextCustomerUpdater
public: false
arguments:
- '@inpost.izi.context'
- '@izi\prestashop\ObjectModel\ObjectManagerInterface'

View File

@@ -0,0 +1,131 @@
# PS < 1.7.4 configuration
imports:
- { resource: common.yml }
- { resource: common_admin.yml }
- { resource: common_front.yml }
parameters:
inpost.izi.logs_dir: '%kernel.root_dir%/logs/inpost'
services:
inpost.izi.event_dispatcher:
class: Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher
public: false
arguments:
- '@service_container'
izi\prestashop\CommandBus:
class: izi\prestashop\CommandBus
arguments:
- '@inpost.izi.command_handler_locator'
inpost.izi.command_handler_locator:
class: izi\prestashop\DependencyInjection\ServiceLocator
autowire: true
tags:
- { name: inpost.izi.service_locator, tag: inpost.izi.command_handler, index_by: command_class, default_index_method: getHandledCommandClass }
izi\prestashop\Hook\HookExecutor:
class: izi\prestashop\Hook\HookExecutor
arguments:
- '@inpost.izi.hook_locator'
- '@inpost.izi.module'
inpost.izi.hook_locator:
class: izi\prestashop\DependencyInjection\ServiceLocator
autowire: true
tags:
- { name: inpost.izi.service_locator, tag: inpost.izi.hook, index_by: hook_name, default_index_method: getHookName }
inpost.izi.repository_locator:
class: izi\prestashop\DependencyInjection\ServiceLocator
autowire: true
tags:
- { name: inpost.izi.service_locator, tag: inpost.izi.model_repository, index_by: model_class }
inpost.izi.basket_event_handler_locator:
class: izi\prestashop\DependencyInjection\ServiceLocator
autowire: true
tags:
- { name: inpost.izi.service_locator, tag: inpost.izi.basket_event_handler, index_by: event_type, default_index_method: getHandledEventType }
izi\prestashop\Hook\Admin\ActionAdminCartRuleSaveAfter:
class: izi\prestashop\Hook\Admin\ActionAdminCartRuleSaveAfter
public: false
tags:
- { name: inpost.izi.hook }
arguments:
- '@inpost.izi.form_factory'
- '@izi\prestashop\CommandBusInterface'
izi\prestashop\Hook\Admin\ActionAdminControllerSetMedia:
class: izi\prestashop\Hook\Admin\ActionAdminControllerSetMedia
public: false
tags:
- { name: inpost.izi.hook }
arguments:
- '@izi\prestashop\View\Asset\AdminAssetManager'
- !tagged inpost.izi.admin_assets_provider
izi\prestashop\Hook\Admin\DisplayBackOfficeHeader:
class: izi\prestashop\Hook\Admin\DisplayBackOfficeHeader
public: false
tags:
- { name: inpost.izi.hook }
arguments:
- '@inpost.izi.context'
- '@izi\prestashop\Repository\CartRuleRepositoryInterface'
- '@inpost.izi.form_factory'
- '@izi\prestashop\View\Templating\RendererInterface'
izi\prestashop\Hook\Admin\DisplayAdminOrderLeft:
class: izi\prestashop\Hook\Admin\DisplayAdminOrderLeft
public: false
autowire: true
tags:
- { name: inpost.izi.hook }
inpost.izi.constraint_validator_locator:
class: izi\prestashop\DependencyInjection\ServiceLocator
autowire: true
tags:
- { name: inpost.izi.service_locator, tag: validator.constraint_validator }
inpost.izi.gui_configuration_locator:
class: izi\prestashop\DependencyInjection\ServiceLocator
autowire: true
tags:
- { name: inpost.izi.service_locator, tag: inpost.izi.gui_configuration_dependency, index_by: key }
izi\prestashop\Form\FormFactoryFactory:
class: izi\prestashop\Form\FormFactoryFactory
public: false
arguments:
- '@inpost.izi.validator'
inpost.izi.form_factory:
class: Symfony\Component\Form\FormFactoryInterface
factory: [ '@izi\prestashop\Form\FormFactoryFactory', create ]
public: false
arguments:
- '@inpost.izi.form_type_locator'
-
Symfony\Component\Form\Extension\Core\Type\ChoiceType: ['@izi\prestashop\Form\TypeExtension\ChoicesAsValuesTypeExtension']
Symfony\Component\Form\Extension\Core\Type\FormType: ['@izi\prestashop\Form\TypeExtension\HelpTextExtension']
inpost.izi.form_type_locator:
class: izi\prestashop\DependencyInjection\ServiceLocator
autowire: true
tags:
- { name: inpost.izi.service_locator, tag: form.type }
izi\prestashop\Form\TypeExtension\ChoicesAsValuesTypeExtension:
class: izi\prestashop\Form\TypeExtension\ChoicesAsValuesTypeExtension
tags:
- { name: form.type_extension, extended_type: Symfony\Component\Form\Extension\Core\Type\ChoiceType }
inpost.izi.widget_controller_locator:
class: izi\prestashop\DependencyInjection\ServiceLocator
autowire: true
tags:
- { name: inpost.izi.service_locator, tag: inpost.izi.widget_controller_dependency, index_by: key }

View File

@@ -0,0 +1,72 @@
# PS >= 1.7.4 common FO/BO configuration
imports:
- { resource: common.yml }
services:
_defaults:
public: false
inpost.izi.repository_locator:
class: Symfony\Component\DependencyInjection\ServiceLocator
tags:
- { name: container.service_locator }
arguments:
- Cart: '@inpost.izi.object_model.cart_repository'
Country: '@inpost.izi.object_model.country_repository'
Currency: '@izi\prestashop\ObjectModel\Repository\CurrencyRepository'
Carrier: '@izi\prestashop\ObjectModel\Repository\CarrierRepository'
CartRule: '@izi\prestashop\ObjectModel\Repository\CartRuleRepository'
Combination: '@izi\prestashop\ObjectModel\Repository\CombinationRepository'
Product: '@izi\prestashop\ObjectModel\Repository\ProductRepository'
Configuration: '@izi\prestashop\ObjectModel\Repository\ConfigurationRepository'
Hook: '@izi\prestashop\ObjectModel\Repository\HookRepository'
Language: '@inpost.izi.object_model.language_repository'
Order: '@inpost.izi.object_model.order_repository'
OrderState: '@inpost.izi.object_model.order_state_repository'
Shop: '@inpost.izi.object_model.shop_repository'
InPostShipmentModel: '@izi\prestashop\ObjectModel\Repository\ShipmentRepository'
inpost.izi.event_dispatcher:
class: Symfony\Component\EventDispatcher\EventDispatcherInterface
factory: [ '@izi\prestashop\Event\EventDispatcherFactory', create ]
inpost.izi.event_subscriber_locator:
class: Symfony\Component\DependencyInjection\ServiceLocator
tags:
- { name: container.service_locator }
arguments:
- izi\prestashop\EventListener\ShipmentListener: '@izi\prestashop\EventListener\ShipmentListener'
izi\prestashop\EventListener\CartListener: '@izi\prestashop\EventListener\CartListener'
izi\prestashop\EventListener\OrderListener: '@izi\prestashop\EventListener\OrderListener'
izi\prestashop\Form\BasketAppClientProvider: '@?izi\prestashop\Form\BasketAppClientProvider'
izi\prestashop\MerchantApi\EventListener\UpdateCartRulesListener: '@?izi\prestashop\MerchantApi\EventListener\UpdateCartRulesListener'
izi\prestashop\HotProduct\EventListener\UpdateHotProductsListener: '@izi\prestashop\HotProduct\EventListener\UpdateHotProductsListener'
izi\prestashop\EventListener\CreateShipmentListener: '@?izi\prestashop\EventListener\CreateShipmentListener'
izi\prestashop\Mail\EventListener\ReplaceOrderNotificationRecipientListener: '@izi\prestashop\Mail\EventListener\ReplaceOrderNotificationRecipientListener'
izi\prestashop\Analytics\EventListener\UpdateBasketAnalyticsListener: '@izi\prestashop\Analytics\EventListener\UpdateBasketAnalyticsListener'
izi\prestashop\Event\EventDispatcherFactory:
class: izi\prestashop\Event\EventDispatcherFactory
arguments:
- '@inpost.izi.event_subscriber_locator'
inpost.izi.constraint_validator_locator:
class: Symfony\Component\DependencyInjection\ServiceLocator
tags: [ container.service_locator ]
arguments:
- izi\prestashop\Validator\Cart\BindableValidator: '@?izi\prestashop\Validator\Cart\BindableValidator'
izi\prestashop\Validator\Cart\HasProductsValidator: '@?izi\prestashop\Validator\Cart\HasProductsValidator'
izi\prestashop\Validator\Cart\PaymentInCurrencyAvailableValidator: '@?izi\prestashop\Validator\Cart\PaymentInCurrencyAvailableValidator'
izi\prestashop\Validator\Product\NotInRestrictedCategoryValidator: '@izi\prestashop\Validator\Product\NotInRestrictedCategoryValidator'
izi\prestashop\Validator\Product\NotFromRestrictedManufacturerValidator: '@izi\prestashop\Validator\Product\NotFromRestrictedManufacturerValidator'
izi\prestashop\Validator\Product\NotWithRestrictedAttributesValidator: '@izi\prestashop\Validator\Product\NotWithRestrictedAttributesValidator'
izi\prestashop\Validator\Product\NotWithRestrictedFeaturesValidator: '@izi\prestashop\Validator\Product\NotWithRestrictedFeaturesValidator'
izi\prestashop\Validator\Product\UnrestrictedValidator: '@izi\prestashop\Validator\Product\UnrestrictedValidator'
inpost.izi.gui_configuration_locator:
class: Symfony\Component\DependencyInjection\ServiceLocator
tags: [ container.service_locator ]
arguments:
- validator: '@inpost.izi.validator'
context: '@inpost.izi.shop_context'
izi\prestashop\Repository\ProductRestrictionsRepositoryInterface: '@izi\prestashop\Repository\ProductRestrictionsRepositoryInterface'

View File

@@ -0,0 +1,48 @@
imports:
- { resource: ../services/sf34.yml }
services:
izi\prestashop\CommandBus:
class: izi\prestashop\CommandBus
arguments:
- '@inpost.izi.command_handler_locator'
inpost.izi.command_handler_locator:
class: Symfony\Component\DependencyInjection\ServiceLocator
tags: [ container.service_locator ]
arguments:
- izi\prestashop\Command\UpdateOrderTrackingNumbersCommand: '@izi\prestashop\Handler\UpdateOrderTrackingNumbersHandlerInterface'
izi\prestashop\Command\UpdateOrderStatusCommand: '@izi\prestashop\Handler\UpdateOrderStatusHandlerInterface'
izi\prestashop\Command\UpdateBasketCommand: '@izi\prestashop\Handler\UpdateBasketHandlerInterface'
izi\prestashop\Command\UnbindBasketCommand: '@izi\prestashop\Handler\UnbindBasketHandlerInterface'
izi\prestashop\Command\UpdateOrderAddressDeliveryCommand: '@izi\prestashop\Handler\UpdateOrderAddressDeliveryHandlerInterface'
izi\prestashop\HotProduct\Message\DeleteRemoteProductCommand: '@izi\prestashop\HotProduct\MessageHandler\DeleteRemoteProductHandlerInterface'
izi\prestashop\HotProduct\Message\UpdateHotProductCommand: '@izi\prestashop\HotProduct\MessageHandler\UpdateHotProductHandlerInterface'
inpost.izi.hook_locator:
class: Symfony\Component\DependencyInjection\ServiceLocator
tags: [ container.service_locator ]
arguments:
- actionObjectCartDeleteBefore: '@izi\prestashop\Hook\Common\ActionCartDeleteBefore'
actionObjectCartUpdateAfter: '@izi\prestashop\Hook\Common\ActionCartUpdateAfter'
actionObjectInPostShipmentModelAddAfter: '@izi\prestashop\Hook\Common\ActionShipmentAddAfter'
actionObjectInPostShipmentModelUpdateBefore: '@izi\prestashop\Hook\Common\ActionShipmentUpdateBefore'
actionObjectInPostShipmentModelUpdateAfter: '@izi\prestashop\Hook\Common\ActionShipmentUpdateAfter'
actionValidateOrder: '@izi\prestashop\Hook\Common\ActionValidateOrder'
actionOrderStatusPostUpdate: '@izi\prestashop\Hook\Common\ActionOrderStatusPostUpdate'
actionObjectOrderUpdateBefore: '@izi\prestashop\Hook\Common\ActionObjectOrderUpdateBefore'
actionObjectOrderUpdateAfter: '@izi\prestashop\Hook\Common\ActionObjectOrderUpdateAfter'
actionEmailSendBefore: '@izi\prestashop\Hook\Common\ActionEmailSendBefore'
# products
actionObjectProductDeleteBefore: '@izi\prestashop\Hook\Common\Product\ActionProductDeleteBefore'
actionObjectProductDeleteAfter: '@izi\prestashop\Hook\Common\Product\ActionProductDeleteAfter'
actionObjectProductUpdateAfter: '@izi\prestashop\Hook\Common\Product\ActionProductUpdateAfter'
actionObjectCombinationDeleteBefore: '@izi\prestashop\Hook\Common\Product\ActionCombinationDeleteBefore'
actionObjectCombinationDeleteAfter: '@izi\prestashop\Hook\Common\Product\ActionCombinationDeleteAfter'
actionObjectCombinationUpdateAfter: '@izi\prestashop\Hook\Common\Product\ActionCombinationUpdateAfter'
actionObjectImageAddAfter: '@izi\prestashop\Hook\Common\Product\ActionImageAddAfter'
actionObjectImageDeleteAfter: '@izi\prestashop\Hook\Common\Product\ActionImageDeleteAfter'
actionObjectSpecificPriceAddAfter: '@izi\prestashop\Hook\Common\Product\ActionSpecificPriceAddAfter'
actionObjectSpecificPriceUpdateAfter: '@izi\prestashop\Hook\Common\Product\ActionSpecificPriceUpdateAfter'
actionObjectSpecificPriceDeleteAfter: '@izi\prestashop\Hook\Common\Product\ActionSpecificPriceDeleteAfter'
actionUpdateQuantity: '@izi\prestashop\Hook\Common\Product\ActionUpdateQuantity'