onCartRecovered( )


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

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 an abandoned shopping cart.

The onCartRecovered() event handler runs when a visitor completes a purchase more than 1 hour after items have been added to a shopping cart.

You can use this event to cancel planned communications with the visitor who abandoned the shopping cart.

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

Method Declaration
Copy
Method Parameters
eventCartRecoveredEventRequired

Information about the cart that was recovered.

Was this helpful?
Yes
No