woocommerce/plugins/woocommerce-admin/docs/woocommerce.com/analytics-variations-report.md

75 lines
2.4 KiB
Markdown
Raw Normal View History

Add Variations Report (https://github.com/woocommerce/woocommerce-admin/pull/5167) * Add initial Variations Report to analytics feature. * Restrict query to variations when not specifying any product IDs. * Add route to get variations without specifying a parent. * Move variations table component to variations report directory. * Add missing LIMIT clause to variations report query. * Remove broken features from Variations table. * Add Variations report controller to CSV emailer. * Add initial Variation Stats endpoint, based on Product Stats. * Hook Variations Report components up to new stats endpoint. * Hook attribute filter up to variations report queries. * Remove variation title filter usage. See: https://github.com/woocommerce/woocommerce-admin/pull/5100 * Use filtered separator in variation name formatting. * Add "single variation" to variations report, fix autocompleter API request. * Fix segmentation by variation. * Add comparison to variations report. * Always include manually specified variations in report results. * Fix variations report table comparison mode. The ReportTable component expects the `filter` query param. * Fixing styling of compare button without table search component. * Add variation filter to Orders report. * Link orders count to orders report filtered by variation. * Orders report: include variation attributes in product names. * Further style tweaks for variations report download button. * Add variations filter to order stats query. * Clean up "category includes" login in REST controllers. Prep for "category excludes" in the Variations report. * Support category exclusion in report filters. * Fix filter param used by the variation report table component. * Add category filter to variations report. * Fix initial selected ReportTable rows when using non-default compareParam. * Add a new autocompleter for variable products. * Add products filter to variations report. * Fix tests. * Handle variation IDs that are no longer found. * Add documentation. * Use getSetting() instead of directly accessing window properties in client code. * Fix ordering Variations by SKU.
2020-09-25 13:57:48 +00:00
# Variations Report
The Variations Report provides insight into the sales performance of each Product Variation on your store.
### All Variations View
By default, the Variations Report displays the All Variations view. All Variations that have had sales in the specified date range will be shown.
![Variations Report All Variations View](images/analytics-variations-report.png)
### Single Variation View
![Variations Report Single Variation Search](images/analytics-variations-report-single-variation-search.png)
By selecting "Single Variation", you can search for a single variation to display report data for.
![Variations Report Single Variation View](images/analytics-variations-report-single-variation.png)
### Comparison Mode
![Variations Report Comparison Mode Search](images/analytics-variations-report-comparison-search.png)
By selecting "Comparison", you can search for multiple variations to display report data for.
![Variations Report Comparison Mode](images/analytics-variations-report-comparison.png)
You can also use the checkboxes in the report table to select variations for comparison. Click "Compare" in the table header to compare the selected variations.
### Advanced Filters
The advanced filters allow adding multiple filters to the report. These filters can be applied in two ways:
- All - Variations must match all filters to be included in the report
- Any - Variations must match one or more filters to be included in the report
![Orders Report Filter Matching](images/analytics-variations-filter-match.png)
The following fields can be used for filtering:
- Attribute (can be used multiple times)
- Product (parent product)
- Category
![Variations Report Advanced Filters](images/analytics-variations-report-advanced-filters.png)
### Report Columns
The report table contains the following columns:
- Variation Title - links to Edit Product screen
- SKU
- Items Sold (count)
- Net Sales
- Orders (count) - links to Orders Report filtered by Variation
- Status (in/out stock)
- Stock (inventory quantity)
### Report Sorting
The report table allows sorting by the following columns:
- SKU
- Items Sold (count)
- Net Sales
- Orders (count)
By default, the report sorts Variations by most items sold.
#### Clarifying Terms
"Net Sales" is calculated by subtracting refunds and coupons from the sale price of the variation(s).
As an equation, it might look like: `(variation price * quantity) - refunds - coupons`.