Здравствуйте! Подскажите пожалуйста, где поменять действие , количество символов в отзывах. Текст нашла где поменять и в файле тоже catalog/controller/product/product.php
Что не так? Спасибо
public function write() {
$this->load->language('product/product');
$json = array();
if ($this->request->server['REQUEST_METHOD'] == 'POST') {
if ((utf8_strlen($this->request->post['name']) < 5) || (utf8_strlen($this->request->post['name']) > 1000)) {
$json['error'] = $this->language->get('error_name');
}
if ((utf8_strlen($this->request->post['text']) < 2) || (utf8_strlen($this->request->post['text']) > 25000)) {
$json['error'] = $this->language->get('error_text');
}
if (empty($this->request->post['rating']) || $this->request->post['rating'] < 1 || $this->request->post['rating'] > 5) {
$json['error'] = $this->language->get('error_rating');
}