# API Produktvarianten alternative Darstellung für Auswahl

**URL:** <https://forum.shopware.com/t/api-produktvarianten-alternative-darstellung-fur-auswahl/69298>\
**Category:** Programmierung\
**Created:** [1. September 2020 um 07:32 UTC](https://forum.shopware.com/t/api-produktvarianten-alternative-darstellung-fur-auswahl/69298 "2020-09-01T07:32:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sknobloch](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@sknobloch](https://forum.shopware.com/u/sknobloch)\
**Post date:** [1. September 2020 um 07:32 UTC](https://forum.shopware.com/t/api-produktvarianten-alternative-darstellung-fur-auswahl/69298/1 "2020-09-01T07:32:33Z")

</div>

Hallo,  
habe für der Erstellung der Produktvarianten mich an diesem Artikel orientiert:&nbsp;[https://docs.shopware.com/en/shopware-platform-dev-en/admin-api-guide/writing-entities?category=shopware-platform-dev-en/admin-api-guide#configurator-handling](https://docs.shopware.com/en/shopware-platform-dev-en/admin-api-guide/writing-entities?category=shopware-platform-dev-en/admin-api-guide#configurator-handling)

Hat soweit gut geklappt und es wird auch alles angezeigt.

![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/d/d551157c328f68582d77307322ec06db4346c804.png)

Hätte aber noch gerne, dass die Größe als Dropdown-Liste angezeigt wird.  
Habe schon versucht die “representation” in der “configuratorGroupConfig” meines Parent-Produktes auf “dropdown” und “list” zu setzten, hat aber leider nichts geändert.

Ist “representation” hierfür das richtige Feld?

Danke vorab für jede Hilfe!

---

<div class="post-metadata">

**Author:** ![AlexGalax](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/alexgalax/32/9925_2.png) [@AlexGalax](https://forum.shopware.com/u/AlexGalax)\
**Post date:** [1. September 2020 um 08:01 UTC](https://forum.shopware.com/t/api-produktvarianten-alternative-darstellung-fur-auswahl/69298/2 "2020-09-01T08:01:19Z")

</div>

`representation` ist richtig; gültig sind: `box`, `select`, `image`, `color`

---

<div class="post-metadata">

**Author:** ![sknobloch](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@sknobloch](https://forum.shopware.com/u/sknobloch)\
**Post date:** [1. September 2020 um 14:09 UTC](https://forum.shopware.com/t/api-produktvarianten-alternative-darstellung-fur-auswahl/69298/3 "2020-09-01T14:09:31Z")

</div>

Hm hab jetzt die representation der Farbe auf color gesetzt und die Größe auf select, werden aber beide immer noch als box angezeigt.  
Wird das noch von anderer Stelle beeinflusst?
