Empty cart
WooCommerce swaps in the Empty cart template when the cart has nothing in it, including right after the shopper removes the last item.
What it shows#
- A clear message and a Go home button.
- Restore your last cart, when the shopper’s earlier cart expired and Restore the last cart is on.
- You may also like, when On the empty cart page is on under You may also like.
- A help bar with your support link, when the Help card is on.
Change the words#
The message, button and help texts are in the Empty cart group on the Text & translations tab.
For developers#
The nbwt_cart_empty_after action prints under the empty cart card. The template uses the [nbwt_cart_empty] shortcode.