Skip to content

Commit d0070c3

Browse files
author
Olexandr Lysenko
committed
Merge remote-tracking branch 'origin/MAGETWO-59905' into bugfixes
2 parents 8bde202 + a05a23c commit d0070c3

File tree

1 file changed

+7
-1
lines changed
  • app/code/Magento/Sales/view/adminhtml/templates/order/create/sidebar

1 file changed

+7
-1
lines changed

app/code/Magento/Sales/view/adminhtml/templates/order/create/sidebar/items.phtml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,13 @@
6666
<?php endif; ?>
6767

6868
<?php if ($block->canDisplayPrice()): ?>
69-
<td class="col-price"><?php /* @noEscape */ echo $block->getItemPrice($_item) ?></td>
69+
<td class="col-price">
70+
<?php if ($block->getDataId() == 'cart'): ?>
71+
<?php /* @noEscape */ echo $block->getItemPrice($_item->getProduct()) ?>
72+
<?php else: ?>
73+
<?php /* @noEscape */ echo $block->getItemPrice($_item) ?>
74+
<?php endif; ?>
75+
</td>
7076
<?php endif; ?>
7177

7278
<?php if ($block->canRemoveItems()): ?>

0 commit comments

Comments
 (0)