Overview
Turn the empty cart page into a second chance: a friendly message, a button back to the shop, best sellers and an optional welcome coupon.
- Friendly empty cart
- Best sellers
- Welcome coupon
Best for: Every WooCommerce store
Installation
- Download emptly-empty-cart-page.zip from My account › My plugins or from your order email. Do not unzip it.
- In WordPress, go to Plugins › Add New Plugin › Upload Plugin, choose the zip and click Install Now, then Activate.
Requires WordPress 6.0+, PHP 7.4+. Works with any theme, block themes and page builders.
Features
- A friendly title, text and button
- Best sellers, featured, on sale or newest products
- Add to cart in one click
- Optional welcome coupon code
- Hide the default empty cart content
- Classic and block cart
- Your color
Shortcodes
Paste a shortcode in any page, post, widget or page builder text block.
[emptly_preview]
Options of each shortcode are described in the Features above and in the plugin settings page.
For developers
Customize the plugin from your theme’s functions.php or a small plugin, without editing its files (your changes survive updates).
Filters
emptly_activeemptly_queryemptly_sanitize
add_filter( 'emptly_active', function ( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Actions
emptly_admin_after_formemptly_admin_before_formemptly_admin_form_end
Updates
Updates are free. When a new version is out, it appears in Dashboard › Updates of your WordPress site and you can install it in one click, or turn on automatic updates in Plugins. This works for the zip downloaded from your Woo-Plugins account; older copies can be replaced by downloading the latest version from My plugins. See the changelog.
Frequently asked questions
Do I need to create the coupon?
Yes, create it in Marketing › Coupons, then enter its code in the settings.
Which products are shown?
The source you choose, in stock only. If none match, the newest products are shown.
Still stuck?
Write to us with your WordPress and WooCommerce versions and what you tried: we answer by email.