LAFU Sales Reports for WooCommerce
·
Scheduled CSV and PDF WooCommerce order reports by email with HPOS support.
LAFU Sales Reports for WooCommerce sends order summaries on the days you choose each month. Reports include paid orders in a clear from–through date range (site timezone), with CSV and PDF attachments.
Features
- CSV and PDF exports with payment method, tax total, and order total.
- Comma-separated To / Cc / Bcc recipients and customizable email subject.
- Day-of-month schedule (1–28) with a repeater UI.
- Manual send with optional custom date range (month-to-date by default).
- Report filters by payment method, customer, product, or category.
- Customization tab for column labels and payment method names.
- Logs tab and JSON settings export/import.
- HPOS compatible — works with WooCommerce custom order tables.
wp_maildelivery (SMTP plugins supported).
WooCommerce
Requires WooCommerce 7.0+. Tested with WooCommerce 9.8 and WordPress 7.0.
For developers
The plugin exposes a small, stable API so other plugins can reuse the report engine. The plugin itself still ships and uses a single report; these are extension points only.
LAFU_SRFW_Plugin::run_report( array $settings, string $mode = 'manual', array $range = null )— generate and email a report from your own settings array.LAFU_SRFW_Plugin::get_report_setting_defaults()— the default settings shape.LAFU_SRFW_Plugin::sanitize_report_settings( array $data )— sanitize an arbitrary settings array into the canonical shape.LAFU_SRFW_Plugin::compute_report_range( array $settings, bool $is_manual = false )— the date range a report would use.do_action( 'lafu_srfw_run_scheduled_reports', int $today_dom )— fires daily so add-ons can run extra scheduled reports.
The global instance is available as $GLOBALS['lafu_srfw_plugin'].