onProductDeleted( )


An event that fires when a product is deleted.

The onProductDeleted() event handler runs when a product is deleted from a store.

Note: Backend events don't work when previewing your site.

Method Declaration
Copy
Method Parameters
eventProductDeletedEventRequired

Information about the product that was deleted.

Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?