# Wie wird die Konfiguration in einer Bestellung gespeichert?

Die Bestelldaten werden pro Position (technisch LineItem) gespeichert. Der Konfigurator legt die Werte sowohl im von Shopware vorgesehenen "options"-Feld ab als auch in einem eigenen Feld "neon\_configurator", das mit mehr Informationen angereichert ist.

### Beispiel

Die folgende Konfiguration enthält drei Felder. Diese werden im Warenkorb so dargestellt:

<figure><img src="/files/engHSTR2W6x1dyNwelwC" alt="" width="346"><figcaption><p>Beispiel-Warenkorb</p></figcaption></figure>

#### Payload-Feld "options"

Das ist das Shopware-Standard-Feld. Die technische Ausgabe mit \
\&#xNAN;**{{ dump(lineItem.payload.options) }}** ergibt:

<figure><img src="/files/OyaT8eRddR8UiEj1UAAu" alt="" width="364"><figcaption></figcaption></figure>

#### Payload-Feld "neon\_configurator"

Dieses Feld fügt der Konfigurator ein. Hier sind mehr Daten gespeichert. Die Ausgabe mit **{{ dump(lineItem.payload.neon\_configurator) }}** ergibt:

<figure><img src="/files/xkueMMJztYaEcSozi48Z" alt="" width="347"><figcaption></figcaption></figure>

## Berechnetes Gewicht

Der Konfigurator speichert das berechnete Gewicht automatisch im dafür vorgesehenen Feld eines OrderLineItems ab. Damit besteht die größtmögliche, automatische Kompatibilität zu Dritthersteller-Plugins. Der Zugriff darauf erfolgt mittels folgendem Code:&#x20;

```php
$lineItem->getDeliveryInformation()->getWeight();
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.neonlines.de/artikel-konfigurator/weitere-funktionen/wie-wird-die-konfiguration-in-einer-bestellung-gespeichert.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
