1
0
Fork 0
mirror of synced 2025-04-03 21:23:31 +03:00
This commit is contained in:
Rugento 2017-05-18 10:10:52 +00:00 committed by GitHub
commit a7a8cf267b

View file

@ -138,7 +138,7 @@ class Retailcrm_Retailcrm_Model_Exchange
$siteid = Mage::getModel('core/store')->load($storeId)->getWebsiteId();
// search or create customer
$customer = Mage::getSingleton('customer/customer');
$customer = Mage::getModel('customer/customer');
$customer->setWebsiteId($siteid);
$customer->loadByEmail($order['email']);
@ -360,7 +360,7 @@ class Retailcrm_Retailcrm_Model_Exchange
$siteid = Mage::getModel('core/store')->load($storeId)->getWebsiteId();
// search or create customer
$customer = Mage::getSingleton('customer/customer');
$customer = Mage::getModel('customer/customer');
$customer->setWebsiteId($siteid);
$customer->loadByEmail($order['email']);