magento check email exist
来源:互联网 发布:淘宝店铺监控入口 编辑:程序博客网 时间:2024/06/05 21:59
<?phprequire_once 'app/Mage.php';umask(0);$websiteId = Mage::app()->getWebsite()->getId();$email = 'ajzele@someserver123.com';// Your Customers Email Herefunction IscustomerEmailExists($email, $websiteId = null){ $customer = Mage::getModel('customer/customer'); if ($websiteId) { $customer->setWebsiteId($websiteId); } $customer->loadByEmail($email); if ($customer->getId()) { return $customer->getId(); } return false;}$cust_exist = IscustomerEmailExists($email,$websiteId);if($cust_exist){ echo "Customer Email Exists Already. And your Customer id is <b>'".$cust_exist."'</b>";}else{ echo "Customer Email <b>'".$email."'</b> Not Exists : So you Need to Enter All data like shipping info ,billing info";}?>
0 0
- magento check email exist
- magento email
- check android activity exist
- Magento email模版修改
- Magento Email Variables
- [Magento] Email Template Enhancement
- magento send email
- 正则表达式Check Email
- email validate check
- email合法性check
- Check Import Date Email
- check file exist bash script
- magento添加confirm email验证
- magento email:发送自定义邮件
- magento email:发送自定义邮件
- magento email:快速实现发送自定义邮件
- magento email:快速实现发送自定义邮件
- C# - Check email existance in Outlook
- window.location.href跳转无法正常执行
- Android利用Fiddler进行网络数据抓包
- android Fragment 入门介绍
- 不使用Cygwin,在eclipse中快速开发JNI,一键生成C头文件.h,以及一键使用NDK交叉编译
- FragmentTabHost and Fragment 用法
- magento check email exist
- 一不小心,网站排名堕入百度十一位魔咒
- Ext.data.Store详解(超级好用)
- Red Gate的SQL Source Control工具简介
- HealthKit开发快速入门教程之HealthKit开发概述简介
- css 渐变底色
- javascript中的arguments
- Eclipse中访问localhost出现404错误,解决办法
- 运维前景