onCartDeleted( )


An event that triggers when a cart is deleted.

The onCartDeleted() event handler runs when a cart is deleted. The received CartDeleted object contains event metadata.

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

Method Declaration
Copy
Method Parameters
eventCartDeleted

Event metadata.

Did this help?