# EntityRepositoryInterface: PromotionRepository enthält keine discounts

**URL:** <https://forum.shopware.com/t/entityrepositoryinterface-promotionrepository-enthaelt-keine-discounts/92689>\
**Category:** Programmierung\
**Created:** [31. Januar 2022 um 19:44 UTC](https://forum.shopware.com/t/entityrepositoryinterface-promotionrepository-enthaelt-keine-discounts/92689 "2022-01-31T19:44:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kidava2485](https://avatars.discourse-cdn.com/v4/letter/k/e274bd/32.png) [@kidava2485](https://forum.shopware.com/u/kidava2485)\
**Post date:** [31. Januar 2022 um 19:44 UTC](https://forum.shopware.com/t/entityrepositoryinterface-promotionrepository-enthaelt-keine-discounts/92689/1 "2022-01-31T19:44:53Z")

</div>

Wenn ich die Promotion Codes auslese, dann ist das Feld „discounts“ leer.  
Auch die Abfrage per -\>getDiscounts() bringt (logischerweise) keine Besserung.

Wie kann ich per EntityRepositoryInterface auch die Discounts auslesen ?
