diff --git a/uc_order/uc_order.admin.inc b/uc_order/uc_order.admin.inc index 66d72fa..1682220 100644 --- a/uc_order/uc_order.admin.inc +++ b/uc_order/uc_order.admin.inc @@ -1260,6 +1260,8 @@ function uc_order_edit_form_submit($form, &$form_state) { foreach ($form_state['values']['products'] as $product) { if (!isset($product['remove']) && intval($product['qty']) > 0) { $product['data'] = unserialize($product['data']); + $product['weight_units'] = $product['weight']['weight_units']; + $product['weight'] = $product['weight']['weight']; $product = (object)$product; $order->products[] = $product;