onCheckoutUpdated( )

An event that triggers when a checkout is updated. A checkout is updated when, for example, items are added or a coupon is removed.

The onCheckoutUpdated() event handler runs when a new checkout is updated. The received CheckoutUpdated object contains information about the checkout that was updated and event metadata.

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

Method Declaration
Copy
Method Parameters
eventCheckoutUpdated

Information about the checkout that was updated and event metadata.

Was this helpful?
Yes
No