Never miss an important campaign deadline again.
Why Notifications Matter #
Managing multiple discount campaigns can be challenging. Without proper alerts, you might:
| Problem | Consequence |
|---|
| Miss a campaign end date | Discounts continue longer than planned |
| Forget a campaign start | Marketing not aligned with campaign |
| Overlook expiring campaigns | No time to extend successful ones |
| Lose track of active campaigns | Confusion about current promotions |
The Notification System solves these problems by proactively alerting you about important campaign events.
The Notification Button (FAB) #
A floating button appears in the bottom-right corner of every plugin page:
| Element | Description |
|---|
| Email Icon | Visual indicator for notifications |
| Red Badge | Shows number of unread notifications |
| Position | Fixed at bottom-right, always visible |
| Click Action | Opens the notification panel |
Badge Behavior #
| Badge State | Meaning |
|---|
| Badge with number | You have unread notifications |
| No badge | All notifications read or dismissed |
| Badge updates | Refreshes when actions occur |
Opening the Notification Panel #
Three ways to interact:
| Action | Result |
|---|
| Click FAB button | Panel slides in from right |
| Click outside panel | Panel closes |
| Press ESC key | Panel closes |
Panel Sections #
| Section | Purpose |
|---|
| Header | Title “Notifications” + close button (×) |
| Body | List of notification cards |
| Footer | “Load More” button (if more notifications exist) |
Understanding Notification Cards #
Each notification card contains:
| Element | Location | Purpose |
|---|
| Icon | Left side | Visual indicator of notification type |
| Message | Center | Description of what’s happening |
| Action Buttons | Below message | Quick actions (blue = primary, outlined = secondary) |
| Read Button | Right side | Mark as read without hiding |
| Hide Button | Right side | Dismiss notification completely |
Example Card #
| Part | Example |
|---|
| Icon | 🔥 (fire icon) |
| Message | Campaign “Black Friday” will end within 3 days |
| Primary Action | Extend Date |
| Secondary Action | Manage Rules |
| Controls | Read · Hide |
Enabling/Disabling Notifications #
Navigate to: Settings → Notifications tab
| Setting | Options | Default |
|---|
| Notification System | Checkbox (on/off) | ✅ Enabled |
What Happens When Disabled? #
| Component | Behavior |
|---|
| FAB button | Hidden from all pages |
| Notification checks | Stopped |
| Background cron | Unscheduled |
| Existing data | Preserved (not deleted) |
Where Notifications Appear #
The notification system is available on all plugin admin pages:
| Page | FAB Visible |
|---|
| Group Management | ✅ Yes |
| Rule Management | ✅ Yes |
| Statistics | ✅ Yes |
| Settings | ✅ Yes |
Not visible on:
- WordPress dashboard
- Other plugin pages
- Frontend pages
Notification Frequency #
| Process | Timing |
|---|
| Live Check | Every time you open the panel |
| Background Check | Twice daily (cron job) |
| Cache Duration | 1 hour |
| Cache Refresh | When you update groups/rules |
When New Notifications Appear #
| Trigger | Notification Created |
|---|
| Campaign enters “3 days until end” window | Ending Soon notification |
| Campaign enters “24 hours until end” window | Urgent Ending notification |
| Campaign end date is today | Critical Ending notification |
| Campaign enters “3 days until start” window | Starting Soon notification |
| Campaign start date is tomorrow | Starting Tomorrow notification |
| Campaign starts today | Campaign Started notification |
| Campaign ends today | Campaign Ended notification |
Quick Start Scenarios #
Scenario 1: First Time User #
- Install and activate the plugin
- Create your first campaign group with dates
- Notice the FAB button in bottom-right
- Wait for the campaign to enter notification windows
- Click FAB to see relevant notifications
Scenario 2: Busy Store Owner #
- Open any plugin page
- See badge on FAB showing “3” notifications
- Click to open panel
- Review each notification
- Take action or mark as read
- Continue your work
Scenario 3: Managing Multiple Campaigns #
| Campaign | Status | Expected Notification |
|---|
| Summer Sale | Ends in 2 days | “will end within 3 days” |
| Flash Deal | Starts tomorrow | “will start tomorrow” |
| Members Only | Started today | “started today” |
| Black Friday | Ends today | “will end today” (urgent!) |
Tips for Effective Use #
| Tip | Why |
|---|
| Check daily | Catch urgent notifications early |
| Use “Read” wisely | Keep important alerts visible but marked |
| Use “Hide” for resolved | Clear notifications you’ve addressed |
| Don’t disable | Even if busy, keep system on for critical alerts |