WooCommerce · Elementor

Cart Empty Message widget for Elementor

Cart Empty Message is a WooCommerce template piece. Use it on a King Addons cart, checkout, or My Account layout, not as a general page widget.

WooCommerce template piece. Use it on a WooCommerce Builder cart, checkout, or My Account layout.

Get King Addons

This page describes the PHP/JS for this widget — not a renamed stub. Install the free plugin from WordPress.org.

Get King Addons

What it actually does

Cart Empty Message is a WooCommerce template piece. Use it on a King Addons cart, checkout, or My Account layout, not as a general page widget.

Woo Cart Empty Message widget.

Output depends on WooCommerce objects (products, cart, or account). Empty without WooCommerce data.

How to add it in Elementor

  1. Install King Addons. Install Elementor and King Addons. Get King Addons from WordPress.org.
  2. Open a WooCommerce Builder template. Use the matching cart, checkout, or My Account template so WooCommerce objects exist.
  3. Insert the widget. Search the panel for “Cart Empty Message”. Typing “king” lists every King Addons widget.
  4. Set inspector controls from this widget’s PHP. Configure “Message”, “Show “Return to shop” button”. Style and Content tabs are listed on this page.

When to use it

Tip: After King Addons is active, type king in the Elementor search box to list every widget, including Cart Empty Message.

Inspector controls from this widget’s PHP

ControlWhat the code does
Content — MessagePrinted in the widget HTML from render().
Content — Show “Return to shop” buttonSwitcher inspector control (`show_return_shop`).

Content and Style tabs from this widget’s PHP, including repeater fields and group controls (typography, background, border, shadow). Elementor’s Advanced tab is core Elementor and is not listed here.

FAQ

Which Cart Empty Message options need King Addons Pro?

Controls marked with the Pro icon in this widget’s PHP. King Addons Pro is a separate license from Elementor Pro.

Does Cart Empty Message require WooCommerce?

Yes. This widget reads WooCommerce products, cart, or account objects. Install WooCommerce and add data before the widget has anything to show.

Where should I put Cart Empty Message?

On a WooCommerce Builder template for cart, checkout, or My Account. It is not meant as a homepage widget.

Do I need Elementor Pro?

No. King Addons runs on free Elementor. Some King Addons options (for example template-in-accordion, extra popup conditions, parts of the template catalog) need King Addons Pro — not Elementor Pro.

Related woocommerce widgets

Get King Addons

One free plugin. 80+ Elementor widgets, 650+ templates, and 4,000+ sections. Search for Cart Empty Message after you activate it.

Get King Addons