后端的 magento 属性
嘿伙计们
我有一个问题,那就是我有一个 dob 属性
显示在前端,但写入的信息
由客户提供,我无法进入后端或 magento 仪表板
我可以获取有关如何获取后端客户信息上的出生信息的帮助吗
请帮忙......
Hey guys
I have a problem, that is I have a d.o.b attribute
displayed on the front-end but the info that gets written
by the customer, I don't get on the back-end or the magento dashboard
can I please get help on how to get the d.o.b info on the back-end customer info
please help.....
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在最新的 Magento 1.5 中,客户实体有一个出生日期属性。此属性位于管理员中“客户信息”选项卡的“帐户信息”部分。我不确定 1.5 之前的版本是否存在这种情况,因为我目前无法访问早期的安装。但在最新或以前的版本中,该属性不可在前端(在 customer/account/create/ 或 customer/account/edit/ 中)输入。
这让我相信您正在使用 Magento 1.5 之前的版本,并且您或您认识的人可能已经修改了核心设计模板以将该字段添加到前端。如果是这种情况,那么该字段需要是客户实体的实际属性。一旦这样,您可以将“客户信息”选项卡的“帐户信息”部分的内容块重写为您的新模块中的块以显示该字段。
In the latest Magento 1.5, there is a Date of Birth attribute for the Customer entity. This attribute is on the Account Information section of the Customer Information tab in the admin. I'm not sure if this is the case prior to 1.5 as I currently don't have access to an earlier install. But this attribute is not available for entry on the front end (in customer/account/create/ or customer/account/edit/) in the latest or previous versions.
Which leads me to believe that you're using a pre 1.5 version of Magento and that you or someone you know may have modified a core design template to add that field to the front end. If this is the case, then that field needs to be an actual attribute of the Customer entity. Once it is so, you can rewrite the content block for the Account Information section of the Customer Information tab to a block in a new module of yours to display that field.