When the attribute is created/edited/deleted I need to trigger a URL for that I need an event the is help on that scenario in Magento 2.4.2. I checked some URL's i didn't understand which is working correctly.

1 Answer 1


Check for catalog_entity_attribute_save_before and catalog_entity_attribute_save_after

  • How to identify the attribute is deleting or editing using this event
    – Sabareesh
    Aug 24, 2021 at 14:03
  • Check the origData with the data, not sure but you should be able to see if the attribute is getting deleted from the new data. For the Edit you should check column by column if there's any difference from the old and new data ($attribute->getOrigData('column')) Aug 25, 2021 at 7:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.