Skip to content

Instantly share code, notes, and snippets.

@bekarice
Created September 15, 2016 07:56
Show Gist options
  • Save bekarice/540efc5497f32b73f4533fafa7a96cac to your computer and use it in GitHub Desktop.
Save bekarice/540efc5497f32b73f4533fafa7a96cac to your computer and use it in GitHub Desktop.
WooCommerce Customer / Order XML Export: legacy format
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Orders>
<Order>
<OrderId>188</OrderId>
<OrderNumber></OrderNumber>
<OrderDate>2016-09-15 03:17:00</OrderDate>
<OrderStatus>completed</OrderStatus>
<BillingFirstName>Skyler</BillingFirstName>
<BillingLastName>White</BillingLastName>
<BillingFullName>Skyler White</BillingFullName>
<BillingCompany></BillingCompany>
<BillingAddress1>308 Negra Arroyo Lane</BillingAddress1>
<BillingAddress2></BillingAddress2>
<BillingCity>Albuquerque</BillingCity>
<BillingState>NM</BillingState>
<BillingPostCode>87104</BillingPostCode>
<BillingCountry>US</BillingCountry>
<BillingEmail>skylar@mailinator.com</BillingEmail>
<BillingPhone>123986987</BillingPhone>
<ShippingFirstName>Skyler</ShippingFirstName>
<ShippingLastName>White</ShippingLastName>
<ShippingFullName>Skyler White</ShippingFullName>
<ShippingCompany></ShippingCompany>
<ShippingAddress1>308 Negra Arroyo Lane</ShippingAddress1>
<ShippingAddress2></ShippingAddress2>
<ShippingCity>Albuquerque</ShippingCity>
<ShippingState>NM</ShippingState>
<ShippingPostCode>87104</ShippingPostCode>
<ShippingCountry>US</ShippingCountry>
<ShippingMethodId>flat_rate</ShippingMethodId>
<ShippingMethod>Flat Rate</ShippingMethod>
<PaymentMethodId>cheque</PaymentMethodId>
<PaymentMethod>Cheque Payment</PaymentMethod>
<DiscountTotal>0</DiscountTotal>
<ShippingTotal>3.99</ShippingTotal>
<ShippingTaxTotal>0</ShippingTaxTotal>
<OrderTotal>73.99</OrderTotal>
<FeeTotal>0</FeeTotal>
<TaxTotal>0</TaxTotal>
<CompletedDate>2016-09-15 03:22:26</CompletedDate>
<CustomerNote></CustomerNote>
<CustomerId>6</CustomerId>
<OrderLineItems>
<OrderLineItem>
<Id>94</Id>
<Name>Patient Ninja</Name>
<ProductId>50</ProductId>
<SKU>patient-ninja</SKU>
<Quantity>1</Quantity>
<Price>35.00</Price>
<Subtotal>35.00</Subtotal>
<SubtotalTax>0.00</SubtotalTax>
<Total>35.00</Total>
<TotalTax>0.00</TotalTax>
<Refunded>0.00</Refunded>
<RefundedQuantity>0</RefundedQuantity>
<Meta></Meta>
<Taxes/>
</OrderLineItem>
<OrderLineItem>
<Id>95</Id>
<Name>Ninja Silhouette</Name>
<ProductId>56</ProductId>
<SKU>ninja-silhouette</SKU>
<Quantity>1</Quantity>
<Price>35.00</Price>
<Subtotal>35.00</Subtotal>
<SubtotalTax>0.00</SubtotalTax>
<Total>35.00</Total>
<TotalTax>0.00</TotalTax>
<Refunded>0.00</Refunded>
<RefundedQuantity>0</RefundedQuantity>
<Meta>Size: Medium,
Color: Black</Meta>
<Taxes/>
</OrderLineItem>
</OrderLineItems>
<OrderNotes>
<OrderNote>
<Date>2016-09-15 03:35:39</Date>
<Author>WooCommerce</Author>
<Content>Order exported to XML and successfully uploaded to server.</Content>
</OrderNote>
<OrderNote>
<Date>2016-09-15 03:22:26</Date>
<Author>root</Author>
<Content>Order status changed from On Hold to Completed.</Content>
</OrderNote>
<OrderNote>
<Date>2016-09-15 03:17:47</Date>
<Author>WooCommerce</Author>
<Content>Awaiting cheque payment Order status changed from Pending Payment to On Hold.</Content>
</OrderNote>
</OrderNotes>
</Order>
<Order>
<OrderId>187</OrderId>
<OrderNumber></OrderNumber>
<OrderDate>2016-09-15 03:16:28</OrderDate>
<OrderStatus>processing</OrderStatus>
<BillingFirstName>Hank</BillingFirstName>
<BillingLastName>Schrader</BillingLastName>
<BillingFullName>Hank Schrader</BillingFullName>
<BillingCompany></BillingCompany>
<BillingAddress1>4309 Cumbre del Sol Ct NE</BillingAddress1>
<BillingAddress2></BillingAddress2>
<BillingCity>Albuquerque</BillingCity>
<BillingState>NM</BillingState>
<BillingPostCode>87111</BillingPostCode>
<BillingCountry>US</BillingCountry>
<BillingEmail>schraderbrau@mailinator.com</BillingEmail>
<BillingPhone>5551236785</BillingPhone>
<ShippingFirstName>Hank</ShippingFirstName>
<ShippingLastName>Schrader</ShippingLastName>
<ShippingFullName>Hank Schrader</ShippingFullName>
<ShippingCompany></ShippingCompany>
<ShippingAddress1>4309 Cumbre del Sol Ct NE</ShippingAddress1>
<ShippingAddress2></ShippingAddress2>
<ShippingCity>Albuquerque</ShippingCity>
<ShippingState>NM</ShippingState>
<ShippingPostCode>87111</ShippingPostCode>
<ShippingCountry>US</ShippingCountry>
<ShippingMethodId>flat_rate</ShippingMethodId>
<ShippingMethod>Flat Rate</ShippingMethod>
<PaymentMethodId>cheque</PaymentMethodId>
<PaymentMethod>Cheque Payment</PaymentMethod>
<DiscountTotal>0</DiscountTotal>
<ShippingTotal>3.99</ShippingTotal>
<ShippingTaxTotal>0</ShippingTaxTotal>
<OrderTotal>56.99</OrderTotal>
<FeeTotal>0</FeeTotal>
<TaxTotal>0</TaxTotal>
<CompletedDate>2016-09-15 03:20:42</CompletedDate>
<CustomerNote></CustomerNote>
<CustomerId>5</CustomerId>
<OrderLineItems>
<OrderLineItem>
<Id>91</Id>
<Name>Happy Ninja</Name>
<ProductId>37</ProductId>
<SKU></SKU>
<Quantity>1</Quantity>
<Price>18.00</Price>
<Subtotal>18.00</Subtotal>
<SubtotalTax>0.00</SubtotalTax>
<Total>18.00</Total>
<TotalTax>0.00</TotalTax>
<Refunded>0.00</Refunded>
<RefundedQuantity>0</RefundedQuantity>
<Meta></Meta>
<Taxes/>
</OrderLineItem>
<OrderLineItem>
<Id>92</Id>
<Name>Happy Ninja</Name>
<ProductId>53</ProductId>
<SKU>happy-ninja-2</SKU>
<Quantity>1</Quantity>
<Price>35.00</Price>
<Subtotal>35.00</Subtotal>
<SubtotalTax>0.00</SubtotalTax>
<Total>35.00</Total>
<TotalTax>0.00</TotalTax>
<Refunded>0.00</Refunded>
<RefundedQuantity>0</RefundedQuantity>
<Meta></Meta>
<Taxes/>
</OrderLineItem>
</OrderLineItems>
<OrderNotes>
<OrderNote>
<Date>2016-09-15 03:35:39</Date>
<Author>WooCommerce</Author>
<Content>Order exported to XML and successfully uploaded to server.</Content>
</OrderNote>
<OrderNote>
<Date>2016-09-15 03:20:42</Date>
<Author>root</Author>
<Content>Order status changed from On Hold to Processing.</Content>
</OrderNote>
<OrderNote>
<Date>2016-09-15 03:16:28</Date>
<Author>WooCommerce</Author>
<Content>Awaiting cheque payment Order status changed from Pending Payment to On Hold.</Content>
</OrderNote>
</OrderNotes>
</Order>
</Orders>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment