# Maßeinheiten. / Stück im Warenkorb

**URL:** <https://forum.shopware.com/t/masseinheiten-stueck-im-warenkorb/106746>\
**Category:** Shopware 6 (German)\
**Tags:** general, installation--gettin, administration, templates--design, offizielle-shopware-\
**Created:** [15. März 2025 um 17:36 UTC](https://forum.shopware.com/t/masseinheiten-stueck-im-warenkorb/106746 "2025-03-15T17:36:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![shopwarer1638](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@shopwarer1638](https://forum.shopware.com/u/shopwarer1638)\
**Post date:** [15. März 2025 um 17:36 UTC](https://forum.shopware.com/t/masseinheiten-stueck-im-warenkorb/106746/1 "2025-03-15T17:36:00Z")

</div>

![Screenshot 2025-03-15 at 22.42.09](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/a/c/ac79c71e72ce4a5fd90899dc0fed85b7b52bb1d2.png)

Wir haben Maßeinheiten definiert, aber es wird immer noch Stuck in warenkorb angezeigt. Weiß jemand, warum?

---

<div class="post-metadata">

**Author:** ![Anotherone](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@Anotherone](https://forum.shopware.com/u/Anotherone)\
**Post date:** [15. März 2025 um 21:15 UTC](https://forum.shopware.com/t/masseinheiten-stueck-im-warenkorb/106746/2 "2025-03-15T21:15:59Z")

</div>

Zeig mal, wie Du das im Admin angelegt hast. Bei mir funktioniert es:

 ![Bildschirmfoto 2025-03-15 um 21.15.14](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/a/5/a59a68a4d17bd3867110317dda660bf3f7025084.png)  
 ![Bildschirmfoto 2025-03-15 um 21.15.26](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/3/0/30a74f75bd713d7b33683e6f9e0b0728b2a219bc.png)

---

<div class="post-metadata">

**Author:** ![shopwarer1638](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@shopwarer1638](https://forum.shopware.com/u/shopwarer1638)\
**Post date:** [16. März 2025 um 18:08 UTC](https://forum.shopware.com/t/masseinheiten-stueck-im-warenkorb/106746/3 "2025-03-16T18:08:22Z")

</div>

ja, wir haben es im Backend so eingestellt, aber trotzdem sehen wir im Off-Canvas- Warenkorb:

 ![Screenshot 2025-03-16 at 23.36.04](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/2/e/2eb533ba20caae78c5753cb4c08cabe5f9aeb62b.png)

---

<div class="post-metadata">

**Author:** ![fixxtech](https://avatars.discourse-cdn.com/v4/letter/f/54ee81/32.png) [@fixxtech](https://forum.shopware.com/u/fixxtech)\
**Post date:** [16. März 2025 um 18:44 UTC](https://forum.shopware.com/t/masseinheiten-stueck-im-warenkorb/106746/4 "2025-03-16T18:44:34Z")

</div>

Hier musst du etwas anpassen

[https://github.com/shopware/shopware/blob/trunk/src/Storefront/Resources/views/storefront/component/line-item/element/unit-price.html.twig](https://github.com/shopware/shopware/blob/trunk/src/Storefront/Resources/views/storefront/component/line-item/element/unit-price.html.twig)

```auto
<div class="line-item-unit-price-value">
        {{ lineItem.price.unitPrice|currency }}{{ 'general.star'|trans|sw_sanitize }}
        / {{ lineItem.payload.packUnit }}
    </div>

```

Viele Grüße

---

<div class="post-metadata">

**Author:** ![Anotherone](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@Anotherone](https://forum.shopware.com/u/Anotherone)\
**Post date:** [16. März 2025 um 21:40 UTC](https://forum.shopware.com/t/masseinheiten-stueck-im-warenkorb/106746/5 "2025-03-16T21:40:03Z")

</div>

Kurios, welche Shopware-Version verwendet ihr? Meins ist ein fast originales 6.6.10.2. Bei mir ist es auch im Off-Canvas Warenkorb so wie es soll

 ![Bildschirmfoto 2025-03-16 um 20.42.04](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/c/8/c8fb1b8019f2d9e78e3bd64a3e14f4b792077e77.png)

 ![Bildschirmfoto 2025-03-16 um 20.44.04](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/c/b/cbbfe1bdba919d36b0907c1e1fd7a2267c0c7d12.png)

Der HTML-Aufbau ist leicht anders wie bei Deinem Beispiel.

---

<div class="post-metadata">

**Author:** ![Benjamin\_Hummel](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/benjamin_hummel/32/25953_2.png) [@Benjamin\_Hummel](https://forum.shopware.com/u/Benjamin_Hummel)\
**Post date:** [16. März 2025 um 22:07 UTC](https://forum.shopware.com/t/masseinheiten-stueck-im-warenkorb/106746/6 "2025-03-16T22:07:18Z")

</div>

Wie sieht es bei dir im offcanvas aus?  
Das steht bei mir tatsächlich auch noch Stück, obwohl im Produkt selber Liter angezeigt wird.

VG Benjamin
