Features

Everything in CartWin is free. There is no paid version and nothing is locked.

Available in 7 languages
English · Español · Français · Deutsch · Português · 日本語 · Italiano — see how to switch.

CartWin email, SMS and WhatsApp follow-up channels

Where to find everything

All features live on one page with tabs along the top: Dashboard, Carts, Templates, Reports, Rules, Tools, Settings and Help. Paths below start from CartWin in the WordPress menu.

Each feature below explains what it does, why it matters, the verified details, and where to find it in the admin.

What it does. CartWin records a cart while the shopper is still filling in the checkout — before the order exists.

Why it matters. Most recovery tools only know about a cart once the shopper has typed an email and clicked “Place order”. CartWin saves as they type, so a cart is on record even if they close the tab half-way.

Details

  • Recorded for every cart: the items (product or variation, quantity, price, name and picture), the cart value, the currency, and when it was captured.
  • Recorded as the shopper types it: the email address, the first and last name, and the billing and shipping address (company, address lines, city, state, postcode, country).
  • The phone number is recorded as well — always, whichever channels are switched on. The store keeps it for a call even when it sends neither texts nor WhatsApp messages. The checkout passes the number on as soon as it has seven digits. A cart is captured as soon as a shopper has typed an email address or a phone number.
  • Email addresses are validated before they are stored: an entry without an @ is dropped, the rest is kept.
  • How the phone number is stored depends on the channels:
  • SMS or WhatsApp switched on — the number is normalised to international format. A + the shopper typed is kept, 00 becomes +, a national number written with a trunk prefix loses its leading zero, and the Default country code (Settings → SMS) is added when the number carries none. Examples with the default country code set to 44: +44 7911 123456 → +447911123456; 0044 7911 123456 → +447911123456; 07911 123456 → +447911123456; 7911 123456 → +447911123456. A number that already starts with the default country code is not given a second one: 1 (555) 010-0222 with the default country code 1 → +15550100222.
  • Both channels off — the number is only cleaned: spaces and punctuation go, a leading + is kept and 00 becomes +. No country code is guessed. 07911 123456 is stored as 07911123456; (555) 010-0222 as 5550100222.
  • The default country code matters. It must be the country most of the customers live in. With it set to 1, a British customer who types 07911 123456 becomes +17911123456 — a number in the United States. Check the stored numbers under Carts before the first text goes out.
  • If Phone consent is switched on (Settings → Consent), the checkout shows a second checkbox for the phone number, whatever the channels are, and the number is only stored once it is ticked.
  • A visitor has one open cart. Returning to the store later updates that cart; details the shopper did not type again are kept.
  • Works with the classic checkout and the block checkout.
  • Logged-in shoppers are also captured when they open the cart or checkout page, and when they add a product to the cart.
  • As a safety net, the checkout fields are captured once more at the moment the order is placed — a value typed in the last second before clicking cannot be missed.
  • Items that only exist as part of a bundle or composite product are not stored separately; they come back together with their parent product.
  • When the shopper empties the cart, the stored cart is removed.
  • Protection: the capture endpoint only accepts requests from the store’s own pages, at most 90 per minute per visitor, with a body of at most 8 KB.
  • Not recorded: users whose role is listed under Do not track (Administrators and Shop Managers by default), and guests who did not tick the consent box when consent is required.

Where to find it. Settings → General → Track abandoned carts, Checkout capture, Do not track. Captured carts appear under Carts.

What it does. A template is one follow-up: its text, its channel and when it goes out. When a cart is abandoned, every active template is scheduled.

Why it matters. You decide the cadence — a quick reminder, a helpful question a day later, a discount on day three — and every channel joins the same timeline.

Details

  • Unlimited templates per channel: Email always; SMS and WhatsApp once they are switched on in the settings.
  • Send after: a number (0–44,640) of minutes, hours or days, counted from the moment the cart was abandoned.
  • Templates go out in the order of their delay.
  • Each template is queued at most once per cart. Changing templates later re-plans abandoned carts without sending anything twice.
  • Three active email templates come with the plugin (see chapter 8).
  • A template can be switched on and off without deleting it.
  • A new template starts Active and goes out 30 minutes after the cart was abandoned. Name, text and the remaining settings are yours to fill in. The channel is the one you clicked Add Template on; SMS and WhatsApp only offer it once they are switched on.
  • What the editor checks before it saves. Nothing is stored until the template passes:
  • every channel: a name — “Give the template a name.”;
  • Email: a subject and a body — “Give the email a subject.” / “Give the email a body.”;
  • SMS: message text — “Give the message some text.”;
  • WhatsApp: the name and the language code of an approved WhatsApp template, or — in Free text mode — message text.
    When a check fails, the editor comes back with everything you typed still in it (kept for 15 minutes) and the reason above the form.
  • Who may save raw HTML. Users with the unfiltered_html capability — Administrators and Editors on a single-site installation, Super Administrators on Multisite — save the body exactly as typed. Everyone else gets it saved with unsafe markup removed (scripts, iframes and the like).
  • Duplicate creates an inactive copy named “ (copy)”.
  • Deleting a template keeps the history of what was already sent.
  • Templates can be exported as a JSON file and imported again — on the same site, or on another one. Imported templates start inactive; a template whose name already exists is skipped.

