Support » Plugin: WooCommerce » Where woocommerce save the countries?

  • WooCommerce has meta_key called _billing_state and _billing_country which is stored in the wp_postmeta table.

    I see there the values
    _billing_state = MO
    _billing_country = IT

    however if I go to the order in the php I sse:

    Where in the database there is a list of countries and states?
    I want to write a query which gives me the _billing_state and _billing_country same as I see it in the front side.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Countries and states are not in the database.

    For countries, see:

    For states, see:

    How can I modify it to make WooCommerce save the full state and country name in the database?
    I don’t understand why they save it in the PHP. This is very strange.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Where woocommerce save the countries?’ is closed to new replies.