/app/code/local/lucas/stocksync/etc/config.xml <?xml version="1.0"?> <config> <modules> <lucas_stocksync> <version>0.1.0</version> </lucas_stocksync> </modules> <global> <events> <cataloginventory_stock_item_save_before> <observers> <lucas_stocksync> <type>singleton</type> <class>lucas_stocksync/observer</class> <method>cataloginventory_stock_item_save_before</method> </lucas_stocksync> </observers> </cataloginventory_stock_item_save_before> </events> </global> </config>