multi_select attribute with a mirror ProductOption, the option’s value list is rewritten to the attribute’s remaining value names. Triggered by DELETE /admin/product-attributes/:id/values/:value_id; also run internally by the batch update engine. Emits product-attribute-value.deleted.
Usage
Input
Ids of the attribute values to delete.
Custom data passed through to the hooks.
Result
No return value.
Hooks
validate— runs before deletion with{ input }.productAttributeValuesDeleted— runs after deletion with{ ids, additional_data }.