> 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-danh-muc-khoa-hoc.md).

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

Quản lý danh mục cho phép admin tra cứu, tạo mới, 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/psFPDlsezD1dMxPawpTC" 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 danh mục
* Số khoá học có trong danh mục
* Trạng thái danh mục:
  * Ẩn: Không hiển thị trên APP
  * Hiện: Hiển thị trên APP
* Ngày tạo: Ngày tạo danh mục
* Hành động:
  * Sửa: Mở màn Sửa danh mục khoá học

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

* Xoá danh mụ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**"
  * 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/31GW1ed0Kr8MLKvTZifV" 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-danh-muc-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.
