News:

Looking for documentation? Take a look on our wiki

Main Menu

problem with the order of product variants in customfields

Started by sebol75, November 08, 2012, 17:18:58 PM

Previous topic - Next topic

sebol75

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 :)