Skip to content

Commit de5706b

Browse files
committed
ACP2E-3872: qty showing as 0 in the admin customer shopping cart section while adding BUNDLE products
1 parent fb782e8 commit de5706b

File tree

2 files changed

+6
-1
lines changed
  • app/code/Magento/Sales

2 files changed

+6
-1
lines changed

app/code/Magento/Sales/etc/di.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,4 +1064,9 @@
10641064
</argument>
10651065
</arguments>
10661066
</type>
1067+
<type name="Magento\Sales\Block\Adminhtml\Order\Create\Sidebar\Cart">
1068+
<plugin name="Bundle" disabled="true" />
1069+
<plugin name="GroupedProduct" disabled="true" />
1070+
<plugin name="configurable" disabled="true" />
1071+
</type>
10671072
</config>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ $sideBarPermissionCheck = $block->getData('sideBarPermissionCheck');
7979

8080
<?php if ($block->canDisplayItemQty()): ?>
8181
<td class="col-qty">
82-
<?= (float) $_item->getQty() ?>
82+
<?= (float) $block->getItemQty($_item) ?>
8383
</td>
8484
<?php endif; ?>
8585

0 commit comments

Comments
 (0)