Skip to content

Profile editor

The profile editor is the drag-and-drop UI that powers every block under Settings → Quick Editor & List Enhancer → List Enhancer. One editor instance is shown per list (one for the product list, one for the variants overview, one for the order list, one for the line-items grid).

Each editor renders the current profile as a vertical stack of lines. A line is one row in the grid, and inside it you place one or more fields — the cells of that row.

For each field you control:

  • Source field — which entity field or association feeds the column (e.g. product.name, product.manufacturer.name).
  • Label — header text. Empty falls back to the field’s default snippet label.
  • Width, alignment and other display options surfaced by the field’s source entity.

A list that has no profile yet shows an empty state with one button — Add first line. Click it to create line 1 and open the field picker.

From the field picker you choose what to add. The source-entity dropdown is filtered to the entity that powers the current list (product, order, order_line_item). Pick a field, optionally a deeper association path, and click Done.

Click a field’s pencil to open it in the modal. Change the label, width or other display options, then Done to save. Clicking outside the modal without saving keeps the previous value.

Two ways:

  • Drag a line by the handle on its left edge — drop it above or below another line.
  • Drag a field inside a line to swap it with another field, or onto a different line to move it there.

The plugin uses Shopware’s native drag-and-drop directives, so the visual cues (drop indicators, valid/invalid hover states) match the rest of the administration.

Inside a line, click the small remove icon on a field. The line stays put. To remove a whole line, remove its last field — the line collapses with it.

The editor is wired into the page’s top-right Save button. Nothing is persisted until you click Save. Tab switches with unsaved changes open a confirmation modal so you can either discard or go back.

The editor stores its result under a list-specific configuration key (one per built-in grid). A profile you build on the product list does not carry over to the variants overview or the order list — each grid is configured independently.