Post by opencart2013 » Sun Jun 30, 2013 1:13 pm

请问opencart的后台那里字符限制在那修改!
附图

Attachments

QQ图片20130630131240.jpg

QQ图片20130630131240.jpg (7.06 KiB) Viewed 2193 times

QQ图片20130630131240.jpg

QQ图片20130630131240.jpg (7.06 KiB) Viewed 2193 times


Newbie

Posts

Joined
Mon Jun 03, 2013 9:35 pm

Post by GeeHim » Mon Oct 21, 2013 12:14 pm

您好啊!

你要去ADMIN文件夾然後去CONTROLLER, CATALOG開option.php

然後找這個:

foreach ($this->request->post['attribute_description'] as $language_id => $value) {
if ((utf8_strlen($value['name']) < 3) || (utf8_strlen($value['name']) > 64)) {
$this->error['name'][$language_id] = $this->language->get('error_name');
}
}

在這裡的數字你該你喜歡的: if ((utf8_strlen($value['name']) < 3) || (utf8_strlen($value['name']) > 64)) {

3為最小的字數 64為最多的

希望幫到你!

Kind regards,

GeeHim Siu
Open Cart Support


New member

Posts

Joined
Mon Dec 10, 2012 12:44 pm

Post by scsunboy » Tue Oct 22, 2013 5:12 pm

对的,不过系统里面修改的地方比较多,如果急用你可以用空格代替一个符号,就快速处理了。

www.opencart.cn OpenCart中文支持网站


User avatar
New member

Posts

Joined
Wed Oct 06, 2010 11:23 am
Who is online

Users browsing this forum: No registered users and 5 guests