0

Is it possible to map the actual state instead of state code to the native member fields.

At the moment i get, CON instead of CONWY.

0

You can edit the states.php file inside Store > data on your third_party directory. It returns a key / value array. Just make sure it complies with your Shipping & Payment Gateway required fields.

3
  • Hi Rodrigo, Thanks for reply. I'm not quite sure what you mean? There is a states.php file in store > config > states.php. Is this where you mean? Jun 29 '15 at 20:21
  • There should be yes, depending on what version of Store you are using. Most shipping gateways and some Payment gateways will fail however using the state name oppose to the state code Jun 30 '15 at 6:54
  • Having said that you can always use the {shipping_state_name} or {billing_state_name} variable in your templates to output the actual name instead of the state code. exp-resso.com/docs/checkout_tag.html#shipping_state_name Jun 30 '15 at 7:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.