Jump to content
Sign in to follow this  
ARTEMN5

[Решено] Как разрешить отзывы от 15 символов?

Recommended Posts

Сейчас размер отзыва от 25 символов, как  разрешить отзывы от 15 символов?

Share this post


Link to post
Share on other sites

в файле catalog/controller/product/product.php найти код



if ((utf8_strlen($this->request->post['text']) < 25) || (utf8_strlen($this->request->post['text']) > 1000)) {
                $json['error'] = $this->language->get('error_text');
            }

и исправить число 25 в "post['text']) < 25)" на свое.


Share this post


Link to post
Share on other sites

Спасибо

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.