There doesn't seem to be any means of changing the order of products in the "Listing Option" droplist.
Products appear in a fixed but strangely peculiar order! It almost seems to be alphabetic up to the first character difference then reverse alphabetic! (it's not alphabetic SKU order either - already tried that!).
Can a means be added to re-order the list or at the very least put it into SKU alphabetic or price order.
Comments
Comment #1
Florpunch commentedI have the same request. It could be interesting to be able to order the products in the "Listing Option".
Comment #2
Jedd Casella commentedI had a bit of a play with this on a dev site recently. I found if you add an asort() to the $products array in the function commerce_node_checkout_get_node_type_product_list the list will sort by price from highest to lowest.
Comment #3
marty.true commentedBump... issue is still persisting after a year and a half. This is really bad UX and would love to see some efforts on this.
Comment #4
arlingtonvoicellc commentedFYI: the order of the list is determined alphanumerically by the product ID. I found a quick workaround is to change the product_id for each item. In my case, my ID's changed from:
1_day
2_days
5_days
7_days
to:
1_1_days
2_2_days
3_5_days
4_7_days
Comment #5
jhonatanfdez commentedGoodnight. My name is Jonathan Fernández. Excuse my English, but I want to show how I could order the product field for the SKU.
Example SKU:
SKU - Title
0 Free Product - Free Product.
1 Payment Product - Payment Product.
In order to sort this field, I had to create a custom module. Please change the word "order_product" for the name of your module.
order_product.module