Skip to main content

Events

Event Thumbnail-Prefix-Replacement

NameValue
EventTwocream\ShopwareConnectorBundle\Events\ThumbnailPrefixReplacementEvent::THUMBNAIL_PREFIX_REPLACEMENT
ClassTwocream\ShopwareConnectorBundle\Events\ThumbnailPrefixReplacementEvent
Propertiesarray $replacements
TriggerThe event is triggered by the AssetHelper, immediately before the prefixes specified in $replacements are removed from the thumbnail names
Additional DetailsBy 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

NameValue
EventTwocream\ShopwareConnectorBundle\Events\PostConvertDataEvent::POST_CONVERT_DATA_EVENT
ClassTwocream\ShopwareConnectorBundle\Events\PostConvertDataEvent
PropertiesArrayAdapterAbstract $adapter,
array $data
TriggerThe event is triggered after the conversion process of an adapter
Additional DetailsThis allows verification and/or modification of converted data from an adapter according to individual logic