What I did here is I set weight to small, medium and large by .5kg, 1kg and 1.5 kg.
and at the custom field try to select not by product sku but by product weight my problem now is to some product this will work it will show s, m, l ... but to some product still s, l, m.... small is my parent product and m,l are the child product