Class WC_Report_Sales_By_Product

WC_Report_Sales_By_Product

WC_Admin_Report
Extended by WC_Report_Sales_By_Product
Package: WooCommerce\Admin\Reports
Category: Admin
Author: WooThemes
Version: 2.1.0
Located at includes/admin/reports/class-wc-report-sales-by-product.php

Methods summary

public
# __construct( )

Constructor

Constructor

public array
# get_chart_legend( )

Get the legend for the main chart sidebar

Get the legend for the main chart sidebar

Returns

array

Overrides

WC_Admin_Report::get_chart_legend
public
# output_report( )

Output the report

Output the report

Overrides

WC_Admin_Report::output_report
public array
# get_chart_widgets( )

[get_chart_widgets description]

[get_chart_widgets description]

Returns

array

Overrides

WC_Admin_Report::get_chart_widgets
public
# current_filters( )

Show current filters

Show current filters

public
# products_widget( )

Product selection

Product selection

public
# get_export_button( )

Output an export link

Output an export link

Overrides

WC_Admin_Report::get_export_button
public string
# get_main_chart( )

Get the main chart

Get the main chart

Returns

string

Overrides

WC_Admin_Report::get_main_chart

Methods inherited from WC_Admin_Report

calculate_current_range(), get_order_report_data(), prepare_chart_data(), sales_sparkline()

Magic methods summary

Properties summary

public array $chart_colours
#
public array $product_ids
#

Properties inherited from WC_Admin_Report

$barwidth, $chart_groupby, $chart_interval, $end_date, $group_by_query, $start_date

WooCommerce API documentation generated by ApiGen 2.8.0