Orders

Setting Order Notes Notifications

Liferay DXP 2026.Q1+

Users can communicate through orders using the Questions and Answers feature, which by default, requires users to check the order details for updates. Use Order Note notifications to alert Buyers and Order Managers automatically via email or system alerts the moment a new comment is added.

This interaction is powered by the Commerce Order Note, an Unmodifiable System Object that supports communication and automated notifications. Within the system Object, two additional Terms are available to target the correct recipients for your alerts.

To receive notifications when a note is added to an order, you must

Creating Notification Templates

When configuring templates, use Commerce Order Note Terms to identify recipients. The lists are derived from Buyers and Order Managers that have Order Visibility and the active Notification User Scope.

LabelDescriptionTerm
Order Note Recipient EmailsDynamic list of email addresses for authorized recipients.[%COMMERCEORDERNOTE_RECIPIENT_EMAILS%]
Order Note Recipient IDsDynamic list of unique system IDs for authorized recipients.[%COMMERCEORDERNOTE_RECIPIENT_IDS%]

Configuring Email Notifications

Fill in the information in the Basic Info section of emails template.

  1. Follow the steps to create Email Notification Templates.

  2. In Settings, select Definition of Terms as the Type for Primary Recipients.

  3. In Definition of Terms, select Commerce Order Note as the Entity.

  4. Locate and copy the Order Note Recipient Emails Term: [%COMMERCEORDERNOTE_RECIPIENT_EMAILS%].

  5. Paste the term into the Recipients field.

  6. Click Save.

Configuring User Notifications

Fill in the information in the Basic Info section of user templates.

  1. Follow the steps to create User Notification Templates.

  2. In Definition of Terms, select Commerce Order Note as the Entity.

  3. Locate and copy the Order Note Recipient IDs Term: [%COMMERCEORDERNOTE_RECIPIENT_IDS%].

  4. In Settings, select Definition of Terms.

  5. Under To, paste the Term.

  6. Click Save.

Triggering Automated Notifications

After creating the template, you must define an Object Action for the Commerce Order Note Object to automate the delivery.

  1. Open the Global Menu (Applications Menu icon) and navigate to Control PanelObjects.

  2. Select the Commerce Order Note object.

  3. Navigate to Actions tab and click New.

  4. Fill in the required information in Basic Info:

    • Action Label.
    • Action Name.
  5. Navigate to the Action Builder tab.

  6. Under When, select On After Add as the trigger.

  7. Under Then, select Notification as the action.

  8. Choose either an Email or User template.

    Select an Email or User Notification Template.

  9. Click Save.

Enabling Notifications User Scope

To ensure that notifications are sent only to authorized users within the visibility scope,

  1. Open the Global Menu (Applications Menu icon) and navigate to CommerceChannels.

  2. Select the channel’s General tab.

  3. Under Orders, enable the Notification User Scope toggle.

When enabled, this ensures that only the user who placed the order receives notifications for responses sent by Order Managers.

Enable the Notification User Scope toggle in channels.

Role-Based Notification Scenarios

Note AuthorOrders/Notifications ScopePrivacy SettingRecipient
BuyerOrders Visibility Scope set to AccountPublic/PrivateOrder Managers
Order ManagerOrders Visibility Scope set to AccountPublicBuyers
Order ManagerOrders Visibility Scope set to AccountPrivateOrder Creator
BuyerOrders Visibility Scope set to UserPublic/PrivateOrder Managers
Order ManagerOrders Visibility Scope set to UserPublic/PrivateOrder Creator
Order ManagerActive “Enable Notifications User Scope”Public/PrivateOrder Creator
Note

Account Administrators don’t receive notifications by default unless they are explicitly assigned as Order Managers.