Events
Event Thumbnail-Prefix-Replacement
| Name | Value |
|---|---|
| Event | Twocream\ShopwareConnectorBundle\Events\ThumbnailPrefixReplacementEvent::THUMBNAIL_PREFIX_REPLACEMENT |
| Class | Twocream\ShopwareConnectorBundle\Events\ThumbnailPrefixReplacementEvent |
| Properties | array $replacements |
| Trigger | The event is triggered by the AssetHelper, immediately before the prefixes specified in $replacements are removed from the thumbnail names |
| Additional Details | By default, thumbnail names like shopware_500x500 are renamed to 500x500. The event is triggered with ['shopware_'] as a parameter. This could, for example, override the shopware_ prefix if another prefix should be removed. |
Event Post-Convert-Data
| Name | Value |
|---|---|
| Event | Twocream\ShopwareConnectorBundle\Events\PostConvertDataEvent::POST_CONVERT_DATA_EVENT |
| Class | Twocream\ShopwareConnectorBundle\Events\PostConvertDataEvent |
| Properties | ArrayAdapterAbstract $adapter,array $data |
| Trigger | The event is triggered after the conversion process of an adapter |
| Additional Details | This allows verification and/or modification of converted data from an adapter according to individual logic |