I have to update daily a large amount of data and web services api it is too slow.
I am trying somthing like this:
$product = Mage::getModel(’catalog/product’)->loadByAttribute(’sku’,"XXXXX");
but I got an error like this:
Warning: Invalid argument supplied for foreach() in /var/www/mysite/app/code/core/Mage/Eav/Model/Entity/Abstract.php on line 937’
Is there eomething similar?
or is ther a way to call directly the method of the webservices api without using webservices?