VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: Grisu74 on January 23, 2013, 15:26:42 PM

Title: limit to add custom fields
Post by: Grisu74 on January 23, 2013, 15:26:42 PM
Hello, but there is a limit to add custom fields to a product? you can increase it?

[attachment cleanup by admin]
Title: Re: limit to add custom fields
Post by: cas on February 19, 2013, 21:09:16 PM
I have this same problem.  I need to add more custom fields to a product than VM is allowing me to do.  Why is there a limit?  I need this limit removed ASAP.  Please advise when this limit is removed.
Title: Re: limit to add custom fields
Post by: PRO on February 19, 2013, 21:50:24 PM
if its just a simple "color" dropdown.

You can use my plugin
http://www.kaizenmediaworks.com/virtuemart-2-0-custom-field-dropbox-plugin

It will add many into a single custom
Title: Re: limit to add custom fields
Post by: cas on February 19, 2013, 22:03:58 PM
Hi Banquet,

I will take a look at your plugin, but in case it doesn't solve the problem completely, can you remove the limit from the base? 

Thanks,
Chuck
Title: Re: limit to add custom fields
Post by: cas on February 20, 2013, 04:04:05 AM
Hi Banquet,

I tried the plugin, but it does not allow me to add price adjustments in the product admin as described on the website with |+5.  What am I doing wrong? 

Also, can the limit to the number of Customs Fields be removed from the base?

Regards,
Chuck
Title: Re: limit to add custom fields
Post by: PRO on February 20, 2013, 14:14:47 PM
Quote from: cas on February 20, 2013, 04:04:05 AM
Hi Banquet,

I tried the plugin, but it does not allow me to add price adjustments in the product admin as described on the website with |+5.  What am I doing wrong? 

Also, can the limit to the number of Customs Fields be removed from the base?

Regards,
Chuck

Thats the ONLY cart variant custom field I use on my site

Red,Blue|+5,Green,Yellow|+5


what is the limit?

how many? I will tell milbo about this
Title: Re: limit to add custom fields
Post by: cas on February 20, 2013, 20:01:28 PM
For the plug-in: In the product admin, in the "Drop Box Selection separated by commas" field, it's not allowing me to type anything into the field to add the "|+5".  It allows me to delete characters, but I cannot type any new characters into that field.  I tried it with Firefox 17.0.2 and IE8.   

In the VM base: why is there any limit to the number of Custom Fields a product can have?  Can the limit be removed all together?  With furniture products, there are lots of fabric and leather choices.

Thanks,
Chuck
Title: Re: limit to add custom fields
Post by: cas on March 01, 2013, 01:02:42 AM
Any update on this?
Title: Re: limit to add custom fields
Post by: Milbo on March 01, 2013, 19:27:03 PM
I am not aware of any limit. And your limit cas is a completly different thing than Grisu is talking about.
Title: Re: limit to add custom fields
Post by: cas on March 01, 2013, 23:51:54 PM
Hi Milbo,

What limit is Grisu talking about, if not the limit on the number of Custom Fields that can be added to a product? 

I was adding custom fields to a product and when it reached 130 custom fields it would not save the product anymore.   When I add another custom field to the product and press the save button, it exits the product and goes to the main VirtueMart control panel.   Can you help?   

Chuck
Title: Re: limit to add custom fields
Post by: PRO on March 02, 2013, 20:30:30 PM
Quote from: cas on March 01, 2013, 23:51:54 PM
Hi Milbo,

What limit is Grisu talking about, if not the limit on the number of Custom Fields that can be added to a product? 

I was adding custom fields to a product and when it reached 130 custom fields it would not save the product anymore.   When I add another custom field to the product and press the save button, it exits the product and goes to the main VirtueMart control panel.   Can you help?   

Chuck


is this with ONLY 1 product?


try cloning the product and adding more


also try optimizing the DB
Title: Re: limit to add custom fields
Post by: cas on March 03, 2013, 00:44:41 AM
Yes, just one product.   Try adding 130 plus custom fields to one product to see the problem. 

