Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <event name="controller_action_predispatch_catalog_product_view">
- <observer name="product_view_custom_action" instance="MyModuleObserverCustom"/>
- </event>
- $this->messageManager->addWarningMessage(__('My warning message'));
Add Comment
Please, Sign In to add comment