| 开发者 | rishadbitcode |
|---|---|
| 更新时间 | 2026年11月2日 22:53 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
{products_table} with configurable columns, product thumbnails, variations, and tax-inclusive pricing.wp_mail(), Cart Rebound uses that existing delivery configuration. Email deliverability remains dependent on the site's hosting, DNS, mail provider, and SMTP configuration.
Custom recovery email template builder
Create multiple reusable templates for different products, seasons, store voices, or manual follow-up situations. Select one template as the default for automatic cart recovery emails and choose any available template for a manual send.
The built-in editor includes:
{first_name}, {last_name}, {full_name}, {email} — who the shopper is;{products}, {products_table}, {product_names}, {items_count}, {cart_total} — what they left behind;{abandoned_on} — the date the cart was left;{recovery_url}, {checkout_url}, {unsubscribe_url} — where the message can send them;{coupon_code} — the selected WooCommerce coupon code; and{store_name}, {store_url}, {store_email}, {manager_name}, {current_year} — details about your store.{coupon_code}.cart_rebound_ref cookie associates a browser with its cart. It contains a random plugin-specific identifier, is HTTP-only, uses SameSite=Lax, uses the Secure attribute on HTTPS, and expires after approximately 30 days.
Guest tracking is disabled by default. Logged-in cart tracking operates while the plugin is active. Store owners should evaluate their legal basis and consent requirements before enabling and using tracking or recovery email features.
Automatic recovery emails are disabled by default. When enabled, messages use the site's WordPress mail system. Cart Rebound does not transmit tracked-cart data, telemetry, or usage information to the plugin author or a Cart Rebound service. A site's hosting, SMTP, mail, security, backup, or integration providers may process data according to that site's configuration.
By default, stale active and unrecovered carts are removed after 30 days, while recovered and completed carts are removed after 365 days. Both periods are configurable. Associated activity logs are deleted with each removed cart.
Cart Rebound registers exporters and erasers with the WordPress personal-data tools. Requests are matched by email and, for registered shoppers, WordPress user ID. Security-sensitive recovery tokens and checkout URLs are excluded from personal-data exports.
Suggested disclosure text is added to the WordPress privacy-policy guide. Site owners remain responsible for consent, lawful processing, email-marketing rules, retention settings, responding to privacy requests, securing stored information, and publishing an accurate privacy notice.
Development
Human-readable PHP, TypeScript, React, and CSS source, tests, build configuration, and documentation are available at github.com/RishadAlam/cart-rebound.
The plugin exposes lifecycle actions for custom integrations, including cart_rebound_abandoned, cart_rebound_recovered and cart_rebound_cart_status_changed. Administrative REST routes use the cart-rebound/v1 namespace and require the appropriate permission.
Production packages can be created with pnpm production-zip. See the repository documentation for Composer, Node.js, pnpm, testing, translation, and local-development instructions.
Bundled third-party JavaScript libraries are GPL-compatible and distributed under the MIT License. Copyright and license notices are included in THIRD-PARTY-LICENSES.txt.
Cart abandonment occurs when a shopper adds products to a WooCommerce cart but leaves before completing payment. An abandoned checkout may still contain useful cart, customer, and product information that can support a timely follow-up.
An abandoned cart plugin records eligible shopping carts, identifies when a checkout has been left incomplete, and provides a way to re-engage the shopper. Cart Rebound can send a reminder email with a secure link that restores the saved cart and returns the customer to checkout.
Yes. Cart Rebound is free, open-source software licensed under GPLv2 or later. The plugin does not require a paid Cart Rebound account, subscription, or license key.
You choose the idle-time threshold in minutes. A cart must have items and a captured, valid email address. After it remains inactive beyond the threshold, the next scheduled scan marks it abandoned.
No. Cart Rebound requires a captured email before a cart becomes eligible for abandonment recovery. Stale active carts without an email can later be removed according to the configured retention period.
Yes. Logged-in carts are tracked while Cart Rebound and WooCommerce are active. Available account details can be associated with the cart to support reporting and recovery.
Yes. Enable Track guest carts to record carts for logged-out customers and capture the email address they provide during checkout. Guest tracking is disabled by default.
Yes. Guest information capture and order linking support both classic checkout and block-based checkout through the WooCommerce Store API.
Yes. Enable recovery email, choose the delay, and select a default template. Cart Rebound schedules one automatic message for each eligible abandoned cart.
No, provided the order is linked and the cart is no longer abandoned before the scheduled send runs. The mailer checks the cart again immediately before sending and skips carts that have converted or are otherwise ineligible.
Not in the current version. Cart Rebound schedules one automatic recovery email per eligible cart. You can create multiple templates and manually send another selected template when appropriate.
Yes. Open the cart management screen, choose an eligible cart with a valid email and items, and select the template to send.
Yes. Customize the subject, rich-text body, sender name, sender email, images, links, formatting, merge tags, and optional coupon. Templates can be previewed with sample data and sent as test messages.
Shopper tags ({first_name}, {last_name}, {full_name}, {email}), cart tags ({products}, {products_table}, {product_names}, {items_count}, {cart_total}, {abandoned_on}), link tags ({recovery_url}, {checkout_url}, {unsubscribe_url}), the {coupon_code} tag, and store tags ({store_name}, {store_url}, {store_email}, {manager_name}, {current_year}). The full list, with a description of each, sits under the body editor in the template screen.
Yes. Select an existing WooCommerce coupon in the template and place {coupon_code} in the message. Cart Rebound does not generate new, unique, or time-limited coupons.
Yes. Coupon codes stored with the cart are reapplied during restoration, subject to current WooCommerce coupon validity and restrictions.
Yes. The saved variation ID and variation attributes are used when rebuilding the cart. WooCommerce still performs its standard stock and purchasability checks.
WooCommerce controls whether each product or variation can be added. Unavailable or invalid items may not be restored, while eligible items can still be added to the cart.
The URL uses a random recovery token and does not expose the raw session key. Only an active or abandoned cart with a matching token can be restored. As with any customer-specific login or recovery link, recipients should not share it publicly.
After the saved items and coupons are restored, Cart Rebound redirects the shopper to the WooCommerce checkout page.
It stamps the WooCommerce order with an explicit reference to the originating tracked cart. When the order reaches a configured paid status, the plugin marks a previously abandoned cart as recovered.
Recovered revenue is the WooCommerce order total for paid orders explicitly attributed to recovered carts. Normal purchases completed before abandonment are recorded separately and do not increase recovered revenue.
Yes. Select the WooCommerce statuses that should complete attribution. Processing and Completed are selected by default.
Yes. Authorized managers can use the cart screen to link a cart to a recent WooCommerce order and record the recovery.
The dashboard includes recoverable, recovered, and lost order counts; recoverable and recovered revenue; lifetime recovery rate; revenue trends; recent activity; and a product abandonment/recovery report.
Yes. Enable admin recovery notification and choose an email address, or use the site's administrator address.
No. The current version records recovery email send activity but does not include open-rate or click-rate tracking.
No. The plugin does not require an external cart recovery platform or Cart Rebound account. Data is stored in the WordPress database and email is sent through the site's configured WordPress mail system.
Cart Rebound sends through wp_mail(). SMTP and transactional email plugins that correctly integrate with the WordPress mail system should handle those messages. Always send a test message because delivery depends on the site's complete mail configuration.
Yes. Cart Rebound declares compatibility with High-Performance Order Storage and uses WooCommerce order APIs rather than directly relying on legacy post storage.
The plugin provides privacy-focused controls, but it does not claim to guarantee legal compliance. Guest tracking and automatic email default to off, retention is configurable, unsubscribe links are included, data stays local, and WordPress export and erasure tools are supported. Each store must configure and operate these features under the laws that apply to it.
Yes. Recovery messages include an unsubscribe link. An unsubscribed address is checked before future recovery messages are sent.
The daily cleanup process removes stale records according to the configured retention periods. Defaults are 30 days for stale active and unrecovered carts and 365 days for recovered and completed carts.
A normal WordPress uninstall removes the plugin's tables, settings, templates, counters, and scheduled actions. Deactivation alone preserves data so the plugin can be reactivated.
Cart Rebound focuses on recovering eligible carts after shoppers leave. Its product and revenue reports may help a store investigate patterns, but the plugin does not promise to eliminate the underlying causes of checkout abandonment.
Yes. Cart Rebound fires a WordPress action at every step of the cart lifecycle, passing a flat payload array designed for custom code, webhooks, and automation plugins:
cart_rebound_cart_created — when a new tracked cart record is created.cart_rebound_cart_captured — when a shopper's cart contents or checkout contact details are saved.cart_rebound_abandoned — when an eligible cart crosses the inactivity threshold and is marked abandoned.cart_rebound_recovery_email_sent — when an automatic or manual recovery email is sent.cart_rebound_recovery_coupon_sent — when a recovery email containing a coupon code is sent.cart_rebound_recovery_email_failed — when a recovery email fails to send.cart_rebound_recovery_link_clicked — when a shopper follows a tokenized cart recovery link.cart_rebound_order_linked — when a WooCommerce order is associated with a tracked cart.cart_rebound_recovered — when a previously abandoned cart reaches a configured paid order status.cart_rebound_unsubscribed — when a recipient opts out via the recovery email unsubscribe link.cart_rebound_cart_status_changed — whenever a cart moves between statuses.cart_rebound_cart_status_{status} — dynamic action fired for the specific new status (for example, active, abandoned, recovered, completed, or lost).cart-rebound/v1 namespace.
{recovery_button} tag to place the button anywhere in your message, or switch the button off.{manager_name} tag says "our team" when no name is set.{first_name}), and you can search for a tag by typing its code.{products_table} merge tag that renders the abandoned items as a table.