Search...
onProductDeleted( )
Developer Preview
Syntax
function wixStoresCatalog_onProductDeleted(event: ProductDeleted): void
onProductDeleted Parameters
NAME
TYPE
DESCRIPTION
event
Optional
ProductDeleted
Returns
This function does not return anything.
Return Type:
void
Was this helpful?
onProductDeleted example
Copy Code
12 export function wixStoresCatalog_onProductDeleted(event) {3 const eventId = event.metadata.id4 const entityId = event.entity._id;5 }67