News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Is there limit to Custom Fields

Started by bubu678, November 24, 2014, 08:11:29 AM

Previous topic - Next topic

bubu678

Is there a limit to the number of custom fields that can be used?  I have noticed that after about  130 I cannot save any more and jumps to the Product page.  What I had to resort to is adding the rest of them on the backend.  They display properly, it's just that you cannot edit it on the front end no more.

In my case I have cart variant of 23 items and I need to use them for up to 24 dropdowns.  Is there any other method to use?  I do not need custom prices.

Any help would be great

bubu678


jenkinhill

This is most likely a PHP limitation on the server. See this thread for a solution. http://forum.virtuemart.net/index.php?topic=112333.msg391664#msg391664
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

bubu678

Jenkinhill,   thanks for the reply.

I put
php_value upload_max_filesize 64M
php_value post_max_size 96
php_value max_execution_time 180
php_value max_input_time 600
php_value max_input_vars 2000
php_value request.max_array_index_length 128
php_value post.max_array_index_length 128
php_value request.max_vars 2000
php_value post.max_vars 2000

on the top on my .htaccess  but it didn't help.  When I save the  VM product with 176 custom fields it still jumps to Product listing with no save message.

Any other thoughts?

jenkinhill

Some servers do not allow override of php.ini values by .htaccess  - check with your host.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Milbo

Split your product variants with generic child variants (vm2.6) or with the "child variants" vm3. Then work in the children.

Also the post size may have an maximum limit. You may store your page while editing your product and check the size of it.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

jenkinhill

Main issue is the server PHP restrictions, which can changed if you have access to or can override the master php.ini or you are on a dedicated server.  Suggested settings to increase are in http://forum.virtuemart.net/index.php?topic=112333.msg391664#msg391664
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum