Hi All, i have loads of values i need to put into a cart variant, however, there seems to be limits to the box size (see attachments, does anyone know of a way around this?
What would be perfect is if there was a way to write attributes into products manually (like in 1.5!)
Chris
[attachment cleanup by admin]
it accepts 255 char - do you mean just the display width or do you need more than 255?
need more than 255 char or a way that i can maually type in each individual box when setting the attributes up in product!
you will need to change the db table as that column is set char(255) then find the form field and change that..
then hope it works
the form fields are rendered by the vm admin ->helpers-> html.php
public static function input($name,$value,$class='class="inputbox"',$readonly='',$size='37',$maxlength='255',$more=''){
return '<input type="text" '.$readonly.' '.$class.' id="'.$name.'" name="'.$name.'" size="'.$size.'" maxlength="'.$maxlength.'" value="'.htmlspecialchars($value).'" />'.$more;
}
if $maxlength isn't passed it defaults to 255 - haven't found the form ...
will all get overwritten next update though -- maybe you need to find a better solution