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

Was this helpful?

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

Promotion Summary

The promotion summary provides a subtotal and a breakdown of the discounts.

PreviousProduct BannerNextPromotion Code Field

Last updated 1 year ago

Was this helpful?

This widget is currently available for V6 Beta customers only

Registration

App Embed

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

Placeholder

A placeholder for the promotion summary must be added to the template(s) of the cart page(s) where the summary should be displayed. This can be achieved in one of the following ways:

  • OS 2.0 Using Shopify's theme editor, add the "Discount Ninja Promotion Summary" App Block to the section on the cart page template(s) where you want the summary to be displayed

  • If your theme does not support App Blocks on the cart page template, add the following snippet to your cart page instead:

<la-dn-promotion-summary-placeholder>
</la-dn-promotion-summary-placeholder>

Style

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

this article