Jump to content
Sign in to follow this  
Redfield

Ограничение символов в полном описании товара

Recommended Posts

Добрый вечер. Как снять ограничение по символам в полном описании товара?

Screenshot_15.png

Share this post


Link to post
Share on other sites

Пока дождёшься, решение сделаешь сам:

Итак:

1) Заходим в базу данных и ищем «_product_lang», выбираем столбец - «description»,  в ТИП ставим: «LONGTEXT», нажимаем Сохранить.

2) Задаём максимальную возможную длину по символам: открываем файл ВАШДОМЕН/src/PrestaShopBundle/Form/Admin/Type/FormattedTextareaType.php

И редактируем:

'limit' => 21844, // size max of UTF-8 content in MySQL text column

На:

'limit' => 4294967295, // size max of UTF-8 content in MySQL text column

Всё!!!

 

Screenshot_16.png

Edited by Redfield (see edit history)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More