VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: sebol75 on November 08, 2012, 17:18:58 PM

Title: problem with the order of product variants in customfields
Post by: sebol75 on November 08, 2012, 17:18:58 PM
for a long time I had a problem with the order of product variants such as
bbbb
aaaa
cccc
the problem is that when the time I wanted to add another option - "aabb" It was at the very end
When the options are 50 hard to find without proper alphabetical order.
solution:
file: plugins / vmcustom / stockable / stockable.php at line 285
$ show_select = false;
you need to add
asort ($ options);
That's all :)