I tried cloning the product and it did not allow adding more Custom Fields to the cloned product.  In fact, for the clone product it got this new error when I tried saving the product: "Invalid Token save"

How should I optimizing the DB? 
Title: Re: limit to add custom fields
Post by: PRO on March 03, 2013, 14:35:43 PM
Quote from: cas on March 03, 2013, 00:44:41 AM
Yes, just one product.   Try adding 130 plus custom fields to one product to see the problem. 

I tried cloning the product and it did not allow adding more Custom Fields to the cloned product.  In fact, for the clone product it got this new error when I tried saving the product: "Invalid Token save"

How should I optimizing the DB? 


The standard way would be to log into phpmyadmin  and "optimize tables"

I use  akeebah admin toools" 
https://www.akeebabackup.com/products/admin-tools.html

It has a 1 click backend button to do this.

ALSO:

go into extensions manager and check your database
There might be some errors
Title: Re: limit to add custom fields
Post by: cas on March 03, 2013, 21:02:36 PM
Hi Banquet,

There are no errors in the extension manager.  I optimized the tables, but it still does not allow adding the 132nd Custom Field to the product. 

The good news is that I was able to get your plug-in to work!  The instructions say to press the product Save button to enable editing, but that didn't enable editing the custom field.  But when I pressed Save & Close, and then reopened the product, it allowed me to edit the custom field. 

So now I have a workaround by using your plug-in, but it would still be good to see why the VM base only allows 131 custom fields per product.  Did anyone on the VM team try to duplicate this problem by adding 132 custom fields to a product?   

Thanks,
Chuck
Title: Re: limit to add custom fields
Post by: PRO on March 04, 2013, 02:30:56 AM
cas,
the reason I created my plugin is because I do not want to load 130 table rows of custom fields for a product.

Title: Re: limit to add custom fields
Post by: cas on March 04, 2013, 06:02:07 AM
I agree.  Your plug-in is the way to go for regular text drop-down fields, so thanks for creating it!  But what do I do when my customer wants to use images for his furniture fabrics and leather selections?  My plan was to enter one product complete with all the 200 plus custom field images and then just clone it for all the other products.   I know I could just create a separate page with all the color choices, and then have the user remember their choice when ordering the product by selecting the color name from a drop-down list, which is how his current VM1 site works, but this is error prone, so I was hoping with VM2 to use the custom field images for a better user experience.  This is why I still need this limit problem solved.   

By the way, in the admin for custom fields, the ordering still does not work. 

Thanks,
Chuck
Title: Re: limit to add custom fields
Post by: PRO on March 05, 2013, 00:05:41 AM
Quote from: cas on March 04, 2013, 06:02:07 AM
I agree.  Your plug-in is the way to go for regular text drop-down fields, so thanks for creating it!  But what do I do when my customer wants to use images for his furniture fabrics and leather selections?  My plan was to enter one product complete with all the 200 plus custom field images and then just clone it for all the other products.   I know I could just create a separate page with all the color choices, and then have the user remember their choice when ordering the product by selecting the color name from a drop-down list, which is how his current VM1 site works, but this is error prone, so I was hoping with VM2 to use the custom field images for a better user experience.  This is why I still need this limit problem solved.   

By the way, in the admin for custom fields, the ordering still does not work. 

Thanks,
Chuck

ordering of custom fields works for me
Title: Re: limit to add custom fields
Post by: cas on March 05, 2013, 01:15:43 AM
In the admin for Product I can change the order of the Custom Fields by dragging & dropping, but in the Custom Fields admin itself, when I try to change the order of the custom fields, it does not save the order for me.   Does that work for you? 
Title: Re: limit to add custom fields
Post by: PRO on March 05, 2013, 19:20:43 PM
Quote from: cas on March 05, 2013, 01:15:43 AM
In the admin for Product I can change the order of the Custom Fields by dragging & dropping, but in the Custom Fields admin itself, when I try to change the order of the custom fields, it does not save the order for me.   Does that work for you? 

