Delete Category Action Application Steps

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
  • Enable Audit Log: Ensures that updates made to the Attribute are added to the audit log records. This allows tracking of who made the changes, when they were made, and in which areas.

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.