Skip to main content
Version: 2026.10

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
Note

The cross-selling of adapters with CrossSellingProviderInterface is already added to the data as package cross-selling by the ArrayTransformer before the event; virtual adapters are not added to the data. A subscriber that copies getCrossSelling() of a product adapter into the export data is therefore no longer needed, see "Build a product export".


Event Export-File-Placed​

NameValue
EventTwocream\ShopwareConnectorBundle\Events\ExportFilePlacedEvent::EXPORT_FILE_PLACED
ClassTwocream\ShopwareConnectorBundle\Events\ExportFilePlacedEvent
Propertiesstring $filePath,
string $transferAdapterIdentifier,
array $targetConfiguration
TriggerThe event is triggered immediately after the export file (JSON) has been placed via the transfer adapter
Additional Details$filePath contains the path of the placed file, $transferAdapterIdentifier the identifier of the transfer adapter configured under transfer > adapter and $targetConfiguration the configuration of the export job including the configuration of the target system.

This allows, for example, triggering downstream processes for the placed file