Magento – Add your own state

If you would like the backend collect orders and defines the state as a mandatory field has, but does not feel like always dig out the appropriate federal per order, , a 17. Insert State, which then e.g.. “Takkatukka(Federal)land” or simply “.” is.

In the database (Attention: As always, backup!) the table

directory_country_region

and the table

directory_country_region_name

search.

Look what the last entry is. For me it was Vrancea with ID 319.

Thus, I then inserted in the first table a new entry, of looked like this

Picture

And then in the second table a corresponding entry with the following contents

Picture

Confirm with OK. Then there will be the new state “.”.

The most sensible it is of course the state can not be defined as required field.

Used in Magento versions 1.5.1.0 and 1.6.1.0. Ask? Comments? Suggestions? Gladly!

Published by Covos

Since 2009 I have been working intensively with Magento. I started with the creation and operation of B2C stores. This was extended through my work in the logistics sector. This resulted first specialized B2E systems. Today I work day-a day with exciting B2C, B2B- and B2E projects and reports in this blog about challenges and give insider tips.

Leave a Reply

Your email address will not be published. Required fields are marked *