Skip to content

Instantly share code, notes, and snippets.

@sashas777 sashas777/config.xml
Last active Dec 15, 2015

Embed
What would you like to do?
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
You can’t perform that action at this time.