Where to find it. The Templates tab. Add Template to create one; the row actions are Edit, Test, Duplicate, Deactivate / Activate and Delete. Export and Import sit at the top of the list.

What it does. Sends the follow-up as an HTML email through the store’s own mail system.

Why it matters. Email is the channel every store already has. It needs no account and no extra cost, and it carries the full cart with pictures and a button.

Details

  • Subject and an optional Heading (shown above the content in the WooCommerce email layout). Both accept merge tags.
  • Three layouts:
  • In the WooCommerce email design — the follow-up wears the same header and footer as the store’s other WooCommerce emails (the default).
  • CartWin layout — a clean, centred card with the store name on top and a footer that says why the email was sent, with an unsubscribe link.
  • Simple layout, without the store design — the plain content in a white column.
    The store-wide choice is made under Settings → Emails → WooCommerce email design; a template can override it.
  • The unsubscribe link. The CartWin layout adds it in its footer automatically. With the other two layouts it appears wherever the template contains {{cart.unsubscribe}}. Every email also carries the List-Unsubscribe headers, which Gmail, Apple Mail, Outlook and others turn into their own unsubscribe button.
  • Product table: choose the columns (Pictures, Names, Quantities, Prices, Subtotals), the picture size (small, medium, large) and whether prices show with or without tax.
  • Sender: the “From” name and address and the “Reply to” address are set per store.
  • Copy to the store: none, a hidden copy (Bcc) or a visible copy (Cc) — per store, and a template can decide on its own.
  • Open tracking records when an email is opened; click tracking records which links are clicked. The unsubscribe link is never tracked, so unsubscribing never depends on tracking.
  • Send test delivers the saved template to an address you type; Preview shows the saved template in a pop-up. Both use sample data.
  • Emails leave through wp_mail() — that is, through whatever the site already uses to send mail (WordPress itself or an SMTP plugin).
  • When the mail system throws — an SMTP connection that is refused, for example — the message’s note carries the mailer’s own error text; when it merely answers “no”, the note is The mail system did not accept the message. Either way the email goes back to the queue and is tried again automatically (3.4).
  • Filter for staging sites: return false on cartwin_send_email and no email goes out.

Where to find it. Templates → Add Template (channel Email), or Edit on an existing one. Store-wide email settings: Settings → Emails.

What it does. Sends the follow-up as a text message, through Twilio or through any gateway with an HTTP JSON API.

Why it matters. Text messages are read within minutes. For a cart abandoned an hour ago, one short SMS often outperforms a second email.

Details

Switching it on

  • Off until you switch it on (Settings → SMS → Send follow-ups by SMS). From then on an SMS channel appears under Templates, and CartWin normalises every phone number it captures to international format (see 4.1).
  • Only carts with a phone number receive SMS.
  • Text marketing needs the shopper’s consent in most countries. CartWin offers a separate consent checkbox for phone numbers (see 4.14); whether you need it is your decision, taken with your own legal advice.

