How to get the current product in Observer instead of this "$product = $this->_registry->registry("current_product");"
I need the code for without registry in the observer.
How to get the current product in Observer instead of this "$product = $this->_registry->registry("current_product");"
I need the code for without registry in the observer.