如何在 Prestashop 1.6 中向管理客户表单添加新字段

How to add new field to admin customer form in Prestashop 1.6

晚上好,

我想在管理客户表单中添加新字段。在那里我可以显示客户的偏好。有钩子吗?或者我需要覆盖控制器(哪个)?

亲切的问候

  1. 更改客户 table 以添加新字段
  2. 覆盖 classes/customer.php 以添加新定义和变量
  3. 覆盖 controllers/admin/admincustomercontroller.php
  4. 覆盖前端控制器上的 auth 或 myaccount