Warning: You are browsing the documentation for PrestaShop 1.7, which is outdated.

You might want to read an updated version of this page for the current version, PrestaShop 8. Read the updated version of this page

Learn how to upgrade to the latest version.

Resources for States

State

Name Format Required Max size Description
id_zone isUnsignedId ✔️ Zone ID
id_country isUnsignedId ✔️ Country ID
iso_code isStateIsoCode ✔️ 7
name isGenericName ✔️ 32
active isBool

Blank schema

<prestashop xmlns:xlink="http://www.w3.org/1999/xlink">
  <state>
    <id><![CDATA[]]></id>
    <id_zone><![CDATA[]]></id_zone>
    <id_country><![CDATA[]]></id_country>
    <iso_code><![CDATA[]]></iso_code>
    <name><![CDATA[]]></name>
    <active><![CDATA[]]></active>
  </state>
</prestashop>