This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
Catalog events¶
Products¶
| Event | Dispatched by | Properties |
|---|---|---|
BeforeCreateAttributeDefinitionEvent |
AttributeDefinitionService::createAttributeDefinition |
AttributeDefinitionCreateStruct $createStruct |
BeforeCreateAttributeGroupEvent |
AttributeGroupService::createAttributeGroup |
AttributeGroupCreateStruct $createStruct |
BeforeCreateProductEvent |
ProductService::createProduct |
ProductCreateStruct $createStruct |
BeforeDeleteAttributeDefinitionEvent |
AttributeDefinitionService::deleteAttributeDefinition |
AttributeDefinitionInterface $attributeDefinition |
BeforeDeleteAttributeGroupEvent |
AttributeGroupService::deleteAttributeGroup |
AttributeGroupInterface $attributeGroup |
BeforeDeleteProductEvent |
ProductService::deleteProduct |
ProductInterface $product |
BeforeUpdateAttributeDefinitionEvent |
AttributeDefinitionService::updateAttributeDefinition |
AttributeDefinitionInterface $attributeDefinitionAttributeDefinitionUpdateStruct $updateStruct |
BeforeUpdateAttributeGroupEvent |
AttributeGroupService::updateAttributeGroup |
AttributeGroupInterface $attributeGroupAttributeGroupUpdateStruct $updateStruct |
BeforeUpdateProductEvent |
ProductService::updateProduct |
ProductUpdateStruct $updateStruct |
CreateAttributeDefinitionEvent |
AttributeDefinitionService::createAttributeDefinition |
AttributeDefinitionCreateStruct $createStructAttributeDefinitionInterface $attributeDefinition |
CreateAttributeGroupEvent |
AttributeGroupService::createAttributeGroup |
AttributeGroupCreateStruct $createStructAttributeGroupInterface $attributeGroup |
CreateProductEvent |
ProductService::createProduct |
ProductCreateStruct $createStructProductInterface $product |
DeleteAttributeDefinitionEvent |
AttributeDefinitionService::deleteAttributeDefinition |
AttributeDefinitionInterface $attributeDefinition |
DeleteAttributeGroupEvent |
AttributeGroupService::deleteAttributeGroup |
AttributeGroupInterface $attributeGroup |
DeleteProductEvent |
ProductService::deleteProduct |
ProductInterface $product |
UpdateAttributeDefinitionEvent |
AttributeDefinitionService::updateAttributeDefinition |
AttributeDefinitionInterface $attributeDefinitionAttributeDefinitionUpdateStruct $updateStruct |
UpdateAttributeGroupEvent |
AttributeGroupService::updateAttributeGroup |
AttributeGroupInterface $attributeGroupAttributeGroupUpdateStruct $updateStruct |
UpdateProductEvent |
ProductService::updateProduct |
ProductInterface $productProductUpdateStruct $updateStruct |
Product variants¶
| Event | Dispatched by | Properties |
|---|---|---|
BeforeCreateProductVariantsEvent |
ProductService::createProductVariants |
ProductInterface $productiterable $createStructs |
BeforeUpdateProductVariantEvent |
ProductService::updateProductVariant |
ProductVariantInterface $productVariantProductVariantUpdateStruct $updateStruct |
CreateProductVariantsEvent |
ProductService::createProductVariants |
ProductInterface $productiterable $createStructs |
UpdateProductVariantEvent |
ProductService::updateProductVariant |
ProductVariantInterface $productVariantProductVariantUpdateStruct $updateStruct |
Product availability¶
| Event | Dispatched by | Properties |
|---|---|---|
BeforeCreateProductAvailabilityEvent |
ProductAvailabilityService::createProductAvailability |
ProductAvailabilityCreateStruct $createStruct |
BeforeDecreaseProductAvailabilityEvent |
ProductAvailabilityService::decreaseProductAvailability |
ProductInterface $productint $amount |
BeforeDeleteProductAvailabilityEvent |
ProductAvailabilityService::deleteProductAvailability |
ProductInterface $product |
BeforeIncreaseProductAvailabilityEvent |
ProductAvailabilityService::increaseProductAvailability |
ProductInterface $productint $amount |
BeforeUpdateProductAvailabilityEvent |
ProductAvailabilityService::updateProductAvailability |
ProductAvailabilityUpdateStruct $updateStruct |
CreateProductAvailabilityEvent |
ProductAvailabilityService::createProductAvailability |
ProductAvailabilityCreateStruct $createStructAvailabilityInterface $productAvailability |
DecreaseProductAvailabilityEvent |
ProductAvailabilityService::decreaseProductAvailability |
AvailabilityInterface $productAvailabilityProductInterface $productint $amount |
DeleteProductAvailabilityEvent |
ProductAvailabilityService::deleteProductAvailability |
ProductInterface $product |
IncreaseProductAvailabilityEvent |
ProductAvailabilityService::increaseProductAvailability |
AvailabilityInterface $productAvailability ProductInterface $productint $amount |
UpdateProductAvailabilityEvent |
ProductAvailabilityService::updateProductAvailability |
AvailabilityInterface $productAvailabilityProductAvailabilityUpdateStruct $updateStruct |
Price¶
| Event | Dispatched by | Properties |
|---|---|---|
BeforeCreatePriceEvent |
ProductPriceService::createProductPrice |
ProductPriceCreateStructInterface $createStruct |
BeforeDeletePriceEvent |
ProductPriceService::deletePrice |
ProductPriceDeleteStructInterface $deleteStruct |
BeforeUpdatePriceEvent |
ProductPriceService::updateProductPrice |
ProductPriceUpdateStructInterface $updateStruct |
CreatePriceEvent |
ProductPriceService::createProductPrice |
ProductPriceCreateStructInterface $createStructPriceInterface $price |
DeletePriceEvent |
ProductPriceService::deletePrice |
ProductPriceDeleteStructInterface $deleteStruct |
UpdatePriceEvent |
ProductPriceService::updateProductPrice |
PriceInterface $priceProductPriceUpdateStructInterface $updateStruct |
Currency¶
| Event | Dispatched by | Properties |
|---|---|---|
BeforeCreateCurrencyEvent |
CurrencyService::createCurrency |
CurrencyCreateStruct $createStruct |
BeforeDeleteCurrencyEvent |
CurrencyService::deleteCurrency |
CurrencyInterface $currency |
BeforeUpdateCurrencyEvent |
CurrencyService::updateCurrency |
CurrencyInterface $currencyCurrencyUpdateStruct $updateStruct |
CreateCurrencyEvent |
CurrencyService::createCurrency |
CurrencyCreateStruct $createStructCurrencyInterface $currency |
DeleteCurrencyEvent |
CurrencyService::deleteCurrency |
CurrencyInterface $currency |
UpdateCurrencyEvent |
CurrencyService::updateCurrency |
CurrencyInterface $currencyCurrencyUpdateStruct $updateStruct |
Catalogs¶
| Event | Dispatched by | Properties |
|---|---|---|
BeforeCreateCatalogEvent |
CatalogService::createCatalog |
CatalogCreateStruct $createStruct |
BeforeDeleteCatalogEvent |
CatalogService::deleteCatalog |
CatalogInterface $catalog |
BeforeUpdateCatalogEvent |
CatalogService::updateCatalog |
CatalogUpdateStruct $updateStruct |
CreateCatalogEvent |
CatalogService::createCatalog |
CatalogCreateStruct $createStructCatalogInterface $catalog |
DeleteCatalogEvent |
CatalogService::deleteCatalog |
CatalogInterface $catalog |
UpdateCatalogEvent |
CatalogService::updateCatalog |
CatalogUpdateStruct $updateStruct |