Normally, order summary looks like this:

http://postimage.org/image/iwxpjrnuj/

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.

http://postimage.org/image/4vjqnzqex/

Is there any workaround avaliable with rules?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

cvangysel’s picture

I can confirm this behaviour.

cvangysel’s picture

Project: Commerce Shipping » Commerce Core
Version: 7.x-2.0-beta1 » 7.x-1.x-dev
Component: User interface » Line item
Assigned: Unassigned » cvangysel
FileSize
1 KB

This patch should fix the problem.

cvangysel’s picture

Status: Active » Needs review
rszrama’s picture

Title: Editing shipping line items on order edit form » Editing 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

bandanaman’s picture

Thanks a lot! It works in the latest dev.

Status: Fixed » Closed (fixed)

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