Produced by Araxis Merge on 2023-03-13 03:01:05 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Porto v4.0.4/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Checkout/templates/cart/item/configure | updatecart.phtml | 2015-11-17 13:39:12 +0000 |
| 2 | Porto v4.0.5/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Checkout/templates/cart/item/configure | updatecart.phtml | 2023-03-02 01:58:46 +0000 |
| Description | Between Files 1 and 2 | |
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 98 |
| Changed | 1 | 9 |
| Inserted | 1 | 11 |
| Removed | 0 | 0 |
| Whitespace | Consecutive whitespace is treated as a single space |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
| Active line-pairing rules |
No regular expressions were active.
| 1 | <?php | 1 | <?php | |||
| 2 | /** | 2 | /** | |||
| 3 | * Copyright © 2015 Magento. All rights reserved. | 3 | * Copyright © 2015 Magento. All rights reserved. | |||
| 4 | * See COPYING.txt for license details. | 4 | * See COPYING.txt for license details. | |||
| 5 | */ | 5 | */ | |||
| 6 | 6 | |||||
| 7 | // @codingStandardsIgnoreFile | 7 | // @codingStandardsIgnoreFile | |||
| 8 | 8 | |||||
| 9 | /** @var $block \Magento\Catalog\Block\Product\View */ | 9 | /** @var $block \Magento\Catalog\Block\Product\View */ | |||
| 10 | ?> | 10 | ?> | |||
| 11 | <?php $_product = $block->getProduct(); ?> | 11 | <?php $_product = $block->getProduct(); ?> | |||
| 12 | <?php $buttonTitle = __('Update Cart'); ?> | 12 | <?php $buttonTitle = __('Update Cart'); ?> | |||
| 13 | <?php if ($_product->isSaleable()): ?> | 13 | <?php if ($_product->isSaleable()): ?> | |||
| 14 | <div class="box-tocart update"> | 14 | <div class="box-tocart update"> | |||
| 15 | <fieldset class="fieldset"> | 15 | <fieldset class="fieldset"> | |||
| 16 | <?php if ($block->shouldRenderQuantity()): ?> | 16 | <?php if ($block->shouldRenderQuantity()): ?> | |||
| 17 | <div class="field qty"> | 17 | <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 /* @escapeNotVerified */ echo __('Qty') ?></span></label> | |||
| 19 | <div class="control"> | 19 | <div class="control"> | |||
| 20 | <input type="number" name="qty" id="qty" maxlength="12" value="<?php /* @escapeNotVerified */ echo $block->getProductDefaultQty() * 1 ?>" title="<?php /* @escapeNotVerified */ echo __('Qty') ?>" class="input-text qty" data-validate="{'required-number':true,digits:true}"/> | 20 | <input type="number" | |||
| 21 | name="qty" | |||||
| 22 | id="qty" | |||||
| 23 | min="0" | |||||
| 24 | value="" | |||||
| 25 | title="<?= $block->escapeHtmlAttr(__('Qty')) ?>" | |||||
| 26 | class="input-text qty" | |||||
| 27 | data-validate="<?= $block->escapeHtml(json_encode($block->getQuantityValidators())) ?>"/> | |||||
| 21 | </div> | 28 | </div> | |||
| 22 | <div class="qty-changer"> | 29 | <div class="qty-changer"> | |||
| 23 | <a href="javascript:void(0)" class="qty-inc"><i class="porto-icon-up-dir"></i></a> | 30 | <a href="javascript:void(0)" class="qty-inc"><i class="porto-icon-up-dir"></i></a> | |||
| 24 | <a href="javascript:void(0)" class="qty-dec"><i class="porto-icon-down-dir"></i></a> | 31 | <a href="javascript:void(0)" class="qty-dec"><i class="porto-icon-down-dir"></i></a> | |||
| 25 | </div> | 32 | </div> | |||
| 26 | </div> | 33 | </div> | |||
| 27 | <?php endif; ?> | 34 | <?php endif; ?> | |||
| 28 | <div class="actions"> | 35 | <div class="actions"> | |||
| 29 | <button type="submit" | 36 | <button type="submit" | |||
| 30 | title="<?php /* @escapeNotVerified */ echo $buttonTitle ?>" | 37 | title="<?php /* @escapeNotVerified */ echo $buttonTitle ?>" | |||
| 31 | class="action primary tocart" | 38 | class="action primary tocart" | |||
| 32 | id="product-updatecart-button"> | 39 | id="product-updatecart-button"> | |||
| 33 | <span><?php /* @escapeNotVerified */ echo $buttonTitle ?></span> | 40 | <span><?php /* @escapeNotVerified */ echo $buttonTitle ?></span> | |||
| 34 | </button> | 41 | </button> | |||
| 35 | <?php echo $block->getChildHtml('', true) ?> | 42 | <?php echo $block->getChildHtml('', true) ?> | |||
| 36 | </div> | 43 | </div> | |||
| 37 | </fieldset> | 44 | </fieldset> | |||
| 38 | </div> | 45 | </div> | |||
| 46 | <style> | |||||
| 47 | .box-tocart div.mage-error { | |||||
| 48 | color: #e02b27; | |||||
| 49 | font-size: 1em; | |||||
| 50 | position: absolute; | |||||
| 51 | bottom: -17px; | |||||
| 52 | width: auto; | |||||
| 53 | min-width: 299px; | |||||
| 54 | left: 0; | |||||
| 55 | } | |||||
| 56 | </style> | |||||
| 39 | <script type="text/x-magento-init"> | 57 | <script type="text/x-magento-init"> | |||
| 40 | { | 58 | { | |||
| 41 | "#product_addtocart_form": { | 59 | "#product_addtocart_form": { | |||
| 42 | "validation": {}, | 60 | "validation": {}, | |||
| 43 | "addToCart": { | 61 | "addToCart": { | |||
| 44 | "cartButtonId": "#product-updatecart-button", | 62 | "cartButtonId": "#product-updatecart-button", | |||
| 45 | "cartForm": "#product_addtocart_form" | 63 | "cartForm": "#product_addtocart_form" | |||
| 46 | } | 64 | } | |||
| 47 | } | 65 | } | |||
| 48 | } | 66 | } | |||
| 49 | </script> | 67 | </script> | |||
| 50 | <?php endif; ?> | 68 | <?php endif; ?> |
Araxis Merge (but not the data content of this report) is Copyright © 1993–2019 Araxis Ltd (www.araxis.com). All rights reserved.