VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: BloomBoy on February 05, 2014, 23:50:39 PM

Title: Custom field troubles
Post by: BloomBoy on February 05, 2014, 23:50:39 PM
Hi,

I've been trying to add a list of sizes using Custom Fields but run into several different issues.

1. I was using the default field to add a list of values to choose from in the checkout but the list is stripped everything above 255 chars eventhough I alterered the database field to TEXT to allow more than 255 characters.

2. I used the same approach for colors. But when I wanted to correct some spelling errors to the original list it didnt update the products that I already had assigned different colors to?

So I guess I'm doing this the wrong way but I cant find the right way to do this. Please advice a VM newbie :-)

Title: Re: Custom field troubles
Post by: balai on February 06, 2014, 11:26:55 AM
1. Yes the length of the field is 255 in the database. You can change that

2. This is a fact. Every color name is stored per product

Btw. You can overcome both issues by using a 3rd party extension like this
http://breakdesigns.net/extensions/customfields-for-all
Title: Re: Custom field troubles
Post by: BloomBoy on February 06, 2014, 13:10:54 PM
Thansk for your tip! I will test it out now.
Title: Re: Custom field troubles
Post by: BloomBoy on February 06, 2014, 13:36:30 PM
I can confirm that the plugin "Custom Fields For All" solved my problems with default VM behaviour. It works great! Thansk!