# Ausgabe Freitextfeld Varianten Detailseite (Gelöst)

**URL:** <https://forum.shopware.com/t/ausgabe-freitextfeld-varianten-detailseite-gelost/53210>\
**Category:** Allgemein\
**Created:** [30. Mai 2018 um 13:38 UTC](https://forum.shopware.com/t/ausgabe-freitextfeld-varianten-detailseite-gelost/53210 "2018-05-30T13:38:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pgrob](https://avatars.discourse-cdn.com/v4/letter/p/439d5e/32.png) [@pgrob](https://forum.shopware.com/u/pgrob)\
**Post date:** [30. Mai 2018 um 13:38 UTC](https://forum.shopware.com/t/ausgabe-freitextfeld-varianten-detailseite-gelost/53210/1 "2018-05-30T13:38:06Z")

</div>

Hallo Miteinander,

Ich habe Probleme bei der Ausgabe eines Freitextfeldes bei den Varianten auf der Detailseite.  
Freitextfeld «hexcolor» wurden unter «s\_article\_configurator\_options\_attributes» erstellt und abgefüllt.  
Im Dump wird die Variable auch ausgegeben siehe Screenshot.

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

Wenn ich im Template config\_upprice.tpl die Ausgabe der Varianten durch «{$configValue.attributes.core-\>get(‚hexcolor‘)}» oder „{$sConfigurator.attributes.core-\>get(‚hexcolor‘)}}“ ergänze erhalte ich aber eine weisse Seite. Kann mir hier vielleicht jemand helfen wie die Ausgabe korrekt lauten sollte?

Freundliche Grüsse  
P.Grob

&nbsp;

EDIT: Anbei die Lösung

```
{foreach $configValue.attributes as $configValue_attribute}
{if $configValue_attribute->get('hexcolor')}
{$configValue_attribute->get('hexcolor')}
{/if}
{/foreach}

```

&nbsp;
