> For the complete documentation index, see [llms.txt](https://docs.prestashop-project.org/1.7-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.prestashop-project.org/1.7-documentation/farsi/rahnmay-karbr/mghazh-khwd-ra-bhbwd-bkhshyd/mfahym-aamar-sayt/astan-ha.md).

# استان ها

States

**استان ها**

بوسیلهی"استانها"، پرستاشاپ اولین سطح بخش بندی کشورها را مشخص میکند. در آمریکا آنها ایالت نامیده می شوند. در ایتالیا regione، در فرانسه régions و در انگلیس منطقه است.

به طور پیشفرض پرستاشاپ مجموعه ای از مناطق را در نظر میگیرد: 54 ایالت و مناطق آمریکا، 31 بخش در مکزیک، 13 استان و منطقه در کانادا، 34 استان اندونزی، 24 استان آرژانتین، 47 استان در ژاپن و 110 استان ایتالیا.

![](https://3488906704-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fasnad-farsy-bray-prestashop-1-7%2F-Ma7W0UT2MUI-7GgZSby%2F-Ma7Z5WxruzNvPhLg3bn%2F0.png?generation=1621493838671761\&alt=media)

تعریف درست استان ها در پایگاه داده کمک میکند تا امکان تحویل هر کالا توسط حامل بهتر نمایش داده شوند. استان ها نیز بسته به کشور برای محاسبه نرخ مالیات ضروری هستند. بنابراین بخش بندی های هر کشور را در صورتی که برای حامل مهم باشد را به درستی تعریف کنید. می توانید لیستی از این بخشها را در این صفحه [ویکی پدیا](http://en.wikipedia.org/wiki/Table_of_administrative_divisions_by_country) پیدا کنید.

{% hint style="warning" %}
فرم آدرس پرستاشاپ در حال حاضر فقط استانها را لیست می کند که برای انتخاب مشتری در دسترس است. بنابراین، هنگام افزودن محتوا به لیست استانهای خود، حتماً از لیست معقول استفاده کنید. به همین دلیل است که به عنوان مثال ، این لیست شامل استان ایتالیا (دوم بخش بندی کشور) به جای منطقه (اولین بخش بندی کشور) است.
{% endhint %}

**افزودن استان جدید**

بیایید یک استان جدید ایجاد کنیم. برای این کار، روی دکمه "افزودن استان جدید" کلیک کنید.

![](https://3488906704-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fasnad-farsy-bray-prestashop-1-7%2F-Ma7W0UT2MUI-7GgZSby%2F-Ma7Z5Wy7-Gr0DuXRDhq%2F1.png?generation=1621493838635500\&alt=media)

* **نام.** نام استان ، همانطور که باید روی فاکتورها و بسته نمایش داده شود. بنابراین باید به زبان کشوره استان باشد.
* **کد ISO.** کد ISO کد ISO-3166-2 استان:
  1. به صفحه [ویکیپدیا](http://en.wikipedia.org/wiki/ISO_3166-2,) مراجعه کنید.
  2. بر روی کد دو حرفی کشور استان کلیک کنید (در ستون "ورود" در جدول اصلی صفحه ویکی پدیای فوق) ،
  3. در همان صفحه ، کد استان را پیدا کنید (این کد باید در لیستی از صفحه یا متن کوچکترین کشورها باشد) ،
  4. اگر موردی وجود دارد ، پیشوند کشور را حذف کنید تا کد 4 حرفی باقی بماند. به عنوان مثال ، ISO کامل 3166-2 برای Devon ، در انگلستان ، "GB-DEV" است. به سادگی از "DEV" به عنوان کد ISO استان استفاده کنید - این کد از قبل با استفاده از لیست کشویی "کشور" پرستاشاپ به کشور پیوست شده است (مرحله بعدی را ببینید).
* **کشور.** کشور خود را با استفاده از لیست کشویی مشخص کنید.
* **منطقه.** با استفاده از لیست کشویی منطقه جغرافیایی آن را مشخص کنید. توجه داشته باشید که از منطقه اشتباه استفاده نکنید ، زیرا این امر می تواند تنظیمات کشور و منطقه پرستاشاپ را با هم اشتباه کند.
* **وضعیت.** وقتی بازدید کننده بخواهد ثبت نام کند و یک حساب جدید ایجاد کند ، حالت غیرفعال به عنوان گزینه پیشنهاد نمی شود.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.prestashop-project.org/1.7-documentation/farsi/rahnmay-karbr/mghazh-khwd-ra-bhbwd-bkhshyd/mfahym-aamar-sayt/astan-ha.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
