0

I want to get new added option or all option at the time of save multiselect attribute from admin.

Which event I need to use for multiselect attribute save?

0

I have found the event which we use for attribute save

catalog_entity_attribute_save_after

Here we can get current attribute option by Magento\Catalog\Model\Product\Attribute\Repository

if ($attrCode == "MyAttribute")
{
    $attributeOptions = $this->repository->get($attrCode)->getOptions();
    ....
    ....
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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