Skip to content

Configuration storage

P2Lab Quick Editor uses Shopware’s native system_config for everything. There is no custom table. Backups, environment promotion, and per-sales-channel overrides therefore behave exactly like any other Shopware system setting.

The plugin writes under three configuration domains:

DomainStored fromContents
P2LabQuickProductEditor.coreDashboard tabGlobal toggles.
P2LabQuickProductEditor.qe_productsQuick Editor → ProductsEditing mode, shortcuts, auto-confirmation, “Hide show variants”.
P2LabQuickProductEditor.le_productsList Enhancer → ProductsProfiles for the product list and the variants overview.
P2LabQuickProductEditor.le_ordersList Enhancer → OrdersProfiles for the order list and the order line items grid.

The qe_ prefix maps to Quick Editor blocks, le_ maps to List Enhancer blocks. Adding more blocks of either kind would follow the same naming scheme.

Maps 1:1 to the form on the Quick Editor → Products tab:

KeyTypeDefaultPurpose
modestring (singleClick | doubleClick)doubleClickEditing mode.
activeShortcutsboolfalseEnable Enter / Esc shortcuts.
autoConfirmationboolfalseAuto-confirmation on row switch.
hideShowVariantsboolfalseHides the native “Show variants” toggle in the product listing settings.

Each List Enhancer block stores its profile as a structured value — an ordered list of lines, each holding ordered fields. The shape is owned by the p2lab-qpe-config-list-enhancer-profile component and is not meant to be hand-edited; use the Profile editor.

If you need to ship a profile between environments, export the matching system_config row(s) and import them on the target. Domain plus the per-block key uniquely identifies a profile.

The settings UI hides the sales-channel switcher (sales-channel-switchable: false) — every value is stored as the global default. This matches the plugin’s behaviour: it customises the administration, which is one place per Shopware instance, not per sales channel.

To wipe the plugin’s configuration:

Terminal window
bin/console database:execute "DELETE FROM system_config WHERE configuration_key LIKE 'P2LabQuickProductEditor.%'"
bin/console cache:clear

After cache clear the UI reverts to defaults — double-click mode, no shortcuts, no auto-confirmation, empty profiles (lists show their native Shopware columns).