0

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.

Please help me and sorry for my english,

Thanks,

xabikip
  • 24
  • 4

1 Answers1

0

The easiest way is probably to :

  1. Create a Magento Module;
  2. Create a new Helper;
  3. Add your ERP function to the Helper;
  4. Call your helper function (something like Mage::getHelper('path/to/helper')->MyERPFunction();
tehknox
  • 278
  • 1
  • 5
  • Thanks flebel. You know about any tutorial or documentation to create my own helper? – xabikip Feb 19 '14 at 09:17
  • You could take a look at this series of tutorial : http://www.pierrefay.com/magento-developper-guide-howto-tutorial-5 – tehknox Feb 20 '14 at 16:05