Discount Ninja
  • Discount Ninja Developer Hub
    • Storefront API
      • Promotion Engine
        • Enable
        • JavaScript API
          • Functions
          • Events
          • Objects
      • Widgets
        • Guiding principles
          • Accessibility
          • Localization
          • Integration
          • Style
        • Announcement Bar
        • Notification
        • Offer Rules Popup
        • Product Banner
        • Promotion Summary
        • Promotion Code Field
        • Promotional Badge
    • Integration
    • Theme edits
      • App blocks
        • Product Page Banner
        • Promo Code Field
        • Promotion Summary
      • Code edits
        • Product Detail Page (PDP)
          • Price
          • Banner
          • Badge
        • Product List Page (PLP) and Collections
          • Attributes
          • Price
            • Searchanise Search & Filter
            • Globo Smart Product Filter & Search (aka SPF)
            • AI Search & Product Filter (Ultimate Search)
            • Boost AI Search & Filter (aka PFS)
          • Badge
          • Pagination
          • Quick View
        • Cart
          • Root
          • Cart item
          • Promo Code Field
          • Promotion Summary
          • Subtotal
        • Gift With Purchase
Powered by GitBook
On this page
  • Registration
  • Style
  • Events

Was this helpful?

  1. Discount Ninja Developer Hub
  2. Storefront API
  3. Widgets

Notification

The notification confirms that an offer has been applied to the cart and tells the customer what they need to do to unlock rewards.

PreviousAnnouncement BarNextOffer Rules Popup

Last updated 1 year ago

Was this helpful?

This widget is currently available for V6 Beta customers only

Registration

This widget is included in the "Discount Ninja" App Embed.

Style

Check out to learn more about how the style of this widget can be changed.

Events

la:dn:notification:collapse

  • Executes the collapse method.

la:dn:notification:expand

  • Executes the expand method.

la:dn:notification:highlight-message

  • Executes the highlightMessage method.

  • Expects a parameter named token to indicate which message to highlight.

this article