O , no it does not
Title: Re: limit to add custom fields
Post by: cas on March 05, 2013, 21:47:50 PM
FYI, here is the link to the custom field admin ordering issue back in Oct 2012:  http://forum.virtuemart.net/index.php?topic=109255

As for this issue with the custom field limit of 131, please let me know when it's resolved so I can finish the website for my customer.  Thanks.
Title: Re: limit to add custom fields
Post by: cas on March 09, 2013, 21:56:01 PM
Any update on when this will be fixed?
Title: Re: limit to add custom fields
Post by: cas on March 10, 2013, 09:03:55 AM
Banquet,

Does your Drop Box plug-in have a character limit for the Drop Box Selection field?   I am not able to enter all the characters I need to enter.

Chuck 
Title: Re: limit to add custom fields
Post by: cas on March 12, 2013, 19:03:41 PM
Hi Banquet,

Any update on this character size limit to the Drop Box plug-in "Drop Box Selections" field?  I can only enter about 10 items in the "Drop Box Selections" field before it reaches a character limit.  My customer is waiting to load all his products and go live with his new site until this size limit is resolved.

Thanks,
Chuck 
Title: Re: limit to add custom fields
Post by: PRO on March 14, 2013, 22:58:44 PM
Quote from: cas on March 12, 2013, 19:03:41 PM
Hi Banquet,

Any update on this character size limit to the Drop Box plug-in "Drop Box Selections" field?  I can only enter about 10 items in the "Drop Box Selections" field before it reaches a character limit.  My customer is waiting to load all his products and go live with his new site until this size limit is resolved.

Thanks,
Chuck 

look here
http://www.kaizenmediaworks.com/images/files/custom-field.png


do you see all the characters I use?

sounds like a DB problem for you or something.

Title: Re: limit to add custom fields
Post by: cas on March 15, 2013, 00:27:24 AM
Here is a real drop down list I need to use on the furniture website for leather choices.  See if you can add this list to one drop box without it getting cut off:

