Abandoned carts
A cart with an email address, untouched for 30 minutes, that never became an order. Carts created in the last 30 days are shown.
Panel → Carts. Who left something half-finished, and how much money is sitting there.
What counts as abandoned
A cart with an email address, untouched for 30 minutes, that never became an order. Carts created in the last 30 days are shown.
There is no new table and no separate tracking: it is derived from the carts that already exist. A recovery system that needs its own database is a system that drifts out of sync.
Reminding a cart
The button sends the customer an email with what they left behind and a link to carry on. The email goes in the customer's language, or in English if it is not known.
The panel sends nothing by itself. An automatic reminder at two hours is marketing; two is nagging; three is a complaint to the data protection authority. Who and when is your call.
Each send is noted on the cart, so you cannot end up emailing the same person four times without noticing.
Automating it with a plugin
If you do want an automatic reminder, a plugin can send it. Every 15 minutes
the backend looks for carts that have an email address and items, have been
untouched for 60 minutes and were last changed within the last 7 days,
and emits the plugin event carrito.abandonado with the cart's lines and
totals.
Each cart is announced only once, so a plugin listening to that event cannot end up writing to the same person over and over. See Write a plugin for how to listen to events.
What you need
Email configured (SMTP_*). Without it the button cannot do anything.
Before you write to anyone
An abandoned cart contains data about an identified person. Emailing them is commercial communication: you need a legal basis — usually that they are a customer of yours, or that they have agreed to receive them.
The system letting you press the button does not mean you may press it for everyone.