S
S
Sergei2019-10-28 19:27:35
opencart
Sergei, 2019-10-28 19:27:35

Opencart 3. How to remove the character limit in the product name in the category?

The essence of the problem is that there is a limitation on the output of the number of characters in the product name in the category. Specifically, 25 characters. I was tormented by picking the category.php and oclayerednavigation.php controller files. In storage, too, searches did not lead to anything ... With the standard theme, they are also cut.
Please let me know if anyone had the same problem and how did you solve it? Where to look for the code?
Opencart 3.0.2.0 Thanks
in advance to everyone who can help with advice!!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Egor Antropov, 2019-10-30
@Relow

This should be found in the admin folder.
This is how, for example, in version 2.3.0.2.3 the limit on possible characters in the module string looks like.

if ((utf8_strlen($this->request->post['right']) < 3) || (utf8_strlen($this->request->post['right']) > 64)) {
      $this->error['right'] = $this->language->get('error_right');
    }

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question