# Custom Field (Price) funktioniert nicht

**URL:** <https://forum.shopware.com/t/custom-field-price-funktioniert-nicht/101948>\
**Category:** Programmierung\
**Tags:** general, administration, programming\
**Created:** [16. November 2023 um 21:37 UTC](https://forum.shopware.com/t/custom-field-price-funktioniert-nicht/101948 "2023-11-16T21:37:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marius.wang](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/marius.wang/32/19708_2.png) [@marius.wang](https://forum.shopware.com/u/marius.wang)\
**Post date:** [16. November 2023 um 21:37 UTC](https://forum.shopware.com/t/custom-field-price-funktioniert-nicht/101948/1 "2023-11-16T21:37:53Z")

</div>

Ich erstell Custom Fields für unsere Produkte. Ich möchte ein Price Fields hinzufügen, aber es funktioniert nicht richtig. Die Currency ID fehlt und die Eingabefelder sind nicht funktionsfähig. Vielleicht hat jemand eine Idee 🙂

```auto
[
    'id' => $this->getCustomFieldId('price'),
    'name' => 'price',
    'type' => CustomFieldTypes::PRICE,
    'config' => [
        'componentName' => 'sw-price-field',
        'customFieldType' => 'price',
        'label' => [
            'en-GB' => 'Price',
            'de-DE' => 'Preis',
        ],
        'customFieldPosition' => 1
    ],
]

```
