Skip to content

Commit 06a1aa1

Browse files
committed
fixed Not able to update decimal quantity from cart details page. #24509
1 parent b5a38dc commit 06a1aa1

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/Checkout/view/frontend/templates/cart/item

1 file changed

+2
-1
lines changed

app/code/Magento/Checkout/view/frontend/templates/cart/item/default.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ $canApplyMsrp = $helper->isShowBeforeOrderConfirm($product) && $helper->isMinima
5050
<?php if (isset($_formatedOptionValue['full_view'])) :?>
5151
<?= $block->escapeHtml($_formatedOptionValue['full_view']) ?>
5252
<?php else :?>
53-
<?= $block->escapeHtml($_formatedOptionValue['value'], ['span', 'a']) ?>
53+
<?= $block->escapeHtml($_formatedOptionValue['value'], ['span']) ?>
5454
<?php endif; ?>
5555
</dd>
5656
<?php endforeach; ?>
@@ -104,6 +104,7 @@ $canApplyMsrp = $helper->isShowBeforeOrderConfirm($product) && $helper->isMinima
104104
value="<?= $block->escapeHtmlAttr($block->getQty()) ?>"
105105
type="number"
106106
size="4"
107+
step="any"
107108
title="<?= $block->escapeHtmlAttr(__('Qty')) ?>"
108109
class="input-text qty"
109110
data-validate="{required:true,'validate-greater-than-zero':true}"

0 commit comments

Comments
 (0)