I want to call an external web service when user find a product by CatalogSearch. Any idea to do this? I have a SOAP function to call at my ERP, but i don\’t know where i can put this function to call my web service.
Exactly I have a product catalog in my ERP. In Magento users search SKU number in the search input of the header in the Magento catalog search, and i would like to find the product with that SKU in my ERP.
This is what I'm told in another forum. What do you think?
The easiest way is probably to :
Create a Magento Module; Create a new Helper; Add your ERP function to the Helper; Call your helper function (something like Mage::getHelper('path/to/helper')->MyERPFunction();