Download & Extend

Editing line items on the order edit page causes them to lose their base price component type

Project:Drupal Commerce
Version:7.x-1.x-dev
Component:Line item
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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?

Comments

#1

I can confirm this behaviour.

#2

Project:Commerce Shipping» Drupal Commerce
Version:7.x-2.0-beta1» 7.x-1.x-dev
Component:User interface» Line item
Assigned to:Anonymous» cvangysel

This patch should fix the problem.

AttachmentSizeStatusTest resultOperations
commerce-editing_line_item_resets_component_name-1796528-2.patch1 KBIdlePASSED: [[SimpleTest]]: [MySQL] 3,551 pass(es).View details

#3

Status:active» needs review

#4

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 to:cvangysel» Anonymous
Status:needs review» fixed

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

#5

Thanks a lot! It works in the latest dev.

#6

Status:fixed» closed (fixed)

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

nobody click here