User Notifications
User Notifications lets you seamlessly inform WordPress & WooCommerce users about updates, sales, and more via the site navigation menu. You can add a notification menu easily by using the [notifications_dogbytemarketing] shortcode to inject a notification bell into your menu. The bell displays a badge when new notifications are available, ensuring users never miss an update. If you use something other than BootStrap icons, you can do [notifications_dogbytemarketing class=”your-icon-class”] to use your own icons. You can also use the “class_container” attribute to add additional classes to the notification-container element. This plugin is ideal for websites and WooCommerce stores looking to improve user engagement and streamline notification delivery. Features Supports WooCommerce Send notifications when a WooCommerce order is completed (shipped) Custom post type for creating and managing notifications. Integration with WordPress menus using a shortcode. Dynamic badge to highlight unread notifications. Sidebar notifications for detailed views of messages. Clean and modern design with customizable icons and styles. Privacy settings Admin toolbar bell for notifications from other plugins Hook for other plugins to add dismissible notifications in the admin bar and on the frontend Allows other plugins to integrate with User Notifications and send custom notifications, with an optional setting to disable notifications from external plugins. Mark one notification as read, or mark all as read Relative time on notification rows Want to help? Submit a PR on Github. Roadmap Add ability to manually send notifications to individual users EDD integration For developers Other plugins can add their own notifications when User Notifications is active. If this plugin is not active, the filter never runs. The filter is user_notifications_notifications. The second argument is the context: admin_bar or frontend. Each item needs an id and a title. message and url are optional. Every notification can be dismissed. id is stored when the visitor dismisses the item, so keep it stable. Ids are saved with sanitize_key, so use lowercase letters, numbers, hyphens, and underscores. The admin bell is always in the WordPress admin toolbar, next to the username. The badge shows the number of admin_bar notifications that have not been marked read. When that number is zero, the bell stays and the badge is hidden. Marking one read, or marking all read, keeps the item in the panel. An optional time unix timestamp sets the relative time. If it is left out, the first time that id appears is stored and reused. Frontend items are added to the notification sidebar and the badge. Frontend notifications must be enabled in the plugin settings. Logged-in dismissals are saved on the user account. Guest dismissals are saved in the user_notifications_dismissed cookie. The Advanced setting Disable Third-Party Notifications turns this filter off for both contexts. add_filter('user_notifications_notifications', 'my_plugin_notifications', 10, 2); function my_plugin_notifications($notifications, $context) { if ('admin_bar' !== $context && 'frontend' !== $context) { return $notifications; } $notifications[] = array( 'id' => 'my-plugin-welcome', 'title' => 'Welcome', 'message' => 'You can dismiss this.', 'url' => 'https://example.com', ); return $notifications; } Return the item for admin_bar, frontend, or both. GDPR We are not lawyers and always recommend doing your own compliance research into third party plugins, libraries, ect, as we’ve seen other plugins not be in compliance with these regulations. This plugin uses the Bootstrap, BootStrap Icons, and SweetAlert2 3rd party libraries. These libraries are loaded locally to be compliant with data protection regulations. This plugin collects and stores certain data on your server to ensure proper functionality. This includes: Storing plugin settings Remembering which notices have been dismissed Storing dismissed notification IDs from other plugins in user meta on the logged-in user’s account (_dismissed_user_notifications) Storing which admin notifications a logged-in user has marked read in user meta (_read_admin_notifications) Storing the first time each admin notification id was seen, in a site option (user_notifications_admin_seen), so relative times stay the same For guests, storing those dismissed notification IDs in a first-party cookie named user_notifications_dismissed. The cookie lasts one year, stays on this site, and is not shared with other sites. It only remembers which notifications a guest dismissed.
Live Sales Notifications for WooCommerce – Recent Sales Popup, FOMO & Social Proof
Live Sales Notifications adds a recent sales popup to your WooCommerce store. A small card shows up in the corner of the page: “Maya from the United States purchased Wireless Headphones, 2 minutes ago.” Try the live demo See what Pro adds Facebook page I built this plugin around one feeling. You walk into a busy shop, you see people at the counter, and you think “people buy here, so it’s safe.” An online store is quiet. Nobody sees the other shoppers. A live sales notification brings that feeling back: it shows a new visitor that real people bought from you today. That social proof, plus a little FOMO (fear of missing out), is often what turns a first visit into a first order. Setup takes about two minutes. A six-step editor walks you through it, and a live preview shows every change on a phone, a tablet and a computer before you save. What is a recent sales popup? A recent sales popup, also called a recent sales notification, a live sales notification, a “someone just bought” popup or a live sales feed, is a small message that appears on your store when someone buys. It names the buyer by first name, the place they bought from, the product and how long ago. Visitors see that the store is active, and they trust it faster. Why store owners choose this sales popup No setup to start. Pick “All recent orders” and your newest WooCommerce orders take turns in the popup, from any product. New popups show on every page. Real orders, shown with care. A first name, a country and the product. Never a full name, an address, an email or an order total. 12 free designs, each with your own colors, words, picture and screen corner. A live preview on phone, tablet and computer while you edit. Ready for a brand-new store. No orders yet? Show sample purchases with your real products. No account, no outside service, no monthly plan. Everything runs inside your WordPress site. Light. The popup files load only on pages that have a live popup, and nothing tracks your visitors. Plain English. Every option says what it does. Live sales notifications you can show Free Recent purchases: real orders from your store, with the product picture and a link to the product page. Sample purchases: for a new store. Your real products with sample buyers from a list you control. Store message: a short note with a picture and a link, for free shipping, a sale, a new collection or your opening hours. Pro Coupon: a coupon code with a Copy button. Customer reviews: your reviews take turns, with stars, photos and names. Viewing count: a line like “18 people are looking at this”. Social follow: links to Instagram, Facebook, TikTok, YouTube and more. Every Pro type and all of its designs can be opened inside the free version. To see them on a real store first, open the live demo. How to set up a WooCommerce sales notification, step by step Each popup takes six short steps. You can go back to any step, and the preview on the right follows you. Step 1: Pick what the popup is for Recent purchases, Sample purchases or Store message. The Pro types sit next to them with a PRO mark. Step 2: Pick a design Four free designs for each type. For purchases they are Classic, Minimal, Card and Compact. Each card in the list is a real preview of that design. Step 3: Write the message For Recent purchases, choose how the popup picks its orders: All recent orders. Your five newest orders take turns, from any product. Nothing else to set. One product, different orders. The latest orders of one product, good for a single best seller. Several products, one after another. Up to five products take turns, each with its own recent order. Then choose which orders count: how old an order can be (in hours or days), which order statuses count (Completed and Processing by default), and the word before the product, such as “purchased” or “just picked up”. “More options” holds the rest, for when you want it: Where from: the billing country from the order, or your own text. When: the real order time, a random recent time, or your own text. Picture: the product picture, a picture you upload, or none. Link: the product page, your own link, or no link. Step 4: Look & colors Picture on the left, right, above or below the text. Close button on or off, with its color and shape. Background: the design’s own, one color, a blend of two colors, or a picture. A color for each part: buyer name, place, the word before the product, product name, time, border and side stripe. Turn off “Keep this design’s colors and size” to set your own text size, rounded corners and how the popup appears (fade, slide or none). Step 5: When & where How long the popup stays on screen, and the pause before the next one. The corner on computers and tablets: top left, top right, bottom left or bottom right. On phones: across the top or the bottom of the screen, or hidden. After someone closes it: it can come back later, or stay away for the rest of the visit. Step 6: Pages & visitors Who sees it: everyone, only people who are not logged in, or only logged-in customers. Where it shows: every page of your store, or only the pages, posts and products you pick. A switch to turn the popup on or off on your store. A popup picked for a page wins over a popup set to show on every page. So you can keep one general popup running and add a special one on your best product page. Several sales at once (Pro) In Pro, one purchase popup can show up to five cards stacked in a corner, each with its own product. On phones you choose one card at a time or several. Store-wide settings Turn every popup off at once without losing anything. Hide popups on phones for the whole store. Hide popups from shop managers and admins while you work on the store. Default timing for new popups: how long a popup stays, the first wait, the pause between popups, the wait after someone closes one, and the most popups per page visit. Your sample buyers list, with names and places, plus the number and time ranges used in the text. Keep or delete all popups and settings when you delete the plugin. Real orders and sample orders Recent purchases always come from real WooCommerce orders. Sample purchases are for a new store with no orders yet. Some people call them fake sales notifications or virtual orders. They use your real products and the buyers on your own list. Use them with care, and follow the consumer rules of your country. Free and Pro side by side Free ✔ Recent purchases, Sample purchases and Store message ✔ 12 designs with your own colors, words, pictures and corners ✔ All recent orders, one product, or several products in turn ✔ Every page, or only the pages you pick ✔ Everyone, guests only, or logged-in customers only ✔ Timing, screen corner and phone settings for each popup ✔ Live preview on phone, tablet and computer ✔ See every Pro type and design before you buy Pro ✔ Everything in the free version ✔ Coupon, Customer reviews, Viewing count and Social follow popups ✔ 51 designs in total ✔ Up to five purchase cards in one popup ✔ A soft sound when a popup shows ✔ Show or hide popups by visitor country ✔ Email support from the team that builds it Get Live Sales Notifications Pro Who it’s for New stores that want to look busy from day one, with sample purchases. Growing stores that want real orders to do some of the selling. Single-product shops that want to show the latest buyers of their main product. Fashion, beauty, gadgets, gifts and food stores, where trust decides the first order. Store owners running a sale, with a store message for the offer and recent purchases next to it. Privacy The plugin reads your existing WooCommerce orders to show Recent purchases and stores nothing about shoppers. It shows a first name, a country or place and the product, nothing more. A ready-made note for your privacy policy is added under Settings > Privacy. When you deactivate the plugin, a short form asks why. It is optional. Nothing is sent unless you pick a reason and press “Send and deactivate”. Then your answer, the plugin version and your site’s admin email (unless you tick “Don’t include my email address”) are emailed to Xfinity Soft support. Support If something doesn’t work the way you expect, open a support topic here on wordpress.org and tell me what you see. I’d rather fix it than lose you.