Write WordPress plugin called "studiou-wc-custom-reports" in PHP, that extends WooCommerce plugin. Plugin will have following features: 1. Add new page to menu WooCommerce/Reports that shows custom overviews according to order, product, product categories 2. On new created page named "Custom Reports" will following main controls, that manage current view: - View - current type of view (data to be shown) - Date From (date from interval) - initialy set from default - Date To (date to interval) - initialy set from default - Included statuses (defines set of statuses include all) - Items per page - Paged grid with sortable columns - Button called "Export" to export shown data to .csv file 3. Add new page to menu WooCommerce/Reports Settings to show studiou-wc-custom-reports settings 4. On new created page "Custom Report settings" will be following controls: - Combo box called "Default shown interval" (shows default interval calculated from now for initial filter) with following values: "Last day", "Last week", "Last month" - Combo box called "Default property" (shows list of properties to use in filter) contailns list of properties - Default Included statuses (defines set of statuses include all) - Button called "Save Settings" 5. View "Product Categories and Variants Summary" Query: - from orders in filter interval (Date From,Date To), that has status defined in filter (Included statuses) - all products from previous - all variants from previous that has property defined in Default property - select aggregate property, sum(price) Columns: Product category Orders count (dynamic columns by Property values) Count Total price 6. Plugin will have following header: /** * Plugin Name: QDR - Studiou WC Custom Reports * Plugin URI: https://www.quadarax.com/plugins/studiou-wc-custom-reports * Description: Allows view WooCommerce/Reports that shows custom overviews according to order, product, product categories, properties * Version: 1.0.0 * Requires at least: 6.8.1 * Requires PHP: 8.2 * Author: Dalibor Votruba * Author URI: https://www.quadarax.com * License: GPL v2 or later * License URI: https://www.gnu.org/licenses/gpl-2.0.html * Text Domain: studiou-wc-custom-reports * Domain Path: /languages * WC requires at least: 9.0 * WC tested up to: 9.9 * Woo: 12345:342928dfsfhsf8429842374wdf4234sfd */