

Create a sales agent user with the Ni Sales Agent role.
Ni WooCommerce Sales Report By User Role links every WooCommerce order to a sales agent (salesperson) and shows how much each agent sells. Choose any WordPress user role as your sales team, assign an agent on the order screen, and get a sales dashboard, a product-wise sales report and a sales agent report — all filtered by date period and agent.
It is built for stores that sell through sales representatives, field agents, resellers, phone or in-store staff, and for anyone who needs a simple WooCommerce sales report by user, by salesperson or by user role.
The plugin is fully compatible with WooCommerce High-Performance Order Storage (HPOS) and with the legacy WordPress posts storage, including compatibility (sync) mode. Reports read the active order tables directly with optimised SQL, so they stay fast on large stores, and the sales agent is stored as standard WooCommerce order meta.
Reports and settings are available only to administrators, requests are protected with nonces, user input in database queries is validated and prepared, and report output is escaped.
ni_sales_agent_report_order_statuses – filter the order statuses included in reports (default: wc-processing, wc-on-hold, wc-completed).ni_sales_agent_report_columns, nisabur_sales_product_report_columns and nisabur_sales_product_report_data – customise report columns and rows.Get Ni WooCommerce Sales Agent and Sales Commission for agent commission reports, CSV export of all reports and a separate login for sales agents.
It is not responsible for any harm or wrong doing this Plugin may cause. Users are fully responsible for their own use. This Plugin is to be used WITHOUT warranty.