> For the complete documentation index, see [llms.txt](https://document.o2skin.asia/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://document.o2skin.asia/quan-ly-san-pham/danh-muc-san-pham.md).

# Danh mục sản phẩm

## Cách hoạt động của danh mục sản phẩm:

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

## Hướng dẫn thao tác tạo danh mục

### **Bước 1: Truy cập vào danh mục sản phẩm**

* Vào **Sản phẩm > Danh mục sản phẩm**.

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

### **Bước 2: Tạo danh mục mới**

1. **Tạo danh mục cấp 1:**

   * Nhấn vào nút **Tạo thêm** ở cột **Danh mục cấp 1** để tạo danh mục mới.

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

   * Điền thông tin vào form **Tạo danh mục**:

     * **Tên danh mục:** Nhập tên danh mục mới (Tên danh mục cùng cha không được trùng nhau).
     * **Danh mục cha:** Không chọn (danh mục cấp 1 không có danh mục cha).
     * **Trạng thái:** Chọn trạng thái hoạt động (mặc định là **Đang hoạt động**).

     <figure><img src="/files/8WcFcRhXrMyPIgvj1nGe" alt=""><figcaption></figcaption></figure>
   * Nhấn **Tạo danh mục** để lưu.
2. **Tạo danh mục cấp 2, 3, ...:**

   * Chọn danh mục cha trong danh sách.
   * Nhấn vào nút **Tạo thêm** ở cột danh mục cấp mong muốn.

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

   * Điền thông tin vào form **Tạo danh mục** bên phải màn hình:
     * **Tên danh mục:** Nhập tên danh mục mới.
     * **Danh mục cha:** Hệ thống tự động chọn danh mục cha là danh mục đã chọn trước đó.
     * **Trạng thái:** Chọn trạng thái hoạt động.
   * Nhấn **Tạo danh mục** để lưu.

## Hướng dẫn thao tác chỉnh sửa danh mục

### **Bước 1: Chọn danh mục cần chỉnh sửa từ danh sách.**

### **Bước 2: Chỉnh sửa thông tin tại form bên phải màn hình**

* Thông tin của danh mục sẽ hiển thị trong form **Sửa danh mục**.
  * **Tên danh mục:** Chỉnh sửa tên danh mục (Tên danh mục cùng cha không được trùng nhau).
  * **Danh mục cha:** Thay đổi danh mục cha (Lưu ý: Nếu danh mục cha đang ở trạng thái "Ngừng sử dụng", không thể thay đổi trạng thái)
  * **Trạng thái:** Chỉnh sửa trạng thái hoạt động của danh mục.
* Nhấn **Lưu** để cập nhật thông tin danh mục.


---

# 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://document.o2skin.asia/quan-ly-san-pham/danh-muc-san-pham.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.
