onCartUpdated( )


An event that triggers when a cart is updated.

The onCartUpdated() event handler runs when a cart is updated. The received CartUpdated object contains information about the cart that was updated and event metadata.

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

Method Declaration
Copy
Method Parameters
eventCartUpdated

Information about the cart that was updated and event metadata.

Did this help?