VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Piszi on July 19, 2017, 16:34:46 PM

Title: Customfiled type not saving with product if the fields are in a group
Post by: Piszi on July 19, 2017, 16:34:46 PM
Hello,

I've set up a new shop with the latest VM and Joomla I configured everything and set up custom fields.
I've only three customfields if we don't count the group type. All are String type and two of them have predefined values and set is dropdown. None of them are cart attribute.
Two are grouped in a group type custom field called "Functions" and this is the problematic. If I select this and save the product only the group is saved but the two actual field with values are not. Usually if I select it again than it saves corretly but not always.

What could be the problem.

Oh on my localhost I use php 7.1.1 with max_input_vars = 25000 so I think its not input vars problem and the production server php 5.6.31 with max_input_vars = 10000
Title: Re: Customfiled type not saving with product if the fields are in a group
Post by: Ventsi Genchev on July 19, 2017, 20:35:11 PM
I would recommend you try it out with a lower version of PHP. For example 7.0.x
Version 7.1.1 causes some problems.
Title: Re: Customfiled type not saving with product if the fields are in a group
Post by: Piszi on July 20, 2017, 04:26:51 AM
Changing PHP version or architecture did not help. But it looks like if I remove the fields from the group than it saves properly. I guess I have to live without that group and use those two customfields on their own.