Export
Every report can be exported to CSV or PDF from the Export button in the page header. Exports run as background jobs via the standard Shopware messenger worker so big ranges don’t tie up the browser.
How to export
Section titled “How to export”- Open the report and configure filters, date range, sort and view-mode as you want them exported.
- Click Export in the report header.
- Pick CSV or PDF.
- A progress modal appears with the row count being processed.
- When the job finishes, a download link appears in the modal and on the P2Lab Stats → Exports page.
The export captures the report exactly as you see it — filters, sort, view-mode and table-type are preserved.
CSV format
Section titled “CSV format”- UTF-8 with BOM (compatible with Excel)
- Comma-separated, double-quoted strings
- Number formatting respects the shop’s locale (decimal / thousand separator)
- Date columns use ISO-8601 (
YYYY-MM-DD) - Each KPI and the chart series are exported as separate sections in the same file when applicable
PDF format
Section titled “PDF format”- Page-formatted print layout: header with date range and filters, KPI cards block, chart image, full table
- Page size matches the Shopware admin’s default print configuration
- Multi-page output for large tables; KPIs and chart are on the cover page
Exports page
Section titled “Exports page”Open P2Lab Stats → Exports to see every export job started by your user — running, finished or failed.
Each row shows:
- Report key (e.g.
sales.country) - Format (CSV / PDF)
- Status (queued / processing / finished / failed)
- Row count
- Created at / finished at
- Download link (until purged)
Failed jobs include an error message — typically a timeout or an out-of-memory condition. Re-run with a tighter filter to reduce the row count.
Retention
Section titled “Retention”Completed export jobs are retained for the period configured in Settings → Plugins → P2Lab Stats → Advanced → Optimization → Export progress retention. After expiry, the download link is purged and the row disappears from the Exports page.
Tips & gotchas
Section titled “Tips & gotchas”Related
Section titled “Related”- Reports overview
- Cache warming — exports also benefit from a warm cache
- Troubleshooting