1. Creating the Interface for Category Selection
- The following components are defined in the UI for the user to select the category they want to delete:
- Table → Category list (contains id and name)
- Button → ‘Delete Category’
2. Defining the Delete Category Action
- Action to be performed when the ‘Delete Category’ button is clicked:
- + ADD ACTION > OnClick > EAV > Category > Delete Category
- Id → Symbol Picker > Component >Select Box
3. Displaying the Result of the Operation
- After successful deletion, a toast notification can be displayed to the user.
- If necessary, the category list is reloaded and the UI is updated.