News:

Support the VirtueMart project and become a member

Main Menu

Bug when adding large number of product attributes.

Started by markurzawa, May 28, 2014, 15:58:45 PM

Previous topic - Next topic

markurzawa

I'm adding products in VM v2 and they should have about 10-15 attributes each and each of the attributes is a choice of about 50 different values. This makes the total number of values for all attributes between 500-750.
The attribute names are typically 20 characters long and attribute values average about 15 characters each.

When I'm less than half way adding the attributes and values in the 'Custom Fields' section, the admin panel refuses to add more and when I'm at that point the 'Save' action fails and brings me back to the Control Panel view. When I go back to the product to add some more attributes and values, it looks like it lets me add a few more, but Save action fails again.

How can I increase the capacity of my 'Custom Fields' so I can add more attribute-value-pairs?

I'm using VM 2.0.22a and attribute type is 'Cart Variant', and the link to the product I'm editing which shows and maximum attributes and value I was able to add so far is here:
http://sassypapers.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=27&virtuemart_category_id=2&Itemid=108

I moved my joomla site to a new host and it increased the number of attributes I'm able to set, but I still hit the limit and need to add more. This is a product link with even more attributes. Does anyone know how to increase that limit?

http://sassypapers.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=36&virtuemart_category_id=2&Itemid=108

markurzawa

Solution is to set high enough limits in php.ini file for the following variables:

max_input_vars
post_max_size
max_execution_time
max_input_time