Thread Starter
sysliu
(@sysliu)
Hi Alex,
It works! Many thanks for your help!
-Sean
Thread Starter
sysliu
(@sysliu)
Hi Alex,
Thank you very much for your help. State Name (Shipping) works when I try to download the field. Thanks. However, my ultimate goal is to create a field which has the full address:
I original have this and it works, but as I mentioned “shipping_state” is in English.
$value = $order->get_shipping_postcode() . ” .$order->get_shipping_state(). ” .$order->get_shipping_city()
. ” .$order->get_shipping_address_1();
return $value;
},10,3);
May I check what is the right meta_key for State Name (Shipping)? I tried to use $order->get_shipping_state_full() and it didn’t work.
Again thanks for your help.
-Sean