Normally, order summary looks like this:

While editing an order, shipping line item is displayed in form under the products with editable fields - price and quantity. This feature is very usefull, because shipping price sometimes needs to be changed (for example, after a phone negotiations with customer). But if the price has changed, after submitting changes, shipping line element in order summary is missing. In example below, shipping price has changed to 50 from 18, so the order total value has correctly increased, but 'Kurier' (Courier) line is not displayed anymore. This causes the big lack in user experience.

Is there any workaround avaliable with rules?

#2 commerce-editing_line_item_resets_component_name-1796528-2.patch1 KBcvangysel
PASSED: [[SimpleTest]]: [MySQL] 3,551 pass(es).
[ View ]


I can confirm this behaviour.

Project:Commerce Shipping» Drupal Commerce
Version:7.x-2.0-beta1» 7.x-1.x-dev
Component:User interface» Line item
Assigned:Unassigned» cvangysel
new1 KB
PASSED: [[SimpleTest]]: [MySQL] 3,551 pass(es).
[ View ]

This patch should fix the problem.

Status:Active» Needs review

Title:Editing shipping line items on order edit formEditing line items on the order edit page causes them to lose their base price component type
Assigned:cvangysel» Unassigned
Status:Needs review» Fixed

Looks great, and holy cow! It's exactly 1 kB! : D

Thanks a lot! It works in the latest dev.

Status:Fixed» Closed (fixed)

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