Coupon codes with percentage and fixed discounts for Payload ecommerce carts
Sales Reports
Sales totals by period, product and customer for Payload ecommerce stores
Installation
pnpm add payload-sales-reports About
Sales Reports totals what an ecommerce store has sold, grouped by period, product and customer. It reads the orders your store already keeps, so it adds no collection, field or hook to the database. Each figure is an integer in minor currency units, and every currency gets its own row, so two currencies are never added together. You choose which order statuses count as a sale, and paid and completed orders count by default.
The figures come back as data for your own code or as read-only endpoints. The package ships no admin view, so any dashboard is built in your own project. Per-product revenue appears only when order lines store a price, which the standard ecommerce setup does not do.
Package info
- Package name
payload-sales-reports- Latest version
1.0.2- Unpacked size
- 37 kB
- License
- MIT
- Weekly downloads
- 205
- Last publish
- Nov 17, 2026
More from Poseidonas
View profileSells digital products with signed download links that expire and stop on refund
Adds order states, status history, internal notes and tracking to orders
Sends transactional emails when orders are created or change status
Sequential, human readable order numbers that stay unique under concurrency
Records full and partial refunds per order line, with optional restock and audit trail