There may be times when you have something you need every customer to see. Maybe you're having a limited-time sale, a problem with your contact page, or you just announced an awesome new product. For these types of situations, WooCommerce includes a setting to enable a site-wide notice.
To add a site-wide notice, perform the following steps:
If you need a bit more control over the notice, there are several free notice plugins on the WordPress.org repository. The Simple Notices plugin has a bit more flexibility with color choices and has title and description fields.
There is also the WooCommerce Cart Notices plugin, which adds notices depending on what's in the user's cart. We take a look at this plugin in the Adding banners to remind customers of upgrades recipe in Chapter 7, Modifying the Checkout Process.