# edd_empty_cart_message

 This filter is used when displaying the “your cart is empty” message and can be used to modify the message that is displayed. The sample below shows an example of how you could modify it:

```
function my_custom_empty_cart_message($message) {
	return &#039;&lt;p class=&quot;my_empty_cart&quot;&gt;&#039; . $message . &#039; Please buy something.&lt;/p&gt;&#039;;
}
add_filter(&#039;edd_empty_cart_message&#039;, &#039;my_custom_empty_cart_message&#039;);&lt;br&gt;&lt;/br&gt;
```

 This will add paragraph tags around the message, and include the words “Please buy something”.

 You can customize the &quot;your cart is empty&quot; message or even load specific content on the cart page when it is empty. You can do this without touching any PHP code with the ***free*** *Additional Shortcodes* extension. [Click here to learn more and download](https://easydigitaldownloads.com/downloads/edd-additional-shortcodes/) or read more about it on [this article](https://easydigitaldownloads.com/docs/additional-shortcodes/).