CatCode Abandoned Cart Recovery – Cart Reminder Emails & One-Click Restore for WooCommerce

By CatCode

0+ active installationsVersion 1.0.0

Recover abandoned WooCommerce carts: guest and customer cart capture, a reminder email with a one-click restore link, recovered revenue stats.

Description

Most shoppers who fill a cart never reach the “thank you” page. This plugin records those abandoned carts, waits a configurable amount of time, and then sends the shopper a reminder email with a single link that puts every product straight back into the cart.

How abandoned cart recovery works

  1. A shopper adds products to the cart. Logged-in customers are recorded immediately; guests are recorded as soon as they type an email address at checkout (classic checkout and the block checkout are both supported).
  2. After the configured period of inactivity (60 minutes by default) a background scan marks the cart as abandoned.
  3. A cart reminder email goes out after the delay you choose, carrying a personal recovery link.
  4. Clicking the link restores the cart and pre-fills the checkout with the address already known. The cart becomes recovered automatically once that customer places an order.

Features

  • Abandoned cart capture for logged-in customers and for guests who entered an email at checkout
  • Configurable inactivity window before a cart counts as abandoned
  • A reminder email with a fully editable subject and body
  • Placeholders: {customer_name}, {cart_items}, {recovery_link}, {store_name}
  • One-time recovery links with a configurable lifetime (7 days by default); only a SHA-256 hash of the token is stored
  • Cart statuses: active → abandoned → recovered / lost, with automatic recovery detection when an order arrives
  • Abandoned cart list in the admin area with a status filter, email search and four statistic tiles: carts abandoned, carts recovered, revenue recovered and recovery rate
  • Anti-spam guard: the same address is not emailed more often than once every N days
  • Automatic data retention cleanup and the WordPress personal data exporter and eraser
  • HPOS (custom order tables) compatible, works with the block checkout

Everything runs on your own server. Reminders are sent through your site’s own wp_mail(), and the captured carts are stored in your own database.

Pro version

The Pro version on catcode.com.ua adds a chain of up to 3 reminder emails, personal one-time WooCommerce coupons, Viber or SMS reminders through TurboSMS for shoppers who left only a phone number, a Telegram alert to the store owner when a cart is abandoned, CSV export and a checkout errors report. This free plugin works on its own and has no time limit.

Кинуті кошики для WooCommerce — опис українською

Плагін повертає покупців, які поклали товари в кошик, але не оформили замовлення. Кинутий кошик записується, а через заданий час покупцеві йде лист-нагадування з посиланням, яке в один клік відновлює кошик.

  • Покинуті кошики залогінених клієнтів і гостей, які ввели e-mail на оформленні замовлення (класичний і блоковий чекаут).
  • Час неактивності, після якого кошик вважається кинутим, налаштовується.
  • Лист-нагадування з редагованою темою і текстом, плейсхолдери: ім’я покупця, склад кошика, посилання, назва магазину.
  • Одноразове посилання для відновлення кошика з обмеженим терміном дії.
  • Статуси кошиків (активний, кинутий, відновлений, втрачений) і статистика: скільки кошиків кинуто, скільки відновлено, повернутий дохід і відсоток відновлення.
  • Одна адреса отримує лист не частіше ніж раз на N днів.
  • Дані зберігаються лише у вашій базі, лист іде через пошту вашого сайту.

Ланцюжок до 3 листів, персональні купони, нагадування у Viber або SMS, сповіщення в Telegram і експорт CSV є в Pro-версії на catcode.com.ua.

External services

This plugin does not connect to any external service. It makes no outbound HTTP requests of any kind: cart capture, the abandonment scan, the reminder email (sent through your site’s own wp_mail()) and the recovery link all run entirely on your own server, and no data ever leaves your site.

Privacy

The plugin stores personal data of shoppers who did not complete an order, because a reminder cannot be sent without it: the email address, the customer name (when known), the WordPress user id of logged-in customers, a snapshot of the cart contents (product name, quantity, price), the cart total and currency, the cart status, and how many reminders were sent and when. Recovery tokens are stored only as a SHA-256 hash.

Logged-in customers are recorded as soon as they have items in the cart; guests only once they have typed an email address at checkout. The data stays in the {prefix}catcode_abandoned_carts table of your own database and is not sent to CatCode or any third party.

Rows are deleted by a daily job once they are older than the retention period on the settings page (90 days by default; 0 keeps the data indefinitely, which is not recommended). The plugin registers a WordPress personal data exporter and eraser keyed by email address and adds suggested text to the privacy policy guide (Settings → Privacy).

Installation

  1. Install and activate the plugin.
  2. Go to WooCommerce → Abandoned Cart Settings and set the timings and the email text.
  3. Watch the results under WooCommerce → Abandoned Carts.
  4. Make sure WP-Cron works (or a real system cron calls wp-cron.php).

Requirements: WooCommerce 6.0 or newer, PHP 7.4+.

FAQ

When exactly is a guest cart captured?

Only after the shopper has entered an email address at checkout. Before that there is nothing to send a reminder to, so nothing is stored and anonymous browsing is not recorded.

Does it work with the block checkout?

Yes. The classic checkout is captured through the update_order_review AJAX call; the block checkout posts the email to the plugin’s own REST route as soon as the field is filled in. Both end in the same table.

Can I change the reminder email text?

Yes. The subject and body are edited on the settings page; {customer_name}, {cart_items}, {recovery_link} and {store_name} are replaced in every email. The email is sent as HTML through wp_mail(), so an SMTP plugin you already use applies to it too.

How often does the scan run?

Every 15 minutes, through WP-Cron (catcode_abandoned_cart_scan). A daily event (catcode_abandoned_cart_cleanup) closes expired carts and enforces the retention period.

Is the recovery link safe to email?

The link carries a 32-character random token. Only its SHA-256 hash is stored, the comparison uses hash_equals(), the token is single-use, and it is removed from the address bar right after the cart is restored.

Will a customer receive several reminders for several carts?

No. The “do not email the same address more often than once every N days” setting throttles reminders per address across all carts.

Can it send several emails, a coupon or an SMS?

Not in this free plugin: it sends one reminder email per cart. A chain of up to 3 emails, personal coupons and Viber or SMS reminders are part of the Pro version on catcode.com.ua.

What happens to the stored data when I uninstall?

Uninstalling drops the plugin’s database table and deletes its options, so no captured cart data is left behind.

Changelog

1.0.0

  • First release: cart capture for customers and guests, abandonment scan, reminder email with a one-time recovery link, cart list with statistics, retention cleanup and privacy tools.