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
  • How to enable the Product Page Banner as an App block
  • Changing the text and style

Was this helpful?

  1. Discount Ninja Developer Hub
  2. Theme edits
  3. App blocks

Product Page Banner

Learn how to add the Product Page Banner App block

PreviousApp blocksNextPromo Code Field

Last updated 1 year ago

Was this helpful?

How to enable the Product Page Banner as an App block

  1. Open the Online Store section in the Shopify admin and click Themes:

  2. Find the theme you want to customize and click the Customize button for that theme:

  3. The theme editor opens. In the dropdown at the top, select the Products item:

  4. Then select, Default product:

  5. The editor for the default product page opens. Find the location where you would want the product page banner to appear. Usually, this is below the Title block in the Product Information section. Locate this block in the sidebar on the left. Click the Add block button at the bottom of this section. A block selector opens. Select the Apps tab. Find the Product page banner app block of Discount Ninja and select it:

  6. Change the location where the product page banner is rendered by dragging the block up or down in the list using the handle on the left:

  7. Alternatively, select the place where you want the banner to display and click the + sign. Then click the Apps tab and select the App block.

  8. IMPORTANT - in the theme editor the app displays a placeholder. This placeholder is not displayed on your live shop. To configure when a product page banner should be displayed and to edit the text or style, you need to edit the building blocks of the offers configured in Discount Ninja.

  9. If you want to hide the block, use the eye icon to toggle visibility. Use the dustbin icon to remove the block:

Changing the text and style

To configure when a product page banner should be displayed and to edit the text or style you need to open the app. In the app you'll need to edit the widgets of the offers configured in Discount Ninja.