> For the complete documentation index, see [llms.txt](https://tailieu.abaha.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tailieu.abaha.vn/quan-ly-modules/17.-khoa-hoc-online/quan-ly-khoa-hoc.md).

# Quản lý khóa học

**Mục tiêu của quản lý danh mục khóa học** là đảm bảo rằng tổ chức cung cấp các khóa học phù hợp với nhu cầu của học viên, giúp học viên đạt được mục tiêu học tập.

Quản lý danh mục cho phép admin tra cứu, tạo đơn hàng khóa học, sửa, xóa các danh mục khoá học trong cửa hàng. Bao gồm các thông tin:

<figure><img src="/files/JVfsyv2Y5C8yoNwuJxxQ" alt=""><figcaption></figcaption></figure>

* ID: id danh mục
* Thứ tự: Thứ tự hiển thị danh mục, số bé hiển thị trước
* Tên khóa học
* Mã khóa học
* Danh mục khóa học
* Giá niêm yết: (giá hiển thị dưới dạng bị gạch trên app)
* Giảm giá: khoá học đang được giảm bao nhiêu %
* Giá bán: Số tiền khách hàng phải trả để mua khoá học
* Trạng thái:
  * Ẩn: Khoá học bị ẩn trên app. Cho phép ẩn cả các khóa học đã được bán cho end user.
  * Hiện: Khoá học hiển thị trên app
* Hành động:
  * Sửa: Mở màn Sửa khoá học

<figure><img src="/files/DejL6QTyern78eal9b1b" alt=""><figcaption></figcaption></figure>

* Xoá khóa học:

  * Danh mục có khoá học: Khi ấn xoá sẽ thông báo "Xóa không thành công, danh mục có chứa khóa học"

  <figure><img src="/files/aTFzS6yWChbxPUjydT0k" alt=""><figcaption></figcaption></figure>

  * Danh mục không có khoá học: Hiện popup xác nhận "Bạn có chắc chắn muốn xoá danh mục hay không?". Có 2 nút Có & Không. Có thực hiện xoá - Không tắt popup.

<figure><img src="/files/E6FsCWbdTaF3AJiwMEyu" alt=""><figcaption></figcaption></figure>

* Tạo mới đơn hàng khóa học: Màn hình hiển thị ra popup, Admin điền thông tin và Chọn Tạo đơn

<figure><img src="/files/tR8kxAWw8VuJjRg61Z7G" alt=""><figcaption></figcaption></figure>

**Lưu ý** khi thay đổi trạng thái Danh mục:

Nếu Danh mục đang ở trạng thái Hiện và muốn chuyển sang trạng thái Ẩn, nếu Danh mục đó có chứa các khóa học thì các khóa học này sẽ bị cập nhật về trạng thái Ẩn.


---

# 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, and the optional `goal` query parameter:

```
GET https://tailieu.abaha.vn/quan-ly-modules/17.-khoa-hoc-online/quan-ly-khoa-hoc.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
