Categories
CMS Development Wordpress

Item missing in woocommerce report

This woocommerce report only displaying one product name but there customer has multiple items ordered: I want see all product names // Prevent plugins from overriding the order status filter add_filter(‘woocommerce_reports_order_statuses’, ‘hm_psrf_report_order_statuses’, 9999); // Based on woocoommerce/includes/admin/reports/class-wc-report-sales-by-product.php $sold_products = $wc_report->get_order_report_data(array( ‘data’ => array( ‘_product_id’ => array( ‘type’ => ‘order_item_meta’, ‘order_item_type’ => ‘line_item’, ‘function’ => ”, […]

Categories
CMS Development Wordpress

Woocommerce sales report doe not display all product names and customer notes

I’m trying to work on this woocommerce report that shows only one product name but there is customers order multiple products: Also i want to show customer notes in this report Please help <?php /** * Plugin Name: Custom Order Report * Description: Generates a report on individual WooCommerce products sold during a specified time […]