Really sorry, but I can't install a .dev now just to make a patch. It's a one-liner. In uc_order.module, in uc_order_view(), add a single line to make order panes observe the order set by weight:

$order->content[$pane['id']] = array(
  '#prefix' => '<div class="order-pane ' . $pane['class'] . '" id="order-pane-' . $pane['id'] . '">',
  '#suffix' => '</div>',
  '#weight' => $pane['weight'], // <<<<<<<<<<<
);

Comments

Status:Active» Postponed (maintainer needs more info)

I can already change the order of the panes by rearranging them at /admin/store/settings/orders/display without this patch.

The pane settings at /admin/store/settings/orders need to be removed as they are no longer needed, there is an open task for this at #1196602: Order admin settings: panes vs manage fields/display tabs

Category:bug» support
Status:Postponed (maintainer needs more info)» Fixed

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

/admin/store/settings/orders/display doesn't cut it for me because that form does not show my custom pane that was defined using hook_uc_order_pane().

Category:support» bug
Status:Closed (fixed)» Needs work

Category:bug» support
Status:Needs work» Fixed

http://api.ubercart.me/api/drupal/ubercart!uc_order!uc_order.module/func...

This function is responsible for generating /admin/store/settings/orders/display, the 'show' array in your hook_uc_order_pane() definition needs to include either 'view' or customer' for it to show up on that page.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.