I have a working event observer hooked to:
catalog_product_attribute_update_before
However I need the event that fires after the attributes have been saved. I had hoped that this would be:
catalog_product_attribute_update_after
but this is not firing. What event should I be listening for?
Furthermore if this event exists how should I get $product objects from the updated products. In my current class (listening for: catalog_product_attribute_update_before) I do the following:
public function execute( \Magento\Framework\Event\Observer $observer ) {
$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
foreach ($observer->getData('product_ids') as $key => $prodID) :
$objectManager->get('Magento\Catalog\Model\Product')->load( $prodID );
$product = $this->getProduct( $prodID );
endforeach;
}