> For the complete documentation index, see [llms.txt](https://coreretail.gitbook.io/huong-dan-van-hanh-mini-app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://coreretail.gitbook.io/huong-dan-van-hanh-mini-app/mini-app-incom-tutorial/mini-app-cho-nguoi-dung-user/zalo-mini-app/dat-hang.md).

# Đặt hàng

Người dùng có thể thêm sản phẩm vào giỏ hàng và chọn **Thanh toán ngay** để tiến hành thanh toán đơn hàng.

<figure><img src="/files/mR8jVpeD7khuaYZN3xt7" alt="" width="188"><figcaption><p>Màn hình giỏ hàng</p></figcaption></figure>

Khi muốn thanh toán, người dùng chỉ cần nhấn vào nút **"Thanh toán ngay"**, hệ thống sẽ tự động chuyển đến màn hình **"Thanh toán đơn hàng"** để tiến hành thanh toán.

<figure><img src="/files/Dqo9FlENmeT3Up7Ss9It" alt="" width="375"><figcaption><p>Nhấn nút "Thanh toán ngay"</p></figcaption></figure>

Tại màn hình **Thanh toán**, người dùng có thể nhập hoặc chọn **mã giảm giá** để được áp dụng ưu đãi cho đơn hàng.

<mark style="color:red;">**Lưu ý:**</mark>

* Người dùng có thể áp dụng nhiều mã giảm giá khác nhau trong cùng một đơn hàng, tuy nhiên mỗi mã giảm giá chỉ có thể được sử dụng một lần duy nhất.
* Người dùng có thể nhập mã giảm giá trực tiếp hoặc lựa chọn mã giảm giá từ danh sách những mã giảm giá đã được nhận/đổi trong hệ thống.

<figure><img src="/files/RI5GTrALYEaVzsPaAPlA" alt="" width="188"><figcaption><p>Màn hình "Thanh toán đơn hàng"</p></figcaption></figure>

<figure><img src="/files/hQBjoXhpOJjmWELjXI9M" alt="" width="188"><figcaption><p>Nhập / Chọn mã voucher</p></figcaption></figure>

<figure><img src="/files/jFeWkkM6WVRPa4OkinHc" alt="" width="188"><figcaption><p>Mã giảm giá sau khi được nhập sẽ <br>hiển thị trong danh sách mã giảm giá</p></figcaption></figure>

<figure><img src="/files/KWeDct26kk2PrOikWgot" alt="" width="188"><figcaption><p>Áp dụng mã giảm giá</p></figcaption></figure>

Sau đó, nhấn **"Đặt hàng"** và lựa chọn phương thức thanh toán phù hợp để hoàn tất giao dịch mua sắm.

<figure><img src="/files/lXc0eATAR67Olh1g2SIB" alt="" width="375"><figcaption><p>Nhấn "Đặt hàng"</p></figcaption></figure>

<figure><img src="/files/ZX19GROl7dfAtwemHzFv" alt="" width="226"><figcaption><p>Chọn phương thức thanh toán <br>và nhấn "Xác nhận"</p></figcaption></figure>

Khi đơn hàng được đặt thành công, hệ thống sẽ lưu lịch sử đơn hàng và hiển thị thông báo xác nhận đến người dùng.

*<mark style="color:blue;">Xem hướng dẫn tính năng</mark>* [*<mark style="color:blue;">"Xem đơn hàng đã mua"</mark>*](/huong-dan-van-hanh-mini-app/mini-app-incom-tutorial/mini-app-cho-nguoi-dung-user/zalo-mini-app/thanh-vien/tinh-nang-ca-nhan/xem-don-hang-da-mua.md)

<figure><img src="/files/WGBz4Cv2r2rTkp5HA8Uk" alt="" width="188"><figcaption><p>Lịch sử đơn hàng</p></figcaption></figure>


---

# 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 dynamically by asking a question.

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

```
GET https://coreretail.gitbook.io/huong-dan-van-hanh-mini-app/mini-app-incom-tutorial/mini-app-cho-nguoi-dung-user/zalo-mini-app/dat-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.
