创建帐户时是否有一种简单的方法要求客户提供地址
有人知道要求客户在创建帐户时填写地址的最简单方法吗?
Anyone know the easiest way to require a customer to fill out an address when creating their account?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
模板里好像有地址信息,只有
$this->getShowAddressFields()
为true时才会显示。看起来这只是在使用多个送货地址时进行注册而设置的,所以我只是将$this->setShowAddressFields(true);
放在模板的顶部,它工作正常。不过,可能应该在块中或通过观察者来完成此操作。It looks like there is the address information in the template, which only shows when
$this->getShowAddressFields()
is true. It looks like this is only set for registering when using the multiple shipping addresses, so I just threw$this->setShowAddressFields(true);
In the top of my template and it works fine. Probably should do this in a block or through an observer though.