
內容簡介
Sales by State Report for Easy Digital Downloads 是一款專為 Easy Digital Downloads 設計的外掛,能夠提供按州、縣或省份分組的淨銷售和總銷售報告,幫助商店經理了解各州的銷售情況,便於銷售稅或區域規劃。
【主要功能】
• 按州顯示淨銷售和總銷售數據
• 支援選擇國家、年份及訂單狀態
• 自動複製現有訂單至報告表格
• 可排序的欄位和分頁結果
• 顯示無銷售的州為零而非隱藏
外掛標籤
開發者團隊
② 後台搜尋「Sales by State Report for EDD」→ 直接安裝(推薦)
原文外掛簡介
Sales by State Report for Easy Digital Downloads adds a report showing net and gross sales grouped by state, county, or province, for a chosen year and a chosen set of order statuses.
It appears under Downloads → Sales by State. Shop managers can also rebuild the report table from Downloads → Tools → Sales by State.
Use it when you need to know how much each state bought in a given year, counting only the order statuses that matter for sales tax or territory planning.
This plugin is an Easy Digital Downloads extension. It requires Easy Digital Downloads 3.0 or later. There are no settings screens to configure. After you activate the plugin, open the report and choose a country, year, and order statuses.
Documentation: salesbystate.com
How to use
Install and activate Easy Digital Downloads, then install and activate this plugin.
Go to Downloads → Sales by State.
Choose a country, a year, and the order statuses that should count.
The table lists Net Sales and Gross Sales for every state in that country.
If the store already has orders, the plugin copies them into its report table in the background. A progress bar appears until that finishes. You can leave the page; the copy continues on its own.
What the report shows
Net Sales and Gross Sales for every state in the selected country
A summary of both figures across all states
Sortable columns and paginated results
States with no sales, shown as zero rather than hidden
Filters
Country — United States, Canada, and the United Kingdom. Defaults to the store’s business country.
Year — a rolling list that starts ten years back and gains a year each January without dropping one. Defaults to the current year.
Order status — a checkbox list of EDD order statuses. Defaults to Completed.
How the figures are calculated
Gross Sales is the order total. Net Sales is the order total minus tax. Shipping is not part of Easy Digital Downloads core, so it is stored as zero. Both use the values EDD stores on the order.
Refunds are not modelled as separate records. An EDD refund order (type = refund) is ignored. An order that has been fully refunded is controlled by the status filter. A partial refund is not deducted from its order’s total.
Performance
Sales for a whole year are answered by one indexed query that returns one row per state. The response size does not grow with the number of orders.
Data and privacy
The plugin creates one custom database table holding, per order: the order ID, order status, creation and completed dates, billing country and state codes, currency, and the order, tax, shipping and net totals. It stores no names, addresses, email addresses or any other personal data.
Nothing is sent anywhere. The plugin makes no external HTTP requests, includes no third-party services, and collects no analytics or telemetry.
Deleting the plugin removes the table and its options.
