
Modern CartFlush settings page under WooCommerce
CartFlush helps you automatically clear inactive WooCommerce carts, keeping your store clean, fast, and optimized.
Instead of relying on a single timeout, CartFlush gives you full control over cart expiration from one settings screen under WooCommerce. You can define different timeout rules based on customer type, user roles, products, categories, and tags, then add exclusions for carts that should never be cleared automatically.
Whether you want faster cart turnover, better session management, or cleaner abandoned cart handling, CartFlush gives you the tools to do it properly.
Try Live Demo (No Setup Required)
Set a global inactivity timeout in minutes. If no other rules apply, this value determines when a cart is cleared.
Create and edit cart timeout rules directly from the CartFlush settings page under WooCommerce. No CSV import is required for day-to-day management.
Define separate timeouts for:
Define custom cart expiration times for specific user roles.
Examples:
Apply specific timeout values based on:
This makes it easy to create shorter or longer expiration windows for special items, campaigns, or collections.
When multiple timeout rules apply, CartFlush automatically uses the shortest valid timeout.
Prevent cart clearing entirely for matching carts using:
Bulk import rule data with CSV when that is faster than manual entry.
Supported CSV types:
CartFlush also includes a downloadable sample CSV from the settings page to help merchants get started faster.
Export the full CartFlush configuration as JSON for backup or migration, then import it on another store when needed.
The CartFlush settings page is available directly under the WooCommerce admin menu for quicker access.
CartFlush warns admins when duplicate rules are saved so they can clean up overlapping entries more easily.
CartFlush focuses only on inactivity tracking, rule evaluation, and cart clearing without adding unnecessary overhead.
Includes the cartflush text domain for localization.
When the plugin is deleted, CartFlush removes its stored settings automatically.
CSV headers:
type,key,timeout_minutes
Supported types:
Example rows:
customer_type,guest,20
role,customer,30
product_rule,321,10
category,flash-sale,15
tag,seasonal,25
excluded_role,wholesale_customer,
excluded_product,123,
excluded_category,high-ticket,
excluded_tag,fragile,<h3>Does this work for guest users and logged-in users?</h3>
Yes. CartFlush uses WooCommerce sessions, so both are supported.
The plugin starts with the default timeout, then checks matching customer type, role, product, category, and tag rules. The shortest valid timeout is applied.
CartFlush skips clearing the cart entirely.
Yes. Rules can be added and edited directly from the CartFlush settings page.
Yes. Export settings as JSON and import them on another site.
Yes. All plugin options are deleted during uninstall.