Live Notifications
The live notification system provides in-app notifications for service order events. Notifications appear in the WooCommerce My Account area and update using AJAX polling.
Enabling Live Notifications
Section titled “Enabling Live Notifications”- Go to WP Admin > WB Plugins > Woo Sell Services > General.
- Enable Conversation notification to create in-app notifications (on by default).
- Enable Enable the conversation notification tab. to show the Notifications tab in My Account (on by default).
The Notification tab holds the message text for each event.
Where Notifications Appear
Section titled “Where Notifications Appear”Notifications are shown in the My Account > Notifications tab (endpoint services-notification). Both vendors and customers see their relevant notifications. The page can also be rendered anywhere with the [wss_services_notifications_shortcode] shortcode.
Notification Events
Section titled “Notification Events”| Event | Vendor sees | Customer sees |
|---|---|---|
| New service order | Yes | - |
| Requirements submitted | Yes | - |
| Requirements received | - | Yes |
| New conversation message | Yes | Yes |
| Delivery submitted | - | Yes |
| Delivery accepted | Yes | - |
| Delivery rejected | Yes | - |
| Delivery date updated | - | Yes |
| Review received | Yes | Yes |
Managing Notifications
Section titled “Managing Notifications”Users can act on notifications in two ways:
- Read - clears the unread indicator.
- Delete - permanently removes the notification.
Both buttons work in the My Account tab and on any page that uses the [wss_services_notifications_shortcode] shortcode. Clicking a notification opens the service order it belongs to. Members can only read or delete their own notifications.
Notification Pagination
Section titled “Notification Pagination”Notifications are paginated. Use the wss_notifications_per_page filter to change the count per page:
add_filter( 'wss_notifications_per_page', function() { return 20;} );Customizing Notification Messages
Section titled “Customizing Notification Messages”Each event’s message template can be edited at WP Admin > WB Plugins > Woo Sell Services > Notification. The rendered text is generated from the event’s action type and the matching message template.
Storage
Section titled “Storage”Notifications are stored in the wss_service_notifications custom table. Each row records the vendor ID, customer (user) ID, order/item/product IDs, a per-party notification flag (vendor_notifi, customer_notifi), a read flag for each party (vendor_read, customer_read), the creation time, and the event type (action). The displayed message is derived at render time from the action type and the notification message templates, not stored per row. See Database Schema.

