# TRẠNG THÁI ĐƠN HÀNG

{% embed url="<https://www.youtube.com/watch?v=RSChftknFw4&feature=youtu.be>" %}

{% hint style="info" %}
&#x20;**Truy cập: Menu -> Đơn Hàng -> Trạng Thái Đơn Hàng**
{% endhint %}

![](/files/-MEzmFr96RvyFYgxGnsv)

{% hint style="danger" %}
&#x20;*\***Lưu ý:*****&#x20;Các trạng thái chính là mặc định của hệ thống.**
{% endhint %}

&#x20;Để thêm trạng thái phụ của 1 trạng thái chính:\
\- Chọn hiển thị những trạng thái con của trạng thái chính cần thêm\
\- Click ![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEBDBAocr4dPZspNeAr%2Fuploads%2FOGsXdZxZaFM3kvE6pVa9%2Ffile.png?alt=media) -> hiện popup "Thêm trạng thái con cho \[...]"\
\- Nhập các thông tin:\
&#x20;   \+ Tên trạng thái.\
&#x20;   \+ Chọn màu\
&#x20;   \+ Chọn Mặc định hoặc không\
&#x20;-> Click ![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEBDBAocr4dPZspNeAr%2Fuploads%2FELyGDYIlUoYF3GmDDZbM%2Ffile.png?alt=media)  để hoàn tất

![](/files/-MEzmQ0mNtxnDn2Cti70)

{% hint style="warning" %}
&#x20;*\*Lưu ý:* sau khi tạo mới trạng thái phụ, vào Cấu hình hệ thống -> Phân quyền hệ thống để phân quyền xem trạng thái đơn mới tạo cho các quyền được phép xem\
Click ![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEBDBAocr4dPZspNeAr%2Fuploads%2Ft931fqSvQGa2PCuO875D%2Ffile.png?alt=media) hoặc ![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEBDBAocr4dPZspNeAr%2Fuploads%2FXwON79DjTC5QTWViw2Xx%2Ffile.png?alt=media) để sắp xếp thứ tự của các trạng thái\
Click ![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEBDBAocr4dPZspNeAr%2Fuploads%2FcWxmhiJw1yIMbk2VNfJS%2Ffile.png?alt=media) để cập nhật lại các thông tin
{% endhint %}

&#x20;Để cấu hình gởi tin nhắn cho khách hàng click ![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEBDBAocr4dPZspNeAr%2Fuploads%2F241ZMM1G8qyHEa5zhIph%2Ffile.png?alt=media)  khi đơn hàng chuyển sang trạng thái được cấu hình \
\- Chọn cách thức gởi tin nhắn: SMS, Email hoặc Messenger\
\- Nhập nội dung tin nhắn (có thế dùng các ký tự thay thế)\
-> Click  ![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEBDBAocr4dPZspNeAr%2Fuploads%2FdegWmb5w5c9VulacqEoS%2Ffile.png?alt=media)  để hoàn tất cấu hình

![](/files/-MEzmWxQCci0FLpJY0iS)


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://huongdan.trustsales.vn/huong-dan-man-hinh-don-hang/trang-thai-don-hang.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
