You have to edit ps_product_attribute.php
VM by default does not sort the child items, my mod does not either!
Lines 229,241,436 and 447 have to be edited.
At the end of each line add an order by clause
this is one of the lines (They are different so dont just cut & paste!)
| Code: : |
$q = "SELECT product_id,product_name,product_parent_id FROM #__{vm}_product WHERE product_parent_id='$product_id' AND product_publish='Y'";
|
Edit it to add the order by clause
| Code: : |
$q = "SELECT product_id,product_name,product_parent_id FROM #__{vm}_product WHERE product_parent_id='$product_id' AND product_publish='Y' ORDER BY product_name";
|
instead of product name you could use
product_sku, product_id etc
If your SKU's are in order then I would use product_sku