Skip to content

Commit 4f24106

Browse files
committed
MAGETWO-69080: [Backport] - [Magento Cloud] - After updating quantity of item in basket, original item quantity is being held in the quantity field on the update item page - for 2.1
1 parent adac10b commit 4f24106

File tree

1 file changed

+6
-4
lines changed
  • app/code/Magento/Checkout/view/frontend/templates/cart/item/configure

1 file changed

+6
-4
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,20 @@
1515
<fieldset class="fieldset">
1616
<?php if ($block->shouldRenderQuantity()): ?>
1717
<div class="field qty">
18-
<label class="label" for="qty"><span><?php /* @escapeNotVerified */ echo __('Qty') ?></span></label>
18+
<label class="label" for="qty"><span><?php echo $block->escapeHtml(__('Qty')); ?></span></label>
1919
<div class="control">
20-
<input type="number" name="qty" id="qty" maxlength="12" value="" title="<?php /* @escapeNotVerified */ echo __('Qty') ?>" class="input-text qty" data-validate="{'required-number':true,digits:true}"/>
20+
<input type="number" name="qty" id="qty" maxlength="12" value=""
21+
title="<?php echo $block->escapeHtml(__('Qty')); ?>"
22+
class="input-text qty" data-validate="{'required-number':true,digits:true}"/>
2123
</div>
2224
</div>
2325
<?php endif; ?>
2426
<div class="actions">
2527
<button type="submit"
26-
title="<?php /* @escapeNotVerified */ echo $buttonTitle ?>"
28+
title="<?php echo $block->escapeHtml($buttonTitle); ?>"
2729
class="action primary tocart"
2830
id="product-updatecart-button">
29-
<span><?php /* @escapeNotVerified */ echo $buttonTitle ?></span>
31+
<span><?php echo $block->escapeHtml($buttonTitle); ?></span>
3032
</button>
3133
<?php echo $block->getChildHtml('', true) ?>
3234
</div>

0 commit comments

Comments
 (0)