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
  • Available App blocks
  • Code edits

Was this helpful?

  1. Discount Ninja Developer Hub
  2. Theme edits

Code edits

Limitations

Shopify's App blocks have, unfortunately, limited support in the current Online Store 2.0 themes as of 2024. Specifically, Shopify does not support adding App blocks in collection page products, on drawer carts or in cart lines. This limits the amount of widgets that can currently be offered as App blocks.

Available App blocks

The following table documents which widgets are available as App blocks:

Page type
Widget
Available

Product page

Product Page Banner

App block

Product page

Product Price

App block ¹ ²

Collection

Collection Badge

No

Collection

Collection Price

No

Cart

Item Price

No

Cart

Line Price

No

Cart

Text

No

Cart

Promotion Summary

App block ¹

Cart

Promo Code Field

App block ¹

¹ Support for positioning these App blocks depends on the theme.

² Available as of Q1 2025

Code edits

The remaining widgets are supported using code edits. The Discount Ninja support team to provide this service for you free of charge.

PreviousPromotion SummaryNextProduct Detail Page (PDP)

Last updated 5 months ago

Was this helpful?