Changeset 3486192
- Timestamp:
- 03/19/2026 07:38:16 AM (9 days ago)
- Location:
- cartflush-autoclear-cart-for-inactive-users/tags/2.0.0
- Files:
-
- 1 added
- 1 edited
-
blueprint.json (added)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cartflush-autoclear-cart-for-inactive-users/tags/2.0.0/readme.txt
r3484352 r3486192 1 === CartFlush AutoClear Cart for Inactive Users === 1 ## === CartFlush – Auto Clear WooCommerce Cart for Inactive Users === 2 2 3 Contributors: wprashed 3 Tags: woocommerce , cart, abandoned cart, cart timeout, cart cleanup4 Tags: woocommerce cart cleanup, abandoned cart, cart timeout, woocommerce optimization, cart management 4 5 Requires at least: 5.8 5 6 Tested up to: 6.8 … … 7 8 Stable tag: 2.0.0 8 9 License: GPLv2 or later 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html 10 11 Automatically clear inactive WooCommerce carts with flexible timeout rules, exclusions, and import/export tools. 12 13 == Description == 14 15 CartFlush helps store owners keep carts fresh by automatically clearing inactive WooCommerce carts after a configurable delay. Beyond a simple global timeout, the plugin also supports imported role-based rules, category-based rules, product exclusions, and settings migration between stores. 16 17 = Key Features = 18 19 * Set a default inactivity timeout in minutes 20 * Import role-based timeout rules from CSV 21 * Import category-based timeout rules from CSV 22 * Exclude specific product IDs or category slugs from auto-clear 23 * Export the full plugin configuration as JSON 24 * Import JSON settings on another site 25 * Clean uninstall that removes stored plugin options 26 * Translation-ready text domain and POT template 27 * Clean, modern WordPress admin screen 28 29 = Supported Import Formats = 10 License URI: [https://www.gnu.org/licenses/gpl-2.0.html](https://www.gnu.org/licenses/gpl-2.0.html) 11 12 Automatically clear inactive WooCommerce carts with advanced timeout rules, exclusions, and import/export tools. 13 14 --- 15 16 ## == Description == 17 18 CartFlush helps you automatically clear inactive WooCommerce carts, keeping your store clean, fast, and optimized. 19 20 Instead of relying on a basic timeout, CartFlush gives you full control over how cart expiration works. You can define different timeout rules based on user roles, product categories, and exclusions—making it flexible enough for real-world eCommerce scenarios. 21 22 Whether you want faster cart turnover, better session management, or cleaner abandoned cart handling, CartFlush gives you the tools to do it properly. 23 24 --- 25 26 ## 🚀 Why Use CartFlush? 27 28 * Prevent stale and abandoned carts from piling up 29 * Improve WooCommerce session performance 30 * Apply smarter rules based on users and products 31 * Save time with import/export configuration tools 32 * Maintain clean and optimized cart behavior 33 34 --- 35 36 ## == Key Features == 37 38 ### ⏱ Default Cart Timeout 39 40 Set a global inactivity timeout (in minutes). If no other rules apply, this value determines when a cart is cleared. 41 42 --- 43 44 ### 👤 Role-Based Timeout Rules 45 46 Define custom cart expiration times based on user roles. 47 48 Examples: 49 50 * Customers → 30 minutes 51 * Subscribers → 60 minutes 52 * Wholesale users → 120 minutes 53 54 Perfect for stores with different user types and behaviors. 55 56 --- 57 58 ### 🛍 Category-Based Timeout Rules 59 60 Set cart timeout rules based on product categories. 61 62 Use cases: 63 64 * Flash sale items → shorter timeout 65 * Subscription products → shorter timeout 66 * High-value products → longer timeout 67 68 CartFlush checks all items in the cart and applies the most relevant rule. 69 70 --- 71 72 ### ⚡ Smart Timeout Logic 73 74 When multiple rules apply, CartFlush automatically selects the **shortest timeout**. 75 76 This ensures: 77 78 * Predictable behavior 79 * Better control over urgency 80 * No rule conflicts 81 82 --- 83 84 ### 🚫 Product Exclusions 85 86 Exclude specific products from cart clearing. 87 88 If a cart contains an excluded product: 89 → The cart will NOT be cleared. 90 91 --- 92 93 ### 📂 Category Exclusions 94 95 Exclude entire categories from auto-clear. 96 97 If any product in the cart belongs to an excluded category: 98 → Cart clearing is skipped. 99 100 --- 101 102 ### 📥 CSV Import for Rules 103 104 Bulk import rules using CSV. 105 106 Supported types: 107 108 * role 109 * category 110 * excluded_product 111 * excluded_category 112 113 Quickly configure large stores without manual setup. 114 115 --- 116 117 ### 📤 JSON Export (Full Backup) 118 119 Export all settings into a JSON file. 120 121 Includes: 122 123 * Default timeout 124 * Role rules 125 * Category rules 126 * Exclusions 127 128 Perfect for backups and migrations. 129 130 --- 131 132 ### 🔁 JSON Import (Quick Setup) 133 134 Import settings instantly on another site. 135 136 Ideal for: 137 138 * Agencies 139 * Multi-store setups 140 * Staging → production deployment 141 142 --- 143 144 ### 👥 Works for Guests & Logged-in Users 145 146 CartFlush uses WooCommerce sessions, so it works for: 147 148 * Guest users 149 * Logged-in customers 150 151 No additional configuration required. 152 153 --- 154 155 ### 🎯 Lightweight & Efficient 156 157 No unnecessary overhead. The plugin focuses only on: 158 159 * Tracking inactivity 160 * Applying rules 161 * Clearing carts 162 163 --- 164 165 ### 🌍 Translation Ready 166 167 Includes text domain and POT file for easy localization. 168 169 --- 170 171 ### 🧹 Clean Uninstall 172 173 When the plugin is deleted: 174 175 * All data and settings are removed automatically 176 177 --- 178 179 ## == How It Works == 180 181 1. Customer adds items to cart 182 2. Inactivity timer starts 183 3. Plugin checks: 184 185 * Default timeout 186 * User role rules 187 * Product category rules 188 4. Shortest valid timeout is applied 189 5. If excluded items exist → skip clearing 190 6. Cart is cleared after timeout 191 192 --- 193 194 ## == Supported Import Formats == 30 195 31 196 CSV headers: … … 33 198 `type,key,timeout_minutes` 34 199 35 Supported CSVtypes:36 37 * `role`38 * `category`39 * `excluded_product`40 * `excluded_category`41 42 Example CSV rows:200 ### Supported types: 201 202 * role 203 * category 204 * excluded_product 205 * excluded_category 206 207 ### Example: 43 208 44 209 `role,customer,30` … … 47 212 `excluded_category,high-ticket,` 48 213 49 JSON exports include: 50 51 * Default timeout 52 * Imported role rules 53 * Imported category rules 54 * Excluded products 55 * Excluded categories 56 57 == Installation == 58 59 1. Upload the plugin folder to `/wp-content/plugins/cartflush-autoclear-cart-for-inactive-users/`. 60 2. Activate the plugin through the WordPress Plugins screen. 61 3. Make sure WooCommerce is active. 62 4. Go to `Settings > CartFlush`. 63 5. Save your default timeout or import rule files as needed. 64 65 == Frequently Asked Questions == 66 67 = Does this work for guest users and logged-in users? = 68 69 Yes. CartFlush uses the WooCommerce session, so it can track inactivity for both guest and logged-in shoppers. 70 71 = How is the final timeout chosen? = 72 73 The plugin starts with the default timeout, then checks imported role rules and product category rules in the current cart. If more than one applies, the shortest valid timeout is used. 74 75 = What happens when a cart contains an excluded product or category? = 76 77 CartFlush skips auto-clearing for that cart. 78 79 = Can I move my settings between sites? = 80 81 Yes. Export the current configuration as JSON and import it on another site running CartFlush. 82 83 = Does uninstall remove plugin data? = 84 85 Yes. When the plugin is uninstalled from WordPress, CartFlush removes its saved timeout and imported rule options. 86 87 == Screenshots == 88 89 1. Modern CartFlush settings screen with timeout controls and import/export actions 90 2. CSV and JSON import tools for moving rules between stores 91 3. Imported configuration summary showing active rules and exclusions 92 93 == Changelog == 94 95 = 1.2.1 = 96 97 * Added uninstall cleanup for plugin options. 98 * Added localization scaffolding and a starter POT file. 99 * Added WordPress.org asset and screenshot planning documentation. 100 101 = 1.2.0 = 102 103 * Refactored the plugin into a multi-file WordPress-friendly structure. 104 * Added a polished admin interface with card-based layout and custom styling. 105 * Refreshed plugin metadata and documentation for WordPress.org distribution. 106 * Added README.md for repository hosting and project overview. 107 108 = 1.1.0 = 109 110 * Added JSON import/export for CartFlush settings. 111 * Added CSV import for role rules, category rules, and exclusion lists. 112 * Added support for excluded products and excluded categories. 113 * Added dynamic timeout matching based on user roles and cart categories. 214 --- 215 216 ## == Frequently Asked Questions == 217 218 ### Does this work for guest users and logged-in users? 219 220 Yes. CartFlush uses WooCommerce sessions, so both are supported. 221 222 --- 223 224 ### How is the timeout calculated? 225 226 The plugin starts with the default timeout, then checks role and category rules. The shortest valid timeout is applied. 227 228 --- 229 230 ### What if a cart contains excluded items? 231 232 CartFlush will skip clearing the cart entirely. 233 234 --- 235 236 ### Can I migrate settings between sites? 237 238 Yes. Export settings as JSON and import them on another site. 239 240 --- 241 242 ### Does uninstall remove all data? 243 244 Yes. All plugin options are deleted during uninstall. 245 246 --- 247 248 ## == Screenshots == 249 250 1. Clean and modern CartFlush settings panel 251 2. CSV import interface for rules 252 3. JSON export/import tools 253 4. Active rules and exclusions overview 254 255 --- 256 257 ## == Changelog == 258 259 = 2.0.0 = 260 261 * Added JSON import/export system 262 * Added CSV rule import support 263 * Added role-based timeout rules 264 * Added category-based timeout rules 265 * Added product and category exclusions 266 * Improved admin UI with modern layout 267 * Added uninstall cleanup 268 * Added localization support 269 * Refactored plugin structure 114 270 115 271 = 1.0.0 = 116 272 117 * Initial release. 118 119 == Upgrade Notice == 120 121 = 1.2.1 = 122 123 This update adds uninstall cleanup and translation scaffolding to make packaging and distribution more WordPress.org friendly. 124 125 = 1.2.0 = 126 127 This release reorganizes the plugin into a more maintainable multi-file structure and introduces a redesigned admin experience. 273 * Initial release
Note: See TracChangeset
for help on using the changeset viewer.