# Danh mục

**Quản lý danh mục**

Tại trang quản trị hệ thống chọn modules SẢN PHẨM&#x20;

![](/files/-Mgjduegk-9V5XiPxvAt)

Sau đó Vào menu Quản lý sản phẩm -> Danh mục

![](/files/-Mgje96Hdc3IGPpM_QlS)

**Tại menu Danh mục sẽ có các tính năng như sau:**

## 1. Tạo mới danh mục

**Bước 1**: Tại menu Danh mục chọn ![https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2Fabaha-app%2F-MYIf-MSnWv2yiwFRSjt%2F-MYIg3yKwCtTC58m\_IYX%2F1.png?generation=1618459251447922\&alt=media](/files/-Mgjb-7_K_fz1rWNthfq)

![](/files/-Mgjb-7aSTCYEZlb7jR2)

**Bước 2**: Tại Form Tạo mới, nhập thông tin cho các trường, chọn ![https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2Fabaha-app%2F-MYIf-MSnWv2yiwFRSjt%2F-MYIg3yMT\_AgnnXCK4tk%2F3.png?generation=1618459251394750\&alt=media](/files/-Mgjb-7bqmC2Z8PM_fup)để thực hiện việc Tạo mới danh mục

![](/files/-Mgjb-7cbTwHCKnQk9KL)

Danh mục này là 1 trường bắt buộc để thực hiện bước Tạo mới sản phẩm, Sản phẩm là tập con của Danh mục

## 2. Sửa danh mục

**Bước 1**: Tại màn hình danh sách Danh mục chọn ![https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2Fabaha-app%2F-MYIf-MSnWv2yiwFRSjt%2F-MYIg3yOh5j3GEIR7uMv%2F5.png?generation=1618459251395492\&alt=media](/files/-Mgjb-7dxp1ADVf1SUcQ)của danh mục bất kỳ muốn sửa

![https://gblobscdn.gitbook.com/assets%2Fabaha-app%2F-MYIf-MSnWv2yiwFRSjt%2F-MYIg3yPJBMZcOEglWnU%2F6.png?alt=media](/files/-Mgjb-7eQEnmQ-HI_SWX)

**Bước 2:** Tại màn hình thông tin chi tiết của Danh mục, thực hiện điều chỉnh lại thông tin đã tạo trước đó, chọn ![https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2Fabaha-app%2F-MYIf-MSnWv2yiwFRSjt%2F-MYIg3yQ\_Vj3xrctGJ0z%2F7.png?generation=1618459251444881\&alt=media](/files/-Mgjb-7fnkAckUjrfGU4)để hoàn tất việc sửa danh mục

![](/files/-Mgjb-7gm7X8c-GCgtTE)

## 3. XÓA DANH MỤC.

**Bước 1**: Tại màn hình danh sách Danh mục, chọn 1 Danh mục bất kỳ muốn thực hiện Xóa, chọn ![https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2Fabaha-app%2F-MYIf-MSnWv2yiwFRSjt%2F-MYIg3ySnCqWe3waY2sx%2F9.png?generation=1618459251479730\&alt=media](/files/-Mgjb-7hwyFRBheg-WKz)để thực hiện xóa danh mục

![](/files/-Mgjb-7iQldkQIUS1k87)

**Bước 2**: Chọn ![https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2Fabaha-app%2F-MYIf-MSnWv2yiwFRSjt%2F-MYIg3yUWgKaqMjTEWnn%2F11.png?generation=1618459251446596\&alt=media](/files/-Mgjb-7j1BT7XZRHvHcX)để xác nhận thao tác Xóa danh mục ra khỏi danh sách danh mục

![](/files/-Mgjb-7kWLuSBqbd0xP_)

**Lưu ý: Danh mục chỉ xóa được khi số lượng sản phẩm thuộc danh mục = 0.**

## 4. Ẩn/ Hiện danh mục

Chọn ![https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2Fabaha-app%2F-MYIf-MSnWv2yiwFRSjt%2F-MYIg3yWf7U-QC4lWqnk%2F13.png?generation=1618459251465946\&alt=media](/files/-Mgjb-7l-Mkcmbp-O56H)để thực hiện Ẩn danh mục

![](/files/-Mgjb-7mbrkErIxxQL7-)

Để hiện danh mục chọn ![https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2Fabaha-app%2F-MYIf-MSnWv2yiwFRSjt%2F-MYIg3yYkSPsIU5qgrO5%2F15.png?generation=1618459251395788\&alt=media](/files/-Mgjb-7nP9QuRJWHnqMs)

![](/files/-Mgjb-7oz6djjnsoH8em)


---

# 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://tailieu.abaha.vn/he-thong-san/c-a-hang-trong-san/san-pham-1/danh-muc.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.