Select, Grade 1-Empire Aloe Vera, Grade 1-Empire Black, Grade 1-Empire Butternut, Grade 1-Empire Chocolate, Grade 1-Empire Clay, Grade 1-Empire Cream, Grade 1-Empire Honey, Grade 1-Empire Plum, Grade 1-Empire Polar, Grade 1-Empire Smoke, Grade 1-Fashion Almond, Grade 1-Fashion Black, Grade 1-Fashion Caramel, Grade 1-Fashion Off White, Grade 1-Fashion Red, Grade 1-Fashion Ripple, Grade 1-Fashion Sandstone, Grade 2-America Brandy |+250.00, Grade 2-America Chianti |+250.00, Grade 2-America Hazelnut |+250.00, Grade 2-America Merlot |+250.00, Grade 2-America Vintage |+250.00, Grade 2-Dream Black |+250.00, Grade 2-Dream Celery |+250.00, Grade 2-Dream Coffee |+250.00, Grade 2-Dream Espresso |+250.00, Grade 2-Dream Iceberg |+250.00, Grade 2-Dream Latte |+250.00, Grade 2-Oxford Blue |+250.00, Grade 2-Dream Oyster |+250.00, Grade 2-Dream Straw |+250.00, Grade 2-Dream White |+250.00, Grade 2-Dream Wine |+250.00, Grade 2-Guanaco Aztec |+250.00, Grade 2-Guanaco Black |+250.00, Grade 2-Guanaco Caramel |+250.00, Grade 2-Guanaco Dark Brown |+250.00, Grade 2-Guanaco Granite |+250.00, Grade 2-Guanaco Grey |+250.00, Grade 2-Guanaco Marmo |+250.00, Grade 2-Guanaco Merlot |+250.00, Grade 2-Guanaco Sangria |+250.00, Grade 2-Guanaco West |+250.00, Grade 2-Navajo Blue |+250.00, Grade 2-Navajo Bordeaux |+250.00, Grade 2-Navajo Butter |+250.00, Grade 2-Navajo Caramel |+250.00, Grade 2-Navajo Dark Brown |+250.00, Grade 2-Navajo Honey |+250.00, Grade 2-Navajo Hunter |+250.00, Grade 2-Navajo Ivory |+250.00, Grade 2-Navajo Mushroom |+250.00, Grade 2-Navajo Onyx |+250.00, Grade 2-Navajo Palomino |+250.00, Grade 2-Navajo Pecan |+250.00, Grade 2-Navajo Strawberry |+250.00, Grade 3-Classico Burlington Ranch |+500.00, Grade 3-Classico Capri Chocolate |+500.00, Grade 3-Classico Capri Harness |+500.00, Grade 3-Classico Longhorn Ranch |+500.00, Grade 3-Durango Bacio |+500.00, Grade 3-Durango Cohiba |+500.00, Grade 3-Durango Mahagony |+500.00, Grade 3-Durango Tobacco |+500.00, Grade 3-Eugene Beige |+500, Grade 3-Eugene Brick |+500, Grade 3-Eugene Charlotte |+500, Grade 3-Eugene Tumble |+500, Grade 3-Europa Coffee |+500.00, Grade 3-Europa Ebony |+500.00, Grade 3-Europa Vanilla |+500.00, Grade 3-Sensations Aubergine |+500.00, Grade 3-Sensations Black |+500.00, Grade 3-Sensations Brandy |+500.00, Grade 3-Sensations Chestnut |+500.00, Grade 3-Sensations Cream |+500.00, Grade 3-Sensations Dark Brown |+500.00, Grade 3-Sensations Espresso |+500.00, Grade 3-Sensations Light Brown |+500.00, Grade 3-Sensations Olive |+500.00, Grade 3-Sensations Red |+500.00, Grade 3-Sensations Saddle |+500.00, Grade 3-Sensations Sky Blue |+500.00, Grade 3-Sensations Tango |+500.00, Grade 3-Sensations Tuscany |+500.00, Grade 3-Softy Bianco |+500.00, Grade 3-Softy Black |+500.00, Grade 3-Softy Brandy |+500.00, Grade 3-Softy Buckskin |+500.00, Grade 3-Softy Chestnut |+500.00, Grade 3-Softy Chocolate |+500.00, Grade 3-Softy Grey |+500.00, Grade 3-Softy Java |+500.00, Grade 3-Softy Mica |+500.00, Grade 3-Softy Mint |+500.00, Grade 3-Softy Red |+500.00, Grade 3-Softy Swiss Coffee |+500.00, Grade 3-Softy Winter White |+500.00, Grade 3-Stardust Copper |+500.00, Grade 3-Stardust Mineral |+500.00, Grade 3-Stardust Mink |+500.00, Grade 3-Stardust Pearl |+500.00, 4-Brighton Bridle |+750.00, Grade 4-Brighton Chocolate |+750.00, Grade 4-Brighton Giacomo |+750.00, Grade 4-Brighton Hero |+750.00, Grade 4-Brighton Honey |+750.00, Grade 4-Brighton Tobassco |+750.00, Grade 4-Impressions Black Sky |+750.00, Grade 4-Impressions Chocolate |+750.00, Grade 4-Impressions Claret |+750.00, Grade 4-Impressions Liquor |+750.00, Grade 4-Impressions Sabbia |+750.00, Grade 4-Impressions Walnut |+750.00, Grade 4-Santa Fe Bazzana Polo |+750.00, Grade 4-Santa Fe Brompton Chocolate |+750.00, Grade 4-Santa Fe Tri-Tone Red Brown |+750.00, Grade 4-Santa Fe Village Antique |+750, Grade 5-Bella Vista Bark |+1000.00, Grade 5-Bella Vista Bench |+1000.00, Grade 5-Bella Vista Black |+1000.00, Grade 5-Bella Vista Ebony |+1000.00, Grade 5-Bella Vista Moss |+1000.00, Grade 5-Bella Vista Sequoia |+1000.00, Grade 5-Bella Vista Slate |+1000.00, Grade 5-Bella Fiore Autumn |+1000.00, Grade 5-Bella Fiore Black |+1000.00, Grade 5-Bella Fiore Briar |+1000.00, Grade 5-Bella Fiore Brownstone |+1000.00, Grade 5-Bella Fiore Buttermilk |+1000.00, Grade 5-Bella Fiore Cranberry |+1000.00, Grade 5-Bella Fiore Earth |+1000.00, Grade 5-Bella Fiore Linen |+1000.00, Grade 5-Bella Fiore Mink |+1000.00, Grade 5-Bella Fiore Sea |+1000.00, Grade 5-Bella Fiore Terracotta |+1000.00, Grade 5-Edinburg Butterscotch |+1000.00, Grade 5-Edinburg Chestnut |+1000.00, Grade 5-Edinburg Loam |+1000.00, Grade 5-Edinburg Loft |+1000.00, Grade 5-Edinburg Red |+1000.00, Grade 5-Edinburg Sandbank |+1000.00, Grade 5-Edinburg Wheat |+1000.00, Grade 5-Edinburg Woodland |+1000.00, Grade 5-Palazzo Brown |+1000.00, Grade 5-Palazzo Caffe |+1000.00, Grade 5-Palazzo Champagne |+1000.00, Grade 5-Palazzo Parquet |+1000.00, Grade 5-Palazzo Walnut |+1000.00, Grade 5-Praire Bison Antelope |+1000.00, Grade 5-Praire Bison Black |+1000.00, Grade 5-Praire Bison Chocolate |+1000.00, Grade 5 Praire Bison Cognac |+1000.00, Grade 5-Praire Bison Creme |+1000.00, Grade 5-Praire Bison Oxbood |+1000.00, Grade 5-Praire Bison Saddle |+1000.00, Grade 5-Praire Bison Tobacco |+1000.00, Grade 5-Rowdy Bison Tan |+1000.00
Title: Re: limit to add custom fields
Post by: PRO on March 15, 2013, 02:03:06 AM
5300 characters

