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.

Errors

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

Did this help?