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
  • Guiding principles
  • Catalog
  • Site-wide
  • Product page (PDP)
  • Collections (PLP)
  • Cart

Was this helpful?

  1. Discount Ninja Developer Hub
  2. Storefront API

Widgets

Information about the web components used to communicate Discount Ninja promotions.

PreviousObjectsNextGuiding principles

Last updated 1 year ago

Was this helpful?

Guiding principles

To ensure our widgets are developed using best practices and meet your requirements, the following guiding principles were observed:

Catalog

Site-wide

The following widgets are available on all page types:

Product page (PDP)

Collections (PLP)

Collections can be found on collection pages, the catalog, the home page, search result and on product pages (related products...)

Cart

Accessibility
Localization
Integration
Style
Announcement Bar
Notification
Offer Rules Popup
Product Banner
Promotional Badge
Promotion Code Field
Promotion Summary