Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function get($email, $websiteId = null);
- $CustomerModel = $objectManager->create('MagentoCustomerModelCustomer');
- $CustomerModel->setWebsiteId(1); **//Here 1 means Store ID**
- $CustomerModel->loadByEmail($customerEmail);
- $userId = $CustomerModel->getId();
Add Comment
Please, Sign In to add comment