WooCommerce, Remote Work & Other Fancy Stuff

Just another WordPress site

Japanese State Names in Order/Customer CSV Export

June 1, 2016 by Will Leave a Comment

3 November 2016 Update: As of WooCommerce Customer/Order CSV Export version 4.1, this will no longer be needed as version 4.1 will be using a state name instead of the code for the five countries which use this type of format.

Japanese addresses are a bit of a special case – apparently they roll a little bit differently. As a result of this when using the WooCommerce Customer/Order CSV Export extension the state names aren’t output but rather their ID. Fortunately this can be solved fairly easily with a small code snippet:

Not sure what to do with code snippets? See What Do I Do With These Code Snippets?

Filed Under: Order/Customer Export Tagged With: snippet

Leave a Reply Cancel reply

You must be registered and logged in to post a comment.

© 2023 · WooCommerce, Remote Work & Other Fancy Stuff · Epstein didn't kill himself