我在Magento 1.7中的Customer对象上使用了以下自定义属性,由于某种原因,它创建了相应的列,我无法再登录到Magento站点的前端(后端工作正常)
当我尝试登录时,它基本上会重定向回页面,但我没有登录
任何人都可以建议在以下安装程序脚本中阻止我登录该网站吗?
$installer->addAttribute("customer", "organisation_id", array(
"type" => "int",
"backend" => "",
"label" => "Organisation ID",
"input" => "int",
"source" => "",
"visible" => false,
"required" => false,
"default" => "",
"frontend" => "",
"unique" => false,
"note" => ""
));
$installer->addAttribute("customer", "is_school", array(
"type" => "tinyint",
"backend" => "",
"label" => "Is School?",
"input" => "int",
"source" => "",
"visible" => false,
"required" => false,
"default" => "",
"frontend" => "",
"unique" => false,
"note" => ""
));
$installer->addAttribute("customer", "organisation_name", array(
"type" => "varchar",
"backend" => "",
"label" => "Organisation Name",
"input" => "text",
"source" => "",
"visible" => false,
"required" => false,
"default" => "",
"frontend" => "",
"unique" => false,
"note" => ""
));