【发布时间】:2020-02-26 11:38:02
【问题描述】:
如何从 opencart (3.0.3.2) 的管理产品页面中的模型字段中删除“所需模型”,并使其成为与数据选项卡中的其他字段一样的可选字段?模型所需的屏幕截图。
我试图隐藏这段代码,但 (click to see) 不起作用
管理员\控制器\目录\product.php
/*if ((utf8_strlen($this->request->post['model']) < 1) || (utf8_strlen($this->request->post['model']) > 64)) {
$this->error['model'] = $this->language->get('error_model');
} */
【问题讨论】:
-
您可以从 product_form.twig 文件中删除所需的内容。