I am new to Magento extension development and looking for a way to implement a connection to our WMS. I have done some tutorials on extension development, but am a little stuck on where or how to make this thing.
My idea is as follows: whenever Magento looks for the inventory information on certain product (either in the front end or back end), I want it to refer to our WMS for actual information.
So I am thinking of an extension along the lines of:
- Hook into the "request stock info" event (does that even exist?)
- Call my extension's method
getStockInfo($sku)
- My
getStockInfo($sku)
will reply with correct information from my WMS.
Is this the way to implement functionality like this, or should I use different techniques?