gray-mueller / gray-mueller/online-ordering-and-delivery-system-using-python
Enatega Admin Dashboard: Subcategories Disappear When Updating a Product
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
When a user clicks on any product to update its details, the associated subcategories do not load or display in the update form. As a result, the subcategory field appears empty or missing, preventing the user from knowing or modifying the existing selection.
Steps to Reproduce:
Go to the product list page.
Click Edit on any existing product.
Observe the subcategory field.
Expected Result:
The subcategory field should display the current subcategories assigned to the product.
Actual Result:
The subcategory field is blank, and previously assigned subcategories are not shown.
Desktop (please complete the following information):
OS: [e.g. Windows]
Browser [e.g. chrome]
Version [e.g. Latest]
Labels: Enatega Multivendor Admin Dashboard, High Priority, Bug
Contributor guide
Research direction
Start at the product list's Edit action and follow the product update form's data-loading path for subcategories. Reproduce the issue with an existing product, inspect where its assigned subcategories should populate, and verify that the update form displays the saved selections after the fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100