Product Feature Limit W/ Variants


I have created a Product feature called “Brands”. The type is text and i am trying enter more than 70 variants (Brands). Problem is that i cannot add more than 70. When i add a new one, i click save, it seems that everything is ok (but it’s not) and i don’t get the green notification. Is that a limitation or a bug?

Shouldn't be a limitation. Is the data in the database (or can you search for it)?

Yeah the data is in the database. Had a look using phpMyAdmin. For some reason it just doesn't accept any new entries on that product feature. I have some other product feature with 3 - 5 variants and i can insert new features.

Hello tsiger,

The problem requires the investigation on your server. Please contact us via Customer Help Desk and provide us with a temporary access to your server.

Pavel Zyukin

CS-Cart Support team

I am having this same problem in V3.0.6 Pro.

I already have 70 options entered, but cannot add a 71st option variant. I get the following error and the product option variants are not added to the database:

Fatal error: Cannot use string offset as an array in /home/username/public_html/var/cache/templates/admin/%%E4^E42^E4252AD1%%mainbox.tpl.php on line 55

Any clues? Tried clearing the cache manually and via ?cc to no avail.

Update. Found the cause, here's the fix.

The max_input_vars value will likely be set to “1000” as is most default settings in Apache builds.

Change this to a higher value, which should be done via php.ini but you can quickly test by changing the value in your .htaccess file…

Add the following line to .htaccess:

php_value max_input_vars 2000

Clear your sites cache and try to replicate the error.