설명
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.
설치
- 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.
FAQ
-
Does this affect guest users?
-
No, the plugin only applies to logged-in users.
-
Will this delete orders or products?
-
No, it only clears the shopping cart items. Orders and products remain unaffected.
-
Does it work for all user roles?
-
Yes, by default it works for all logged-in users.
후기
이 플러그인에 대한 평가가 없습니다.
기여자 & 개발자
자국어로 “Clear Cart on Logout for WooCommerce”(을)를 번역하세요.
개발에 관심이 있으십니까?
변경이력
1.0
- Initial release.