Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi
    I have the same problem.
    I can”t find my customer_id or user_id in order tables

    An order is a post where post_type = shop_order. So if you can find the post, then the post_author field links to the wp_users table ID field.

    Thread Starter armreg

    (@armreg)

    But in my case post_author field is always = 1 (admin, i suppose) and not the id of the person who buys something.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    _customer_user post meta for orders.

    Hi. new Question.
    Where in Mysql i can find tables category id tied with product id

    Plugin Contributor Mike Jolley

    (@mikejolley)

    cit, I suggest you read up on the Schema WordPress uses for posts. Products are a type of post.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘in which mysql table user id and order id tied together?’ is closed to new replies.