Provider: Twilio

  • Three values: the Account SID, the Auth Token and the Sender — a Twilio phone number or a Messaging Service SID.
  • For each message CartWin calls Twilio’s Messaging API (https://api.twilio.com/2010-04-01/Accounts/<Account SID>/Messages.json) with the sender, the shopper’s number in international format (+15551234567) and the text.

Provider: other gateway with a JSON API

  • Any service that accepts an HTTP POST with a JSON body. Enter the Gateway URL and the Request body.
  • Put these placeholders in the body where the values belong: {to} (the shopper’s number), {from} (the sender) and {message} (the text). When the gateway wants the credentials inside the body rather than in a header, {sid} and {token} stand for the values entered under Account SID and Auth token.
  • Example: {"to": "{to}", "from": "{from}", "text": "{message}", "api_key": "{token}"}
  • The values are inserted JSON-escaped, so quotes and line breaks in a message cannot break the JSON.
  • Any answer with a 2xx status counts as sent. The gateway’s message id is taken from the first of these keys that is present: id, messageId, message_id, sid, uuid. Without any of them the message is still counted as sent.
  • A body that is not valid JSON once the placeholders are filled in is refused before anything leaves the store: “The SMS body template is not valid JSON once the placeholders are filled in.”
  • Gateways that want form fields, XML or a custom header are not served by this option. Ask the provider for a JSON API, or write your own sending code on the cartwin_send_sms filter (chapter 15).

The message

  • An SMS has no subject. The template text goes out as plain text: HTML tags are removed, <br> and the end of a paragraph, list item or table row become a line break, and {{cart.product.table}} becomes a plain list of item names.
  • CartWin does not split or shorten a long text; the provider does that, and bills each part. Keep an SMS short — one or two sentences plus the link.
  • Opt-out hint: the line from Settings → SMS (Reply STOP to opt out by default) is appended to every SMS whose text does not contain “STOP”. Leave the field empty for none. The hint is part of the message and counts towards its length.
  • Default country code: added in front of numbers typed without one (1 by default). Set it to the country most of your customers live in — the rules and examples are in 4.1. The same code is used for WhatsApp.

Replies: STOP

  • Customers answer a text with a text. Under Settings → SMS → STOP replies the store shows an address (the home page with ?cartwin_sms_event=1). Enter it in your Twilio console as the “A MESSAGE COMES IN” webhook of the number the messages are sent from.
  • A reply of STOP, UNSUBSCRIBE, CANCEL, END or QUIT unsubscribes that phone number in the store: the messages still queued for it are cancelled with the note “Customer unsubscribed.”, and a new cart with the same number is treated as unsubscribed as well.
  • The check is deliberately strict. Capitalisation and punctuation do not matter — “Stop!” counts — but the reply must consist of the word alone. “STOP sending me this” does not count and is only noted in the activity log.
  • An unsubscribe counts for every channel. A shopper who replies STOP gets no more emails or WhatsApp messages from the store either; a shopper who clicks the unsubscribe link in an email gets no more texts (see 4.14).
  • Only requests that carry a valid Twilio signature — made with your Auth Token — are honoured. Everything else is answered with “403 Forbidden”, so nobody can unsubscribe your customers from outside.
  • The address only works while the Provider is Twilio and the Auth Token is entered. With another gateway CartWin does not see replies; the gateway has to handle opt-outs on its side.
  • CartWin never answers a reply. It answers Twilio with an empty confirmation, and no message goes back to the shopper.

Sent, failed, and what is not tracked

  • Sent means Twilio or the gateway accepted the message. Whether the phone actually received or read it is not reported back to CartWin; there are no delivery or read receipts.
  • SMS have no open or click tracking.
  • When the provider rejects a message or cannot be reached, the SMS does not end as Failed at once: it goes back to the queue and is tried again — up to seven times, with growing pauses (3.4). The note names each attempt and the provider’s reason: Attempt 1 failed, retrying in 1 min: Twilio rejected the message: quota exceeded, or …: SMS gateway rejected the message: quota exceeded. When the reason is missing, the HTTP status stands there instead (“… rejected the message: HTTP 500”).
  • When the provider cannot be reached at all (time-out after 20 seconds, DNS, connection refused), the reason starts with “Twilio: ” or “SMS gateway: ” followed by WordPress’s reason.
  • After the last try the message is Failed. Queue again under Reports → Message Log gives it one more try (see 5.4).
  • Filter for staging sites: return false on cartwin_send_sms and no SMS goes out.

Where to find it. Settings → SMS. Then Templates (channel SMS).

What it does. Sends the follow-up as a WhatsApp message through the WhatsApp Business Cloud API from Meta.

Why it matters. WhatsApp has the highest open rates of the three channels in the markets where it is popular — and a cart restored from a WhatsApp message is one tap away.

Details

Switching it on

  • Off until you switch it on (Settings → WhatsApp → Send follow-ups by WhatsApp). From then on a WhatsApp channel appears under Templates, and CartWin normalises every phone number it captures to international format (see 4.1).
  • Three values from Meta:
  • API version — as shown in your Meta developer dashboard, for example v22.0. Left empty, v22.0 is used.
  • Phone number ID — from WhatsApp Manager → API setup. It is a long number that identifies your business phone line; it is not the phone number itself.
  • Access token — a permanent token from a system user of your Meta business portfolio. A 24-hour token from the API setup page expires; take a permanent one.
  • Until all three are in place no message goes out. Each one is tried again for about forty hours with “Add the Phone number ID from your WhatsApp business settings.” or “Add a permanent access token for your WhatsApp business account.” in its note, and ends as Failed (3.4).
  • The shopper’s number is taken from the cart in international format. The Default country code from Settings → SMS applies here too — the WhatsApp tab has no field of its own.
  • Only shoppers who opted in may be messaged. CartWin offers a consent checkbox for phone numbers (see 4.14).

How a CartWin template becomes a WhatsApp message

Meta does not let a business write to a customer out of the blue. Each CartWin template therefore picks a Message type:

  1. Approved WhatsApp template — the normal way. You first create the template in WhatsApp Manager (Meta reviews it, usually within a day), then enter in CartWin:
    – WhatsApp template name — exactly the name Meta shows. Meta only allows lower-case letters, digits and underscores; CartWin converts what you type accordingly (Cart Reminder 1 becomes cart_reminder_1), so copy the name from WhatsApp Manager to be safe.
    – Template language — the language code of the approved template, for example en_US or de. The field is filled with en_US when you leave it empty. It must be one of the languages the template is approved in.
    – Template values — one per line, in the order of the template’s {{1}}, {{2}} … placeholders. Merge tags are allowed in each line, for example:
    {{customer.firstname}}
    {{cart.total}}
    {{cart.item_count}}

    Each value is cut at 1,024 characters. Empty lines are left out, so an empty line in the middle moves every following value up by one — do not leave one there. Only placeholders in the body of the WhatsApp template are filled; a placeholder in the template’s header or footer is not.
    – Button link value — for a template with a dynamic website button. Create the button in WhatsApp Manager with a URL such as https://www.yoursite.com/?cartwin_restore={{1}} and enter {{cart.token}} here: the button then restores the cart. The value fills the first URL button of the template.
  2. Free text — sends the template text as an ordinary WhatsApp text message. CartWin removes the HTML and cuts the text at 4,096 characters. Meta only delivers such a message inside the 24-hour window after the customer last wrote to your business. A cart reminder usually falls outside that window, so Meta refuses it; the message is then tried again for about forty hours (3.4) and ends as Failed with Meta’s reason. Use this mode for tests — send a WhatsApp message to your business number first — and approved templates for real follow-ups.

What CartWin sends

  • One HTTPS request per message to https://graph.facebook.com/<API version>/<Phone number ID>/messages, carrying the access token as a Bearer token. Nothing else leaves the store.
  • When Meta accepts the message it returns a message id, which CartWin stores with the message record. It is the reference to look the message up in Meta’s logs with.

Sent, failed, and what is not tracked

  • Sent means Meta accepted the message. Whether the phone received or read it is not reported back to CartWin: CartWin does not read Meta’s delivery-status notifications, so there are no delivery or read receipts.
  • When Meta rejects a message, it goes back to the queue and is tried again — up to seven times, with growing pauses (3.4). The note names each attempt and Meta’s reason: Attempt 1 failed, retrying in 1 min: WhatsApp rejected the message: …. Common reasons: the template name or language does not match an approved template, the number is not on WhatsApp, the customer has blocked the business, a free-text message outside the 24-hour window, or the token has expired.
  • When Meta cannot be reached at all (time-out after 20 seconds, DNS), the reason starts with “WhatsApp: ” followed by WordPress’s reason.
  • Meta’s reason is written as Meta words it. For a malformed access token that text can contain the token itself — it then stands in the message note and in the activity log. Use a token exactly as Meta issued it, and keep the activity log private (chapter 14).
  • After the last try the message is Failed. Queue again under Reports → Message Log gives it one more try (see 5.4).
  • WhatsApp messages have no open or click tracking.
  • Filter for staging sites: return false on cartwin_send_whatsapp and no WhatsApp message goes out.

Opting out

  • WhatsApp has no automatic opt-out in CartWin. There is no “STOP” for WhatsApp here: CartWin does not receive WhatsApp replies, and when a customer blocks the business in their app, the store is not told.
  • Give customers a way out in the template itself, and honour it by hand: open the cart under Carts and click Unsubscribe. That cancels the messages queued for the cart, and new carts of the same customer are treated as unsubscribed.
  • An unsubscribe counts for every channel (see 4.14): a customer who replies STOP to an SMS, or clicks the link in an email, gets no WhatsApp messages either.

Where to find it. Settings → WhatsApp. Then Templates (channel WhatsApp).

What it does. The link in every follow-up brings the customer back with the cart put together again.

Why it matters. Fewer steps between the click and the payment means more finished orders.

Details

  • The link is {{cart.checkout_url}}. It adds the saved items to the customer’s cart, fills in the email address, name, phone and addresses, applies the cart’s coupon when it is still valid, and opens the checkout.
  • Products already in the current cart are not doubled: the quantity becomes the larger of the two.
  • An item that can no longer be bought — deleted, not purchasable or out of stock — is skipped. If nothing can be restored, the customer sees a notice saying so and simply goes to the checkout as usual.
  • The customer sees “Your saved cart has been restored.” on the checkout.
  • Using the link stops the remaining follow-ups for that cart.
  • Restore links sent by CartFlows “Cart Abandonment Recovery” keep working for carts that were imported, so emails already in customers’ inboxes do not break.

What it does. Adds a discount to the follow-up — a unique, time-limited coupon for each cart, or one fixed code.

Why it matters. A discount with an expiry date gives a hesitant shopper a reason to order now.

Details

  • Off by default. Choose under Settings → Coupons → Coupons in follow-ups: No coupons · A unique, time-limited coupon per cart · One fixed coupon code for everyone.
  • Unique coupons are created by CartWin as WooCommerce coupons when a message that mentions a coupon is prepared. One coupon per cart; it is reused for the cart’s later messages while it is still usable.
  • Settings for unique coupons: discount (percent of the cart, or a fixed amount off), validity (hours, days or weeks; 0 for no expiry), code prefix (cartwin- by default — the rest of the code is random), minimum and maximum cart value, usage limit (times in total, and at most once per customer), and the options cannot be combined with other coupons, also allows free shipping, not valid for sale items, only valid for the items that were in the abandoned cart.
  • Fixed code: create the coupon yourself under Marketing → Coupons, then type its code in the setting.
  • A template shows the code with {{cart.coupon_code}} and the expiry date with {{cart.coupon_expiry}}. A template that does not use them simply has no coupon.
  • Three levels of settings, the first one found wins: the template’s own coupon settings → a rule’s coupon → the store settings.
  • Delete expired coupons automatically (on by default) removes expired coupons CartWin created. Delete all of them under Tools removes every coupon CartWin created.
  • CartWin only ever deletes coupons it created itself.
  • Deleting a cart does not delete its coupon. The coupon stays usable until it expires, until Delete expired coupons automatically removes it, or until Delete all of them under Tools is used.

Where to find it. Settings → Coupons. Per template: Templates → Edit → Coupon. Per rule: Rules → action Send a coupon with these settings.

What it does. Rules decide what a cart receives: leave some carts alone, skip or keep only certain templates, or send a different coupon.

Why it matters. Every store has exceptions — products you cannot back-order, customers who should not get a discount, carts too small to be worth a coupon.

Details

  • 7 conditions: Cart contains product(s) · Cart does not contain any of the product(s) · Cart contains product(s) from category · Cart value · Number of items in the cart · Customer is (a guest / a registered customer) · Email address ends with.
  • Numeric conditions compare with: is more than · is at least · is exactly · is at most · is less than.
  • Product and category conditions can require all or any of the chosen items.
  • Conditions are combined with all conditions match or any condition matches. A rule without a usable condition never matches.
  • 4 actions: Send no follow-ups for this cart · Skip the selected templates · Send only the selected templates · Send a coupon with these settings.
  • Rules run from top to bottom; a rule with a lower Priority runs first (−999 to 999, 10 by default).
  • A “Send no follow-ups” rule ends the evaluation for that cart. Several “Send only” rules are combined: only templates chosen by all of them remain. A later coupon rule overrides an earlier one.
  • Rules are checked when a cart is planned and again right before each message is sent — so a rule you add today also protects the messages still queued.
  • Saving, toggling or deleting a rule re-plans the abandoned carts (without duplicating anything).

Where to find it. The Rules tab. Examples in chapter 9.

What it does. When an item in an abandoned cart can no longer be bought, CartWin sends a different email once — an update about the stock — instead of the reminder, and cancels the rest of the sequence.

Why it matters. Reminding someone about a product they cannot order is frustrating; a helpful stock note keeps the goodwill.

Details

  • Off by default: Settings → Emails → Out-of-stock notice.
  • Applies to email follow-ups. The notice replaces the reminder that was due; the other queued messages are cancelled with the note An item in the cart is out of stock.
  • The subject and the body are editable and accept merge tags. Default subject: An update on the items in your cart at {{site.title}}.

What it does. Shows what was abandoned, what was recovered, and how the follow-ups performed.

Why it matters. You can only improve what you can measure — and you want to see that the plugin pays for the ten minutes it took to set up.

Details

  • Dashboard: six figures for a period — Recovered revenue, Recovered carts (with the share of abandoned carts), Abandoned carts (with how many are lost), Follow-ups sent (split by channel), Open rate and Click rate. Below them a bar chart of abandoned and recovered carts for the last 14 days, the five Recent carts (the newest carts of any status, each with customer, contents, value, status and time; View all leads to the Carts list), and a Right now panel (waiting for follow-ups, still being filled in, recovered in total, lost in total, tracking on/off, sending on/paused, next engine run).
  • Carts: every cart with its status, value, contents and follow-ups. Search carts finds an email address, a first or last name, a phone number (or a fragment of one), or a cart number. The Value, Status and Captured columns can be sorted; the newest cart is on top. Filters for period and status behind a Filter button — the result gets its own address, so a filtered list can be bookmarked or shared.
  • Message Log: every message queued or sent, with its status and its open and click counts. The search covers the email address, the first and last name and the message title; filters for period, status and channel.
  • Insights: per template and channel — sent, opened, clicked, unsubscribed — each with its rate.
  • Product Reports: per product — abandoned, recovered, recovery rate, lost and recovered revenue. Search products by title.
  • Periods: Last 7 days, Last 30 days, Last 90 days, All time, or a custom range.
  • CSV export — Tools → Export, or Export to CSV for ticked rows in the Carts list:
File Columns
Carts ID, Captured, Abandoned, Status, Recovered, Email, Phone, First name, Last name, Value, Currency, Items, Recovered order, Recovered total, Unsubscribed
Message log ID, Cart, Customer, Channel, Message, Status, Sent / due, Coupon, Opens, Clicks, Unsubscribed, Note
Product report Product, Product ID, Abandoned, Recovered, Lost, Recovery rate, Recovered revenue
Insights Template, Channel, Sent, Opened, Open rate, Clicked, Click rate, Unsubscribed, Unsubscribe rate

The cart, message and product files hold at most 5,000 rows each. They contain customer contact details — keep them private (chapter 14).
– How the numbers are counted
– Abandoned: carts that became abandoned in the period (lost carts included).
– Recovered: carts the customer completed in the period after being reminded — a follow-up had been sent or the restore link had been used.
– Recovery rate: recovered ÷ abandoned.
– Open rate and click rate: emails opened ÷ emails sent, emails clicked ÷ emails sent. Counted per email, not per open.
– Open and click numbers are estimates: many mail clients block tracking images, so the real open rate is higher than shown.

What it does. Emails the store owner a summary of the last seven days.

Why it matters. A weekly look is often all a busy store owner can spare.

Details

  • Off by default: Settings → Weekly Summary.
  • Sent on the weekday you choose (Monday by default), at or after 9:00 in the site’s time zone, once a week.
  • Contents: abandoned carts, recovered carts, recovery rate, recovered revenue, emails sent, open rate, click rate, unsubscribes, and the five most recovered products.
  • Subject: Cart recovery this week: <n> carts recovered (<amount>).

What it does. Calls an external address the moment something happens in the store, so automations elsewhere can react.

Why it matters. Add the customer to a mailing list when a cart is abandoned, ping a chat channel when a cart is recovered, or keep a spreadsheet in sync — without touching code.

Details

The three events

Event Setting Fires when
abandoned Cart abandoned The engine marks a cart as abandoned — it has been quiet for Abandoned after minutes. Fires whether or not follow-up sending is switched on. Not fired for unsubscribed customers.
sent Message sent A follow-up has been handed over: email, SMS or WhatsApp, scheduled or sent with Send now. Not fired for the out-of-stock notice, for the weekly summary or for the “cart recovered” mail to the store.
recovered Cart recovered An order of the customer closes a cart that counts as recovered (see “How the numbers are counted” in 4.10). A cart closed by an order without a reminder before does not fire it.

Each event has its own URL under Settings → Webhooks. Leave one empty and that event is not sent.

How each request looks

  • POST to the URL, the body as JSON, header Content-Type: application/json.
  • Three more headers:
  • X-CartWin-Event — abandoned, sent or recovered.
  • X-CartWin-Delivery — a new unique id (UUID) for every request, to tell deliveries apart.
  • X-CartWin-Signature — sha256= followed by the HMAC-SHA256 of the request body, computed with the Signing secret from the settings. Leave the secret empty and CartWin uses a secret derived from the site instead. Enter a secret of your own so that you know it on the receiving side.
  • The body:

json
{
"event": "abandoned",
"time": "2026-11-27 14:03:00",
"site": "https://www.yoursite.com/",
"cart": {
"id": 1287,
"status": "abandoned",
"email": "[email protected]",
"phone": "+15550100222",
"first_name": "Anna",
"last_name": "Brown",
"user_id": 0,
"total": 84.5,
"currency": "USD",
"items": [
{ "product_id": 61, "variation_id": 0, "name": "Blue T-shirt", "quantity": 2 }
],
"captured_at": "2026-11-27 13:41:10",
"abandoned_at": "2026-11-27 13:56:10",
"recovered": false,
"recovered_order_id": 0,
"recovered_total": 0,
"checkout_url": "https://www.yoursite.com/?cartwin_restore=…"
},
"message": null
}

  • time, captured_at and abandoned_at are in UTC, not in the store’s time zone.
  • message is filled in for sent only: { "id": 4412, "channel": "email", "template_id": 3, "title": "Did you forget something?", "coupon_code": "CARTWIN-8F2K" }. channel is email, sms or whatsapp.
  • Items carry product_id, variation_id, name and quantity — no prices.
  • The secret cart token is not included, but checkout_url is the customer’s restore link: anyone who has it can put that cart back together. Enter webhook addresses of services you trust only.

Checking the signature on the receiving side

Compute the HMAC-SHA256 of the raw request body with the signing secret and compare it with the part after sha256= in the X-CartWin-Signature header. In PHP:

$given  = $_SERVER['HTTP_X_CARTWIN_SIGNATURE'] ?? '';
$expect = 'sha256=' . hash_hmac( 'sha256', file_get_contents( 'php://input' ), $secret );
if ( ! hash_equals( $expect, $given ) ) {
    http_response_code( 401 );
    exit;
}

What CartWin does with the answer

  • One attempt only. There is no retry and no queue: an automation misses the event when its address cannot be reached at that moment.
  • Time-out 8 seconds; redirects are not followed.
  • Only a failed connection counts as a failure — time-out, DNS error, connection refused, an unusable address. It is written to the activity log as “Webhook delivery failed: …”. The engine goes on regardless.
  • An error answer is not noticed. When the receiving server answers with HTTP 4xx or 5xx, CartWin still treats the delivery as done: nothing is logged, and the message or the cart is unaffected. When a webhook does not arrive, look in the history of the automation tool (Zapier, Make, n8n …) first.
  • Any http or https address is accepted, also one inside your own network. CartWin does not block private addresses.

Automation tools

  • Zapier, Make, n8n and OttoKit can all receive these requests: start the automation with a “Webhook” or “HTTP request” trigger (method POST). Then map the fields from the JSON body, for example cart.email, cart.phone, cart.total, cart.checkout_url, cart.items[0].name.
  • Typical uses: add the contact to a mailing list (abandoned), post to a chat channel (recovered), create a lead in a CRM (abandoned), write a row into a spreadsheet (recovered).

Where to find it. Settings → Webhooks. Details for developers: chapter 15.

What it does. Lets AI clients that speak the WordPress Abilities API (WordPress 6.9 and later) read the recovery numbers and change three settings — with the same rights as a store manager.

Why it matters. Ask your AI assistant “How many carts did we recover last week?” or “Which products are abandoned most?” and get the real numbers. “Pause the follow-ups” works too.

Details

Requirements

  • WordPress 6.9 or later. On an older WordPress nothing is registered and the plugin works as usual.
  • An AI client that supports the WordPress Abilities API. CartWin has no chat box of its own and talks to no AI service: the client calls the store, and the store answers with figures. No customer data leaves the store because of it.
  • A user who may manage WooCommerce (manage_woocommerce — an Administrator or a Shop Manager). Anonymous callers and Editors are refused. Each call is checked on its own.
  • On by default. There is no switch for it in the settings; a developer can switch it off (see below).

The four abilities

All four sit in the category cart-recovery (“CartWin”).

  1. cartwin/get-dashboard-stats — “Get cart recovery stats”
    – Input: { "days": 7 } — how many recent days, counting today. 1 to 366; 30 when left out.
    – Output:

    json
    {
    "days": 7,
    "abandoned": 42,
    "recovered": 11,
    "recovered_revenue": 1287.5,
    "recovery_rate": 26.2,
    "emails_sent": 38,
    "open_rate": 44.7,
    "click_rate": 18.4
    }

  • The figures are those of the Dashboard for the period. recovery_rate, open_rate and click_rate are numbers in percent — 44.7 means 44.7 %, not 0.447. emails_sent counts emails only; recovered_revenue is a plain number in the store’s currency.
    2. cartwin/get-product-stats — “Get abandoned cart stats per product”
  • Input: { "days": 30 }, as above.
  • Output: { "days": 30, "products": [ { "product_id": 61, "name": "Blue T-shirt", "abandoned": 14, "recovered": 5, "lost": 4, "revenue": 249.5 } ] }
  • At most 25 products, the most abandoned first.
    3. cartwin/get-settings — “Get cart recovery settings”
  • Input: none.
  • Output, eleven values:

    json
    {
    "cart_lost_minutes": 15,
    "cart_lost_days": 30,
    "emails_per_run": 20,
    "cron_minutes": 15,
    "enabled": true,
    "capture_enabled": true,
    "sending_enabled": true,
    "gdpr_enabled": true,
    "coupon_mode": "auto",
    "sms_enabled": false,
    "wa_enabled": false
    }

  • Secrets are never included: no keys, tokens or passwords, and no addresses.
    4. cartwin/update-settings — “Update cart recovery settings”

  • Input: any of cart_lost_minutes (1–1440), cart_lost_days (1–365) and sending_enabled (true or false). Only the fields that are given change.
  • Output: { "updated": [ "cart_lost_minutes", "sending_enabled" ] } — the names of the fields that were changed; an empty list when there was nothing to change.
  • { "sending_enabled": false } pauses the follow-ups; { "cart_lost_minutes": 30 } lets a cart count as abandoned after 30 quiet minutes.
  • A number outside its range is refused by WordPress before it reaches the plugin. Any other field in the input is ignored.

What the abilities cannot do

  • They cannot send, re-queue or delete messages, carts or templates. They cannot change texts, coupons, API keys or addresses. They cannot read a customer’s contact details — totals and figures only.
  • sending_enabled is the only switch that touches customers. Switching it on has the same effect as in the admin — every cart that is abandoned at that moment and not lost yet gets its follow-ups (3.6) — only that the engine runs at its next regular time, since no extra run is started from here. The change is written to the activity log.
  • Every change lands in the activity log as “Settings changed”, like a change made in the admin.

Switching the abilities off

On by default, with no switch in the settings. A developer switches them off with one line of code, run once — CartWin_Settings::update( array( 'abilities_enabled' => 0 ) ); — and on again with 1. See 15.7.

What it does. Gives shoppers control over their data, and gives the store the tools to respect it.

Why it matters. Recovery emails are only welcome as long as the customer can say stop — and the law expects you to prove consent and to erase data on request.

Details

  • Unsubscribe link: {{cart.unsubscribe}} opens a confirmation page (“You are unsubscribed”) and opts the cart out. The messages still queued are cancelled.
  • One-click unsubscribe: every email carries the List-Unsubscribe and List-Unsubscribe-Post headers, so Gmail, Apple Mail and others show their own unsubscribe button.
  • Opt-out is remembered: new carts of the same email address or phone number stay opted out.
  • One opt-out counts for every channel. A shopper who clicks the link in an email gets no more texts or WhatsApp messages; one who replies STOP to a text gets no more emails. There is one unsubscribe state per customer, not one per channel.
  • By hand: the Unsubscribe button on a cart’s row under Carts does the same without a message from the customer — for a request that came in by phone or through the chat.
  • SMS: replying STOP (or UNSUBSCRIBE, CANCEL, END, QUIT) unsubscribes the number (details in 4.4).
  • WhatsApp: there is no automatic opt-out. CartWin does not receive WhatsApp replies and is not told when a customer blocks the business — use Unsubscribe for a request that reaches you another way (details in 4.5).
  • Consent checkboxes: optionally ask guests for consent before recording their email address, and separately for their phone number. Each has its own text; the phone box is offered whatever the channels are. A “No, thanks” link stops tracking in that browser.
  • WordPress privacy tools: the exporter “CartWin carts” adds the shopper’s carts (contact details, items, value, status, addresses) to a privacy export; the eraser removes email, phone, name and address from the carts of that email address and from the activity log, while keeping what was bought and when for the reports.
  • Delete by hand: any cart can be deleted from the Carts list or its detail page.

What it does. Brings over what a previous cart-recovery plugin left on the site.

Why it matters. Switching plugins should not cost you your history.

Details

  • Supported: CartFlows “Cart Abandonment Recovery” and Abandoned Cart Lite / Pro (Tyche Softwares). Both at once when both left data.
  • Imports every cart, whatever its age — open, abandoned, lost and recovered ones — with its items, address and sent-email history. Recovered carts are linked to their orders.
  • Open and abandoned carts join the follow-up sequence once sending is on. Carts abandoned longer ago than “Lost after” arrive as lost and are never emailed.
  • Templates are not imported: the store keeps the templates it has. (The Tools page shows how many templates the old plugin had, for information.)
  • Safe to run more than once: what is already here is left alone.
  • Old restore links from CartFlows keep working.
  • Deactivate the old plugin before switching sending on, or customers receive both plugins’ emails.

Where to find it. Tools → Import → Import now.

What it does. Records every step of the flow in a daily log file.

Why it matters. When a customer says “I never got an email”, the log tells you exactly what happened — and it is the first thing to attach when reporting a problem.

Details

  • On by default (Settings → General → Activity log). Choose the detail level — Everything, including tracking events or Key events only — and how long files are kept (1–365 days; 14 by default). Older files are deleted automatically.
  • One file per day, cartwin-YYYY-MM-DD.php, in wp-content/uploads/cartwin-logs/. Each entry is one line with a time, a level, a source, a message and the details.
  • The folder is protected against direct web access.
  • Sources follow the flow: Capture, Engine, Sending, Email, SMS, WhatsApp, Links and tracking, Orders, Coupons, Webhooks, Import, Store owner, System, Log.
  • The viewer under Tools filters by day, level and source, and searches (email address, cart number, message…). It shows the newest 300 entries of the day. Download this day saves the day as a text file; Delete all log files removes them all.
  • Every action by the store owner is on record too, with who did it and when. Secrets are never written out: a changed token or password is noted as changed, not shown.
  • The files contain customer email addresses. Keep them private, and do not put them in a public place.

See how it works, then start recovering carts.

Every feature is free. There is no paid version and nothing is locked.

Download — it’s free