Title: Change Default Empty Cart Message
Last modified: October 5, 2021

---

# Change Default Empty Cart Message

 *  Resolved [superflippy](https://wordpress.org/support/users/superflippy/)
 * (@superflippy)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/change-default-empty-cart-message/)
 * The default empty cart message does not match our site at all. I want to replace
   the sad face and link with a custom message. I’m using the Storefront theme with
   a child theme (storefront-child).
 * I placed the following in my functions.php and nothing happens.
 *     ```
       remove_action( 'woocommerce_cart_is_empty', 'wc_empty_cart_message', 10); 
       add_action( 'woocommerce_cart_is_empty', 'custom_empty_cart_message', 10); 
       function custom_empty_cart_message() {
           echo '<p> Your cart is empty. </p>'; 
       }
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fchange-default-empty-cart-message%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [superflippy](https://wordpress.org/support/users/superflippy/)
 * (@superflippy)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/change-default-empty-cart-message/#post-14941068)
 * Never mind, I finally figured it out! I was using the Shopping Cart Block for
   the cart page content. It has tabs in it & you have to click the Empty Cart tab
   to change the content & wording.

Viewing 1 replies (of 1 total)

The topic ‘Change Default Empty Cart Message’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [cart](https://wordpress.org/support/topic-tag/cart/)
 * [childtheme](https://wordpress.org/support/topic-tag/childtheme/)

 * 1 reply
 * 1 participant
 * Last reply from: [superflippy](https://wordpress.org/support/users/superflippy/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/change-default-empty-cart-message/#post-14941068)
 * Status: resolved