Installation
P2Lab Stats is a regular Shopware 6 plugin. You install it the same way you install any other plugin — via the admin Extensions page or via Composer / the CLI.
Requirements
Section titled “Requirements”- Shopware 6.6 or 6.7 — separate plugin builds are distributed for each major. The 6.6 build constrains
shopware/coreto>=6.6 <6.7; the 6.7 build to~6.7.0. Pick the ZIP matching your Shopware version. - The standard Shopware async message worker running (used by CSV / PDF exports and cache warming)
Install via the admin (ZIP upload)
Section titled “Install via the admin (ZIP upload)”- Download the plugin ZIP (
P2LabStats_vX.Y.Z.zip) from your distribution source. - In the Shopware admin go to Extensions → My extensions → Upload extension and pick the ZIP.
- After upload, click Install next to the plugin entry.
- Click Activate.
- Open the Orders menu — you should now see a P2Lab Stats entry.
Install via CLI
Section titled “Install via CLI”If you have shell access to the Shopware host, copy the plugin into custom/plugins/P2LabStats and run:
bin/console plugin:refreshbin/console plugin:install --activate P2LabStatsbin/console cache:clearVerify the installation
Section titled “Verify the installation”- Open the Shopware admin.
- Go to Orders → P2Lab Stats — you should land on the Sales → Summary report.
- Go to Orders → Overview — a KPI widget with 4 order metrics should appear above the order list.
- Go to Customers → Overview — a KPI widget with 4 customer metrics should appear above the customer list.
If anything is missing, check:
- The plugin is activated (Extensions → My extensions)
- The admin cache has been cleared
- Your user role has access to the plugin
First-time configuration
Section titled “First-time configuration”Out of the box the plugin works with sensible defaults. Two things are worth setting up early:
- Stock thresholds — the low-stock / approaching / overstock thresholds affect the stock report colour-coding and the low-stock urgency tiers.
- Cache warming — heavy reports load instantly when warmed. Enable it as soon as you start using the module daily.
Both are covered in Configuration.
Where to find it
Section titled “Where to find it”| Location | What you’ll see |
|---|---|
| Orders → P2Lab Stats | The full module with sales, customer and product reports |
| Orders → Overview | KPI widget above the order list (8 metrics, 4 visible) |
| Customers → Overview | KPI widget above the customer list (8 metrics, 4 visible) |
| Settings → Plugins → P2Lab Stats | All plugin configuration |
Next: configure
Section titled “Next: configure”Continue to Configuration to set stock thresholds, choose which KPIs appear in the widgets and enable cache warming.