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
  • Location
  • Snippet

Was this helpful?

  1. Discount Ninja Developer Hub
  2. Theme edits
  3. Code edits
  4. Cart

Promotion Summary

PreviousPromo Code FieldNextSubtotal

Last updated 5 months ago

Was this helpful?

Do not enable the Promotion Summary widget using a code edit if your theme supports App Blocks. Please refer to for instructions on using the App Block.

Location

The Promotion Summary widget displays:

  • The discounted subtotal

  • An overview of the applied promotions

Place it below the subtotal on your cart page and drawer cart.

Snippet

Use the following snippet to add the Promotion Summary widget:

{% comment %}
The placeholder below is used by Limoni Apps Discount Ninja to display the 
cart promotion summary configured in the settings of the app.
This widget can be configured or disabled in the app.
{% endcomment %}
<div data-la-dn-promotion-summary-placeholder></div>
this section