Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.

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

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>