Breaking: #413 - Remove Signal Slots 

See Issue 413

Description 

Signal slots have been removed in TYPO3 v12. These have been replaced by EventListeners where possible. The extension offered following signal slots:

  • updateCountry in ExtcodeCartUtilityCartUtility
  • updateCurrency in ExtcodeCartUtilityCurrencyUtility
  • addProductAdditionalData, addBeVariantAdditionalData, and changeOrderItemBeforeSaving in ExtcodeCartUtilityOrderUtility

Affected Installations 

All installations that used the signal slots to programmatically adjust the behavior of the extension are affected.

Migration 

  • updateCountry in ExtcodeCartUtilityCartUtility can replaced with ExtcodeCartEventListenerCartUpdateCountry.
  • updateCurrency in ExtcodeCartUtilityCurrencyUtility can replaced with ExtcodeCartEventListenerCartUpdateCurrency.
  • addProductAdditionalData, addBeVariantAdditionalData, and changeOrderItemBeforeSaving in ExtcodeCartUtilityOrderUtility was used only directly in ExtcodeCartEventListenerOrderCreateOrder. This class now dispatch the new ExtcodeCartEventOrderPersistOrderEvent. Overwriting ExtcodeCartUtilityOrderUtility or using the signal slots of this class should thus be superfluous and can be replaced by your own EventListener. For more information check out the event documentation in the developer section.