onCartCompleted( )


Deprecated. This event will continue to work until September 4, 2024, but a newer version is available at wix-ecom-backend.Events.onCheckoutCompleted().

We recommend you migrate to the new Wix eCommerce APIs as soon as possible.

An event that fires when a visitor completes a purchase from a shopping cart.

The onCartCompleted() event handler runs when a visitor completes a purchase from a shopping cart.

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

Method Declaration
Copy
Method Parameters
eventCartCompletedEventRequired

Information about the cart that was completed.

Was this helpful?
Yes
No