Clear Cart on Logout for WooCommerce
Automatically clears the WooCommerce cart when a user logs out of WordPress.
Plugin info
Maintenance & Compatibility
Maintenance score
Maintained • Last updated 119 days ago
Is Clear Cart on Logout for WooCommerce abandoned?
Likely maintained (last update 119 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
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.
Installation
- Upload the plugin files to the
/wp-content/plugins/clear-cart-on-logout-for-woocommercedirectory, or install the plugin through the WordPress Plugins screen. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- That’s it! The WooCommerce cart will now be cleared whenever a logged-in user logs out.
Frequently Asked Questions
No, the plugin only applies to logged-in users.
No, it only clears the shopping cart items. Orders and products remain unaffected.
Yes, by default it works for all logged-in users.
Review feed
Screenshots
Changelog
1.0
- Initial release.