开发者

Adding fields to backend customer create section

开发者 https://www.devze.com 2023-02-21 06:38 出处:网络
I would like to add three fields in customer creating section of magento backend. Customer Card ID Customer Store No

I would like to add three fields in customer creating section of magento backend.

  • Customer Card ID
  • Customer Store No
  • Customer Store Name

Those fields should save into magento database then can query/show in onepage checkout ( we would like to send automatic mail of related stores customer relationship department).

Could开发者_StackOverflow you please help me to make such a things in magento?


first you need to decide if those attributes are customer attributes or customer address attributes or both together. Then add the attributes to customer and/or billing/shipping address objects (preferable with setup script) and then add the fields to all templates you might need. You also might need to extend the user data validation class.

0

精彩评论

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

关注公众号