Advanced Order Export for WooCommerce

Tweak email

Need export emails sent to customers? Dynamic subject lines? Order details in the body?

Here’s how.

Send export to the customer

By default, exports email to the store owner. This adds the customer too.

What it does: Customer receives the same export file as you.

When you need it: Order confirmation PDFs. Digital delivery receipts. Automated packing slips.

Warning: Customers see everything in your export. Filter sensitive columns first.

Add company name to email subject

Use {billing_company} as a tag. It gets replaced automatically.

Setup: In your email settings, set subject to Order export for {billing_company}. Code fills in the company name.

Add current date to subject

Example subject: Export sent on {date_sent} becomes Export sent on 19/05/26.

Pro tip: Change d/m/y to Y-m-d for international format.

Add order number to filename

Setup: In filename settings, use export-{ordernumber}.csv. Each export gets a unique name.

Real example: export-1001.csvexport-1002.csv. No more overwriting.

Add previous month and year to filename

Setup: Use sales-{prev_mon}-{prev_year}.csv. For May 2026 export, filename becomes sales-04-2026.csv.

Perfect for: Monthly reports. Scheduled exports.

Add order total sum to email

Use in: Email subject or body. {sum_of_orders} becomes 1250.00.

When you need it: Daily sales reports. Weekly summaries. Accountant notifications.

Add full order details to email body

What you get: Email contains order summary. No need to open attachment.

Real example:

Pro tip: Add more fields. Billing email. Payment method. Order total. Just copy the pattern.

Where to put these snippets

Add to your theme’s functions.php. Use one or combine several.

Advanced Order Export for WooCommerce handles the export. These snippets modify emails before sending.

Common mistake

Using {ordernumber} in filename but not adding the replacement code. The tag stays literal. File saves as export-{ordernumber}.csv.

Always add the corresponding code snippet for each tag.

Pro tip

Combine multiple tags. Subject like Order {ordernumber} for {billing_company} - sent {date_sent}.

Test with a single order first. Verify replacements work. Then run bulk exports.

Real talk

Email tweaks save time. No more manual renaming files. No more “which customer was this for?”

Start with one tag. Add more as needed. Your team will wonder how they lived without it.

Have questions? Please submit a support request. We're always happy to help!

Advanced Order Export
for WooCommerce
PRO

From $30
Buy
✓ 30-day money-back guarantee