To edit the Product category, Please follow the below steps:
Step 1: Please click on Products and click on the three dots
Step 2: Click on +Add product
Step 3: Click on the optional fields
Step 4: Click on category
Step 5: Search for the product category that needs to be edited and Click on the pencil icon
Step 6: Type the category name and Save
Step 7: Once added, It will give you the confirmation by saying category updated successfully