PHP Prestashop 1.2.5删除姓氏上限

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了PHP Prestashop 1.2.5删除姓氏上限相关的知识,希望对你有一定的参考价值。

admin/tabs/AdminAddresses.php
=> remove «style="text-transform: uppercase;"» on:
<input type="text" size="33" name="lastname" value="’.htmlentities($this->getFieldValue($obj, ‘lastname’), ENT_COMPAT, ‘UTF-8’).’" style="text-transform: uppercase;" > <sup>*</sup>

admin/tabs/AdminCustomers.php
=> remove «style="text-transform: uppercase;"» on:
<input type="text" size="33" name="lastname" value="’.htmlentities($this->getFieldValue($obj, ‘lastname’), ENT_COMPAT, ‘UTF-8’).’" style="text-transform: uppercase;" > <sup>*</sup>

admin/tabs/AdminEmployees.php
=> remove «style="text-transform: uppercase;"» on:
<input type="text" size="33" name="lastname" value="’.htmlentities($this->getFieldValue($obj, ‘lastname’), ENT_COMPAT, ‘UTF-8’).’" style="text-transform: uppercase;" > <sup>*</sup>

classes/Address.php
=> find this line and change to this: «$fields[‘lastname’] = pSQL($this->lastname);»

classes/Customer.php
=> find this line and change to this: «$fields[‘lastname’] = pSQL($this->lastname);»

classes/Employee.php
=> find this line and change to this: «$fields[‘lastname’] = pSQL($this->lastname);»

以上是关于PHP Prestashop 1.2.5删除姓氏上限的主要内容,如果未能解决你的问题,请参考以下文章

PHP Prestashop 1.2.5产品标签

PHP Prestashop 1.2.5访问cookie

PHP Prestashop 1.2.5免费送货1载体

卸载 PrestaShop 1.7

Prestashop Guzzle 冲突

Prestashop 没有错误/空白页