VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: MrKripke on August 25, 2016, 11:12:34 AM

Title: Product detail word limit
Post by: MrKripke on August 25, 2016, 11:12:34 AM
Hi! Does virtuemart 3 limit the number of characters in the product description? When I am adding a new product, I insert a long text in the product description. When I save a product, it cuts my text in more or less than 7000 words, but I need more.

I have changed product_desc field type from "varhcar" to "longtext" in the database, but it did not help. I checked the files of the controller and modules, but didn't find anything that might help me to solve the problem.
Title: Re: Product detail word limit
Post by: Studio 42 on August 25, 2016, 17:11:47 PM
This can be a PHP limit.
check this values, some can be modified in your server panel, some not
post_max_size=256M
upload_max_filesize=256M
max_input_vars=10000
can be a good setting in your case
Title: Re: Product detail word limit
Post by: MrKripke on August 26, 2016, 11:51:05 AM
Hello, Studio 42! Thanks for your response. I have checked php limits and I can say that this is not the case.

Everything works well in standard Joomla items, the error occurs only in the virtuemart.
Title: Re: Product detail word limit
Post by: GJC Web Design on August 26, 2016, 12:04:44 PM
the products lang table ?  product_desc   varchar(18400)
Title: Re: Product detail word limit
Post by: MrKripke on August 26, 2016, 12:25:04 PM
product_desc - longtext
Title: Re: Product detail word limit
Post by: Studio 42 on August 26, 2016, 13:08:37 PM
It's not because Joomla article work that virtuemart product work.
In Virtuemart, you have customfields and many other fields, so PHP limit include all this fields.
So suppose that you have a long description + long short desc + 40 customfields ... You can break the limit and have this issue.
So try to change your PHP limits and verify if you can add more text.
If you have change the DB product_desc field type to long text and changed your PHP settings, then report the issue