Add custom field in Prestashop 1.7.6 category with a module. How to save in database?
问题 I'm creating a module in Prestashop 1.7.6 to add some custom fields in my categories administration page. Here is my code (from this source in French, new Symfony model used) : modules/categorycustomfields/categorycustomfields.php class Categorycustomfields extends Module { protected $config_form = false; public function __construct() { $this->name = 'categorycustomfields'; $this->tab = 'administration'; $this->version = '1.0.0'; $this->author = 'abc'; $this->need_instance = 0; $this-