that field has a max character length of 255

I know the DB can be changed, but when you upgrade, its going to drop the rest of the characters


Title: Re: limit to add custom fields
Post by: cas on March 15, 2013, 02:55:41 AM
When I checked the DB table xxx_virtuemart_product_customfields for the field "custom_param", where these attributes are stored, it's defined as varchar(12800), not 255.  That's good news!  So then when I manually pasted all the attributes into the "custom_param" field in the DB, it saves all the attributes just fine, and the website displays all the attributes in the drop down just fine.  Then I went into the product admin and the plug-in Drop Box Selection field now has all the attributes in it, and when I saved the product, the attributes all remained in the DB.   All great news!   So then when I tried to create a new Drop Box attribute, the Drop Box Selection field is still limiting the number of characters.   So can you check the plug-in to see what's limiting the Drop Box Selection field?
Title: Re: limit to add custom fields
Post by: PRO on March 15, 2013, 03:39:31 AM
cas, I am working on this

this will be fixed. Its in the plugin

Title: Re: limit to add custom fields
Post by: cas on March 15, 2013, 03:48:57 AM
Great! Thanks!  Let me know when it's fixed and I'll test it out. 
Title: Re: limit to add custom fields
Post by: PRO on March 15, 2013, 03:51:10 AM


drop.php

function plgVmOnProductEdit($field, $product, &$row,&$retValue) {
      if ($field->custom_element != $this->_name) return '';
      $this->parseCustomParams($field);
      $html ='
         <fieldset>
            <legend>'. JText::_('VMCUSTOM_DROP_BOX') .'</legend>
            <table class="admintable">
               '.VmHTML::row('input','VMCUSTOM_DROP_STRING_NAME','custom_param['.$row.'][custom_drop_name]',$field->custom_drop_name).'
               '.VmHTML::row('textarea','VMCUSTOM_DROP_STRING','custom_param['.$row.'][custom_drop]',$field->custom_drop).'
            </table>
         </fieldset>';
      $retValue .= $html;

      return true ;
   }


