# Promotion Summary

## How to enable the promotion summary as an App Block <a href="#h_4ed9436762" id="h_4ed9436762"></a>

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

   [![](https://downloads.intercomcdn.com/i/o/483152528/6feccf333c957a55c571d818/image.png)](https://downloads.intercomcdn.com/i/o/483152528/6feccf333c957a55c571d818/image.png)
2. Find the theme you want to customize and click the Customize button for that theme:

   [![](https://downloads.intercomcdn.com/i/o/483152781/9d47047f92f78694a8cb62a9/image.png)](https://downloads.intercomcdn.com/i/o/483152781/9d47047f92f78694a8cb62a9/image.png)
3. The theme editor opens. In the dropdown at the top, select the Cart item:

   [![](https://downloads.intercomcdn.com/i/o/533551653/ce257c119a6841fa21514331/image.png)](https://downloads.intercomcdn.com/i/o/533551653/ce257c119a6841fa21514331/image.png)
4. The editor for the cart page opens. If the cart is empty, add a product to the cart. Find the location where you would want the cart summary to appear. Usually, this is below the Subtitle price block in the Subtotal section. Locate this block in the sidebar on the left. Click the Add block button at the bottom of this section:

   [![](https://downloads.intercomcdn.com/i/o/533553259/9145d9cf462808ab66388085/image.png)](https://downloads.intercomcdn.com/i/o/533553259/9145d9cf462808ab66388085/image.png)
5. A block selector opens. Scroll down to the Apps section. Find the Cart promotion summary app block of Discount Ninja and select it:

   [![](https://downloads.intercomcdn.com/i/o/533554666/fb49eb23721681816cc3c0b1/image.png)](https://downloads.intercomcdn.com/i/o/533554666/fb49eb23721681816cc3c0b1/image.png)
6. 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.
7. Change the location where the promotion summary is rendered by dragging the block up or down in the list using the handle on the right:

   [![](https://downloads.intercomcdn.com/i/o/533555277/56ec1a35da811b0fbd4b2ade/image.png)](https://downloads.intercomcdn.com/i/o/533555277/56ec1a35da811b0fbd4b2ade/image.png)
8. If you want to hide the block, use the eye icon to toggle visibility:

   [![](https://downloads.intercomcdn.com/i/o/533555790/fe5817f3c6776a39e190635b/image.png)](https://downloads.intercomcdn.com/i/o/533555790/fe5817f3c6776a39e190635b/image.png)
9. To remove the block, select it and click the Remove block button at the bottom of the sidebar on the right:

   [![](https://downloads.intercomcdn.com/i/o/483154784/12544cdcce2239b0a56995de/image.png)](https://downloads.intercomcdn.com/i/o/483154784/12544cdcce2239b0a56995de/image.png)

## Changing the text and style of the section <a href="#h_a401241826" id="h_a401241826"></a>

To configure the content, text and style of the cart promotion summary, you need to edit the building blocks in Discount Ninja. This can be done from the settings of the app in the menu Settings > Building blocks > Cart promotion summary

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.discountninja.io/discount-ninja-developer-hub/theme-edits/app-blocks/promotion-summary.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
