The notifications page displays system notifications and updates for the customer.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/SallaApp/theme-raed/llms.txt
Use this file to discover all available pages before exploring further.
Template location
Available variables
| Variable | Type | Description |
|---|---|---|
page.title | string | Page title |
page.slug | string | Page slug |
notifications | Paginator | Paginated notifications collection |
notifications.next_page | string | URL for next page of results |
notifications.count | int | Total notification count |
Notification object
| Variable | Type | Description |
|---|---|---|
notification.is_new | bool | Whether notification is unread |
notification.url | string | Notification link URL |
notification.title | string | Notification title |
notification.sub_title | string | Notification subtitle/description |
notification.date | string | Notification date |
Page structure
The notifications page uses thesalla-notifications web component to handle displaying and managing notifications:
Code examples
Basic notifications display
Using the Salla component
- Displaying notifications with proper styling
- Marking notifications as read
- Pagination
- Real-time updates
Custom notification styling
Pagination
Notification count
Hooks
The notifications page provides hooks for customization:Common notification types
Notifications may include:- Order status updates
- Shipping updates
- Product availability alerts
- Promotional messages
- Account activity
- Product reviews
- Wishlist updates
The notifications page extends the
layouts.customer layout. The salla-notifications component handles all notification logic including loading, marking as read, and real-time updates.