in the 2nd   VmHTML::row
change 'input'
to 'textarea'

[attachment cleanup by admin]
Title: Re: limit to add custom fields
Post by: cas on March 15, 2013, 04:28:38 AM
Perfect!  Thanks! 
Title: Re: limit to add custom fields
Post by: pcbob on April 03, 2013, 04:13:28 AM
Pro that works perfect thanks. Not sure if this is happening to anyone else but, when I add it to a product I see a white textarea but not text, the text I had created is underneath the box, To solve this just click save and it will magically appear in the textarea box. It impressed a client LOL
Title: Re: limit to add custom fields
Post by: driver.by on June 06, 2013, 09:41:01 AM
Quote from: Grisu74 on January 23, 2013, 15:26:42 PM
Hello, but there is a limit to add custom fields to a product? you can increase it?

I've solved the problem with customfields limitation. Basically there is limit of 131 customfields, then "Invalid Token save" error is occured.
The reason is maximum variables limitation of a POST request. You can change the php.ini variable "max_input_vars" (it may not be there, just add it). Set it to 2000 (1000 is default) and you could add more.
Title: Re: limit to add custom fields
Post by: AntiCZ on June 06, 2013, 16:28:58 PM
I also had to make more php.ini changes:

php_admin_value max_input_vars 2000
php_value suhosin.request.max_array_index_length 128
php_value suhosin.post.max_array_index_length 128
php_value suhosin.request.max_vars 2000
php_value suhosin.post.max_vars 2000

Title: Re: limit to add custom fields
Post by: EvgenVirtuemart on October 13, 2013, 12:40:04 PM
   
I have the same problem with a limit. Could you explain more what file to change the settings? where is it located? Thank you
Quote from: AntiCZ on June 06, 2013, 16:28:58 PM
I also had to make more php.ini changes:

php_admin_value max_input_vars 2000
php_value suhosin.request.max_array_index_length 128
php_value suhosin.post.max_array_index_length 128
php_value suhosin.request.max_vars 2000
php_value suhosin.post.max_vars 2000


Title: Re: limit to add custom fields
Post by: AntiCZ on November 15, 2013, 14:35:13 PM
You can set it in php.ini on the server or in .htaccess or via php funtion ini_set();
Title: Re: limit to add custom fields
Post by: kemkoy on January 17, 2014, 15:50:54 PM
Hi Guys

Please which of the php script parameters do i need to append to get this to work.

I am having the same issues.

Please help me, I am stuck

Thanks
Title: Re: limit to add custom fields
Post by: kona333 on May 25, 2017, 11:48:28 AM
Was there any fix to this?

I tried the php.ini additions, didn't work. I tried changing the _virtuemart_product_customfields - customfield_value    varchar(2500)  to varchar(4000)
That did nothing. Not sure if I did that correct.

So any other solution for having more custom fields data? It probably is stopping saving at about 2500 characters. VirtueMart 3.0.18

Thanks
Title: Re: limit to add custom fields
Post by: Milbo on May 31, 2017, 07:42:38 AM
Just update, the new vm3.2 has "text" instead of varchar, so "unlimited" space :-)
Title: Re: limit to add custom fields
Post by: kona333 on June 08, 2017, 05:43:42 AM
Unfortunately the problem still persists in v3.2.2. Saving custom fields just takes me back to dashboard, assuming at about the 2500 character mark.

Anything else I can try, maybe directly on the database to change it? I've tried to pay a few coders but they just wasted my time.
Title: Re: limit to add custom fields
Post by: jenkinhill on June 08, 2017, 13:01:23 PM
I have just installed VM3.2.3Rev9574  (from SVN) and varchar(4095) is used for custom_value

