Trying to find the WooCommerce orders information in the database could be a daunting task for a newbie, but it’s actually easier than you might think.

Just like the WooCommerce products, the orders are also just a custom post type, which means they can be found under the wp_posts table. One way of finding them is to search the database for shop_order under the column post_type.

As the wp_posts table provides limited information about the order, the rest of the information can be found under wp_postmeta.

The table wp_posts provides information such as:

  • Post ID
  • Post Author
  • Post Date
  • Post Title – in this case the date of the order
  • Post Status – which is the status of the order (ie. Processing, Completed, Cancelled, Refunded, Failed, Pending or On Hold)

The most important field here is probably the ID, which is used to search against in the wp_postmeta table. There you can find information such as:

  • Order Key
  • Customer User
  • Payment Method
  • Customer IP Address
  • Customer User agent
  • Billing Information
  • Shipping Information
  • Cart Discount
  • Order Shipping Cost
  • Tax Information
  • Order Total
  • and information added in by other plugins

If this short guide answered (or not) your question, please feel free to let us know, or ask us further questions in the comments section.

Published by Dragos Micu

WooCommerce

Leave a Reply

Your email address will not be published. Required fields are marked *

cach chon cuoc xoc dia helywin soi keo 33262 868vip 8888 10736 cmd368 tai xiu 5433 kingclub soi keo 95051 soi cau xo so la gi cach dat cuoc tren tk88 keo chap 0 75 sicbo tai xiu 98362 keo chap 1 3 4 no hu sunwin 1 hitclub co rut duoc tien khong nha cai uy tin dom88 hutop club kitty kuo go79 club auxerre vs saint etienne soi keo bong da 02h45 25 01 2025 khong qua vuot troi tong dai oxbet ban ca b52 club top 5 cong game ban ca doi thuong uy tin 2024 boaclub 8888 86078