Skip to content

Instantly share code, notes, and snippets.

@sashas777
Last active December 15, 2015 21:23
Show Gist options
  • Save sashas777/de35c9970bbcc9c5b38f to your computer and use it in GitHub Desktop.
Save sashas777/de35c9970bbcc9c5b38f to your computer and use it in GitHub Desktop.
Example of Observer usage in config.xml file
<?xml version="1.0"?>
<config>
<global>
<events>
<customer_register_success>
<observers>
<example_customer_register_success>
<type>singleton</type>
<class>module/observer</class>
<method>customerRegisterSuccess</method>
</example_customer_register_success>
</observers>
</customer_register_success>
</events>
</global>
</config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment