# Banner on shopping cart (off canvas)

**URL:** <https://forum.shopware.com/t/banner-on-shopping-cart-off-canvas/107065>\
**Category:** Programming (EN)\
**Created:** [22. April 2025 um 11:55 UTC](https://forum.shopware.com/t/banner-on-shopping-cart-off-canvas/107065 "2025-04-22T11:55:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cab](https://avatars.discourse-cdn.com/v4/letter/c/c5a1d2/32.png) [@cab](https://forum.shopware.com/u/cab)\
**Post date:** [22. April 2025 um 11:55 UTC](https://forum.shopware.com/t/banner-on-shopping-cart-off-canvas/107065/1 "2025-04-22T11:55:14Z")

</div>

Hi,does anybody know howe to add small info on cart/canvas.  
i am using twig to revrite original code but noting happens  
twig is on path  
/custom/plugins/MyTheme/src/Resources/views/storefront/component/checkout/offcanvas-cart.html.twig  
or custom/plugins/MyTheme/src/Resources/views/storefront/page/checkout/cart.html.twig  
but nothing happens

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [22. April 2025 um 12:00 UTC](https://forum.shopware.com/t/banner-on-shopping-cart-off-canvas/107065/2 "2025-04-22T12:00:39Z")

</div>

I assume the path is correct. Did you clear the cache after updating your plugin?

---

<div class="post-metadata">

**Author:** ![cab](https://avatars.discourse-cdn.com/v4/letter/c/c5a1d2/32.png) [@cab](https://forum.shopware.com/u/cab)\
**Post date:** [22. April 2025 um 12:03 UTC](https://forum.shopware.com/t/banner-on-shopping-cart-off-canvas/107065/3 "2025-04-22T12:03:33Z")

</div>

everything,refresh theme and clear cache.i need small info for delivery but no way that can be shown on cart or canvas

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [22. April 2025 um 12:33 UTC](https://forum.shopware.com/t/banner-on-shopping-cart-off-canvas/107065/4 "2025-04-22T12:33:11Z")

</div>

> <https://github.com/shopware/shopware/blob/c470b70d5a2a113200c8e458f0a9a9eb4eebeabe/src/Storefront/Resources/views/storefront/component/checkout/offcanvas-cart.html.twig#L58>

```auto
{% block component_offcanvas_cart_items %}
 ... your content ...
parent()
{% endblock %}

```

should work. Which block did you override?

---

<div class="post-metadata">

**Author:** ![cab](https://avatars.discourse-cdn.com/v4/letter/c/c5a1d2/32.png) [@cab](https://forum.shopware.com/u/cab)\
**Post date:** [22. April 2025 um 12:33 UTC](https://forum.shopware.com/t/banner-on-shopping-cart-off-canvas/107065/5 "2025-04-22T12:33:47Z")

</div>

and the catch is that You shoud insert code from off canvas in vendor path and add text and insert it your theme
