I'm trying to access users purchase information from my wordpress admin plugin so that I can summarise orders e.g:
- Product name
- Custom data (in my case text associated with the product)
- When it was bought
- How much they paid
It's mostly the information you can find on the "Account" > "Orders" page when the user is logged in.
I've looked through the woocommerce tables but can't find this information.
Can you suggest which tables I can query to pull together the information I'm looking for above?