开发者

Is there an easy way to require an address from a customer when creating an account

开发者 https://www.devze.com 2023-02-11 05:45 出处:网络
开发者_如何学CAnyone know the easiest way to require a customer to fill out an address when creating their account?It looks like there is the address information in the template, which only shows when
开发者_如何学C

Anyone know the easiest way to require a customer to fill out an address when creating their account?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消