# Product Category Management

# Description

This document outlines the procedures for adding main categories and sub-categories in the product management module, as well as viewing and managing these categories.

# Add a Main Category

  1. Access Category Management
  • Navigate to the Category section within the Product Management module.
  1. Initiate Main Category Addition
  • Click on the icon next to the "Product Categories" title in the menu list.
  1. Enter Category Information
  • Fill in the required fields including:
    • Name
    • Description
    • Upload Photo (if applicable)
  1. Submit Category Information
  • Click the "Create" button to finalize the addition of the main category.

# Add a Sub-category

  1. Select Main Category
  • Choose the main category from the menu list where you want to add the sub-category.
  1. Initiate Sub-category Addition
  • Click the "Add Sub-category" button.
  1. Enter Sub-category Information
  • Fill in the necessary fields including:
    • Name
    • Description
    • Upload Photo (if applicable)
  1. Submit Sub-category Information
  • Click the "Create" button to finalize the addition of the sub-category.

# View Categories and Sub-categories

  1. Expand Categories
  • Click the (+) button at the beginning of each category to quickly drop down and view the associated sub-categories.
  1. Navigate to Sub-category List
  • Select each category in the menu list to display the sub-category list on the right side of the screen.
  1. Perform Actions on Sub-categories
  • Click on the three-dot menu in each row to reveal available actions for each sub-category.
  1. Available Actions:
  • View: Opens the view page which includes an Edit button.
  • Edit: The edit function will follow the same steps as the Add Sub-category action.
  • Delete: Permanently remove the selected sub-category.

# Conclusion

This document provides a structured approach for managing product categories and sub-categories within the system, ensuring efficient organization and accessibility of product information.

# Screen flow

View dropdown list or Delete category
View dropdown list or Delete category
Dropdown list will be as same as a list in category details and Click to icon to add a new category
Dropdown list will be as same as a list in category details and Click to icon to add a new category
Fill information, add photo and click create to finish
Fill information, add photo and click create to finish
Click to add sub-category button
Click to add sub-category button
Fill information with selected category is default and Click Create to finish
Fill information with selected category is default and Click Create to finish
Check the sub-category and Click delete for all those checked sub-category
Check the sub-category and Click delete for all those checked sub-category
Click Edit button under category photo to edit category, or Click edit button in the three dot menu of each sub-category to edit sub-category
Click Edit button under category photo to edit category, or Click edit button in the three dot menu of each sub-category to edit sub-category