Automatically clears the WooCommerce cart when a user logs out of WordPress.
| Author: | samiur6688 (profile at wordpress.org) |
| WordPress version required: | 5.6 |
| WordPress version tested: | 7.0 |
| Plugin version: | 1.0.1 |
| Added to WordPress repository: | 04-09-2025 |
| Last updated: | 25-05-2026 |
| Rating, %: | 0 |
| Rated by: | 0 |
| Plugin URI: | |
| Total downloads: | 565 |
| Active installs: | 10+ |
![]() Click to start download |
|
Clear Cart on Logout for WooCommerce ensures that the shopping cart is emptied whenever a logged-in user logs out of WordPress.
This helps prevent old items from remaining in the cart when the same user logs in again later, avoiding confusion and ensuring a clean shopping experience.
Features:
– Clears WooCommerce cart on user logout.
– Works for all logged-in users (customers, admins, shop managers, etc.).
– Removes both session cart and persistent cart saved in user meta.
– Lightweight and easy to use — no settings required.
FAQ
ChangeLog
