Breaking: #452 - Replace Hooks
See Issue 452
Description
Existing Hooks have been removed. They were replaced by EventListeners. The extension offered following hooks:
show
inCart Action After Cart Was Loaded \Extcode\
Cart\ Controller\ Cart\ Cart Controller Add
inTo Cart Finisher \Extcode\
Cart\ Domain\ Finisher\ Form\ Add To Cart Finisher Mail
inAttachment Hook \Extcode\
Cart\ Service\ Mail Handler
Affected Installations
All installations that used the hooks to programmatically adjust the behavior of the extension are affected.
Migration
show
inCart Action After Cart Was Loaded \Extcode\
now needs to listen to the eventCart\ Controller\ Cart\ Cart Controller \Extcode\
Cart\ Event\ Cart\ Before Show Cart Event Add
inTo Cart Finisher \Extcode\
now needs to listen to the eventCart\ Domain\ Finisher\ Form\ Add To Cart Finisher \Extcode\
Cart\ Event\ Form\ Add To Cart Finisher Event Mail
inAttachment Hook \Extcode\
now needs to listen to the eventCart\ Service\ Mail Handler \Extcode\
Cart\ Event\ Mail\ Attachment Event