(https://image.ibb.co/f3mfkv/cust.jpg)
Title: Re: limit to add custom fields
Post by: kona333 on June 09, 2017, 07:07:24 AM
Yep mines the same as below, this under virtuemart_customs

But just won't save. I tried 6095 as well, made no different so maybe this issue isn't the varchar limit?


Title: Re: limit to add custom fields
Post by: iskye81 on June 14, 2017, 17:08:37 PM
I'm also up against this as well. I have a custom field with a large number of values and once I add over a certain amount of values (80+) the product simply refuses to save. I've tried all the php.ini / .htaccess suggestions from here and elsewhere. None of them make a difference. I'm working on a full upgrade of a website, but this bug has now completely stalled my progress as I can't make any modifications to the products affected as they simply won't save. This was never an issue in VM1. Can't say I'm a fan of the whole custom fields approach at all. Any help on offer would be appreciated.
Title: Re: limit to add custom fields
Post by: jenkinhill on June 14, 2017, 18:21:07 PM
 @iskye81 check your server php resources. See   http://forum.virtuemart.net/index.php?topic=126888
Title: Re: limit to add custom fields
Post by: kona333 on June 15, 2017, 12:40:17 PM
Adding this to php.ini didn't fix ot for me

php_admin_value max_input_vars 2000
php_value suhosin.request.max_array_index_length 128
php_value suhosin.post.max_array_index_length 128
php_value suhosin.request.max_vars 2000
php_value suhosin.post.max_vars 2000


Adding these to htaccess doesn't work, results in 500 server error.

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
Title: Re: limit to add custom fields
Post by: Milbo on June 15, 2017, 18:26:20 PM
Quote from: jenkinhill on June 08, 2017, 13:01:23 PM
I have just installed VM3.2.3Rev9574  (from SVN) and varchar(4095) is used for custom_value

(https://image.ibb.co/f3mfkv/cust.jpg)

custom_value is not the customfield_value. The custom table holds the prototypes. But we need a lot space for the product customfields.
Title: Re: limit to add custom fields
Post by: jenkinhill on June 15, 2017, 22:45:48 PM
OK, wrong table.  customfield_value is still varchar(2500) in VM3.2.3.9577 - the latest one I am testing.

(https://image.ibb.co/bzdtxk/custval.jpg)

Or have I got that one wrong?
Title: Re: limit to add custom fields
Post by: iskye81 on June 22, 2017, 13:59:03 PM
Quote from: jenkinhill on June 14, 2017, 18:21:07 PM
@iskye81 check your server php resources. See   http://forum.virtuemart.net/index.php?topic=126888

As I already mentioned this doesn't work. I have the same issues as kona333, i.e. adding the lines to php.ini does nothing and adding them to .htaccess results in a server error.
Title: Re: limit to add custom fields
Post by: Milbo on June 23, 2017, 13:09:33 PM
Quote from: jenkinhill on June 15, 2017, 22:45:48 PM
OK, wrong table.  customfield_value is still varchar(2500) in VM3.2.3.9577 - the latest one I am testing.

(https://image.ibb.co/bzdtxk/custval.jpg)

Or have I got that one wrong?

You are right. Yes it must be that way. The customfield_value is mainly used for VALUES, like a size. So it planned to use it as key. At the moment we have just a group by, but also ordering.

But the customfield_params are text now. As I maybe mentioned before, the textfields must be ported to use a param for the content. I could write this within 20 minutes. That is easy. The problem is the Backwardcompatibility.

I could add it next release (vm3.2.5) for a silver http://extensions.virtuemart.net/support/virtuemart-supporter-membership-silver-detail
Title: Re: limit to add custom fields
Post by: iskye81 on June 27, 2017, 14:38:40 PM
Does this mean there's no way around this issue at the moment?
Title: Re: limit to add custom fields
Post by: jenkinhill on June 27, 2017, 15:37:18 PM
Quote from: Milbo on June 23, 2017, 13:09:33 PM
I could add it next release (vm3.2.5) for a silver http://extensions.virtuemart.net/support/virtuemart-supporter-membership-silver-detail