
Seamless Empty Cart Redirection
Redirects visitors from an empty WooCommerce cart to your shop with a friendly notice. Seamless 302 redirect, matches your site’s style, and keeps customers browsing without confusion or frustration.
Stop customers from hitting a dead end when their WooCommerce cart is empty. This plugin automatically redirects them to your shop (or homepage), displaying a clear notice to keep them browsing and buying.
$7
SKU: PLG-14
Category: Snippets as Plugins
Plugin Overview
Empty Cart Redirect for WooCommerce prevents visitors from landing on a blank cart page. Instead, it seamlessly redirects them to your shop with a customizable notice, ensuring a smoother shopping flow and better customer experience.
Key Features
- Smart Redirect: Detects empty carts and sends users to the shop page.
- Custom Notice: Displays a friendly WooCommerce notice on redirect.
- Fallback Safe: Redirects to homepage if no shop page is set.
- Lightweight: Just a few lines of code, no bloat or settings pages.
- Seamless UX: Keeps customers shopping instead of bouncing away.
How it Works and What to Expect
- User visits Cart page with nothing in it.
- They’re instantly redirected to the Shop page (or homepage).
- A WooCommerce notice appears: “Your cart is empty! Browse our products to add items.”
- Customers stay engaged instead of abandoning.
Performance Overview
- Minimal footprint: one template_redirect hook + one notice hook.
- No extra queries, scripts, or admin overhead.
- Runs only when WooCommerce cart is empty.
Requirements & Compatibility
- WordPress: 6.0 or higher
- WooCommerce: 9.0 or higher
- PHP: 8.0 or higher
Language Support
- Default: English
- Customizable notice via translation tools (Loco Translate, WPML, etc.).
License
Licensed under the Single Domain Licence:
- 1 license per domain.
- For more details, visit: LitePlugin License

