Skip to content

Commit 421d946

Browse files
author
Hwashiang Yu
committed
MC-17546: Incorrect bundle and downloadable email template update
- Resolved incorrect template updates
1 parent 168d998 commit 421d946

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Bundle/view/frontend/templates/email/order/items/shipment

1 file changed

+1
-1
lines changed

app/code/Magento/Bundle/view/frontend/templates/email/order/items/shipment/default.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<td class="item-qty">
4949
<?php if (($block->isShipmentSeparately() && $_item->getParentItem()) || (!$block->isShipmentSeparately() && !$_item->getParentItem())) : ?>
5050
<?php if (isset($shipItems[$_item->getId()])) : ?>
51-
<?= $block->escapeHtml($shipItems[$_item->getId()]->getQty() * 1) ?>
51+
<?= (int)$shipItems[$_item->getId()]->getQty() * 1 ?>
5252
<?php elseif ($_item->getIsVirtual()) : ?>
5353
<?= $block->escapeHtml(__('N/A')) ?>
5454
<?php else : ?>

0 commit comments

Comments
 (0)