---
title: "Export Customers Who Bought a Specific WooCommerce Product"
url: "https://wpimportexport.com/export-customers-who-bought-product-woocommerce/"
description: "Export the customers who bought one WooCommerce product, with names, emails and only that product's order line, for a recall or an update."
type: post
published: 2026-11-24T09:00:00+00:00
modified: 2026-11-11T11:15:27+00:00
categories: ["Export Guides", "Tutorials", "WooCommerce"]
tags: ["CSV Export", "Import Export by RockStarLab", "WooCommerce"]
docs_topics: ["Export guides", "WooCommerce"]
---

# Export Customers Who Bought a Specific WooCommerce Product

A product gets a new color, a recall, or a care tip worth sharing, and you want to reach everyone who bought it. WooCommerce shows you orders, not buyers of one product. With **Import Export by RockStarLab PRO**, you export the orders that contain the product, with one row per buyer and only that product’s line, ready for your email tool.

**PRO:** the WooCommerce Orders export. Use PRO 2.1.17 or newer: it finds the product in orders with several items.

## What you get

- One row for each order that contains the product, with the order number, date and status.
- The customer’s first name, last name and email.
- Only the line of that product and its quantity, even when the order has other items.

## Step 1: Filter the orders by product

Open **Import Export → Export**, choose **WooCommerce Orders** and click **Next Step**. Click **Add Filter** and set **Item Name**, **Equals**, the product name. We also left out cancelled orders with a second filter: **Status**, **Not Equals**, `cancelled`.

![Orders export filters: Item Name equals Beanie and Status not equals cancelled, 3 orders](https://wpimportexport.com/wp-content/uploads/2026/11/01-filter-item-name.webp)

_Orders with the Beanie, without cancelled orders._

Our store has 8 orders. The filter found the 3 orders with the Beanie that were not cancelled. Two of them have other products too.

**Equals** matches the exact name, so “Beanie” doesn’t match “Beanie with Logo”. Use **Contains** to include similar names, or **Item Product ID** to match one product by its ID.

## Step 2: Choose the columns

In **Select Fields**, add **Order Number**, **Order Date**, **Status**, **First Name**, **Last Name**, **Email**, **Item Name** and **Item Quantity**.

## Step 3: One row per order item

In the last step, choose Excel or CSV and tick **One row per order item**:

![Export option Order items: One row per order item, ticked](https://wpimportexport.com/wp-content/uploads/2026/11/02-one-row-per-item.webp)

_One row per order item keeps only the matching product lines._

With an item filter, only the matching items get a row. Without this option, the Item columns list every item of the order in one cell.

## The result

Click **Start Export** and download the file. Our export has 3 buyers, each with the Beanie line only:

![Spreadsheet: three orders with Beanie lines, customer names and emails Liam Novak, Sofia Rossi, Emma Brooks](https://wpimportexport.com/wp-content/uploads/2026/11/03-beanie-buyers.webp)

_The buyers of the Beanie with their emails._

Order 2007 also has a T-Shirt and a Cap, and order 2005 has a Beanie with Logo, but those lines are not in the file.

## Tips

- **Repeat buyers.** A customer who bought the product twice has two rows. In Excel, use **Data → Remove Duplicates** on the Email column for a list of people.
- **A date range.** Add a filter on **Order Date** to reach only recent buyers.
- **Variable products.** Use **Item Product ID** with the ID of the parent product to find the buyers of every variation.
- **Consent.** Use the list for service messages such as a recall, and for marketing only to customers who agreed to receive it.
- **Every order line.** For all products of all orders, see [exporting orders with one row per item](https://wpimportexport.com/export-woocommerce-orders-one-row-per-item/).

The export doesn’t change your orders. If you later import changes back, [back up the store](https://wpimportexport.com/how-to-create-a-wordpress-website-backup-and-restore-it/) first, or ask your AI agent to start the backup.

## With an AI agent

An AI agent connected to the store through the WordPress MCP Adapter (see [connecting Claude Code to WordPress](https://wpimportexport.com/connect-claude-code-to-wordpress-mcp/)) can build the same list:

```
List the customers who bought the Beanie, without cancelled orders, with their emails.
```

In our run, the agent called `rsl-ie-pro/export-preview` for WooCommerce orders with the Item Name and Status filters and one row per item. It returned Liam Novak (3 beanies), Sofia Rossi and Emma Brooks with their emails.

## FAQ

### Does it find the product in orders with several items?

Yes, from PRO 2.1.17. An order matches when one of its items matches the filter.

### Can I export customers of several products at once?

Yes. Use **Item Name**, **In**, and the names separated by commas, for example `Beanie, Cap`. With one row per item, each matching product gets its own row.

### Are guest orders included?

Yes. The name and email come from the billing details of each order, so guests are in the list too.

### Does the export change my orders?

No. It only reads them.

## Related Guides

- [Export WooCommerce Orders with One Row per Order Item](https://wpimportexport.com/export-woocommerce-orders-one-row-per-item/)
- [Export Your Top WooCommerce Customers by Total Spent](https://wpimportexport.com/export-top-woocommerce-customers-by-spend/)
- [Export WooCommerce Orders to CSV or Excel: Complete Guide](https://wpimportexport.com/how-to-export-all-woocommerce-orders-into-csv-or-excel/)

Get the free plugin on [WordPress.org](https://wordpress.org/plugins/import-export-by-rockstarlab/).
