216. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2021-05-13 09:09:02 +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.

216.1 Files compared

#LocationFileLast Modified
1/Applications/Ampps/www/Porto 3.2.2/Theme Files/Magento 2.x/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Checkout/templates/cartminicart.phtml2018-05-26 01:24:58 +0000
2/Applications/Ampps/www/Porto v4.0.0/Theme Files/Magento 2.x/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Checkout/templates/cartminicart.phtml2021-05-01 04:03:32 +0000

216.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged4112
Changed12
Inserted23
Removed12

216.3 Comparison options

WhitespaceConsecutive whitespace is treated as a single space
Character caseDifferences in character case are significant
Line endingsDifferences in line endings (CR and LF characters) are ignored
CR/LF charactersNot shown in the comparison detail
Active line-pairing rules

216.4 Active regular expressions

No regular expressions were active.

216.5 Comparison detail

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\Checkout\Block\Cart\Sidebar */ 9 /** @var $block \Magento\Checkout\Block\Cart\Sidebar */
    10 $_portohelper = $this->helper('Smartwave\Porto\Helper\Data');
    11 $cart_design = $_portohelper->getConfig('porto_design/header/header_minicart_design');
10 ?> 12 ?>
11  13 
12 <div data-block="minicart" class="minicart-wrapper
">
 14 <div data-block="minicart" class="minicart-wrapper cart-design-<?php echo $cart_design ? $cart_design: '1'?>">
13     <a class="action showcart" href="<?php echo $block->getShoppingCartUrl(); ?>" 15     <a class="action showcart" href="<?php echo $block->getShoppingCartUrl(); ?>"
14        data-bind="scope: 'minicart_content'"> 16        data-bind="scope: 'minicart_content'">
    17        <i class="minicart-icon porto-icon-shopping-cart"></i>
15         <span class="text"><?php echo __('Cart'); ?></span> 18         <span class="text"><?php echo __('Cart'); ?></span>
16         <span class="counter qty empty" 19         <span class="counter qty empty"
17               data-bind="css: { empty: !!getCartParam('summary_count') == false }, blockLoader: isLoading"> 20               data-bind="css: { empty: !!getCartParam('summary_count') == false }, blockLoader: isLoading">
18             <span class="counter-number"> 21             <span class="counter-number">
19             <!-- ko if: getCartParam('summary_count') --><!-- ko text: getCartParam('summary_count') --><!-- /ko --><!-- /ko --> 22             <!-- ko if: getCartParam('summary_count') --><!-- ko text: getCartParam('summary_count') --><!-- /ko --><!-- /ko -->
20             <!-- ko ifnot: getCartParam('summary_count') -->0<!-- /ko --> 23             <!-- ko ifnot: getCartParam('summary_count') -->0<!-- /ko -->
21             </span> 24             </span>
22             <span class="counter-label"> 25             <span class="counter-label">
23                 <!-- ko i18n: 'items' --><!-- /ko --> 26                 <!-- ko i18n: 'items' --><!-- /ko -->
24             </span> 27             </span>
25         </span> 28         </span>
26     </a> 29     </a>
27     <?php if ($block->getIsNeedToDisplaySideBar()): ?> 30     <?php if ($block->getIsNeedToDisplaySideBar()): ?>
28         <div class="block block-minicart empty" 31         <div class="block block-minicart empty"
29              data-role="dropdownDialog" 32              data-role="dropdownDialog"
30              data-mage-init='{"dropdownDialog":{ 33              data-mage-init='{"dropdownDialog":{
31                 "appendTo":"[data-block=minicart]", 34                 "appendTo":"[data-block=minicart]",
32                 "triggerTarget":".showcart", 35                 "triggerTarget":".showcart",
33                 "timeout": "2000", 36                 "timeout": "2000",
34                 "closeOnMouseLeave": false, 37                 "closeOnMouseLeave": false,
35                 "closeOnEscape": true, 38                 "closeOnEscape": true,
36                 "triggerClass":"active", 39                 "triggerClass":"active",
37                 "parentClass":"active", 40                 "parentClass":"active",
38                 "buttons":[]}}'> 41                 "buttons":[]}}'>
39             <div id="minicart-content-wrapper" data-bind="scope: 'minicart_content'"> 42             <div id="minicart-content-wrapper" data-bind="scope: 'minicart_content'">
40                 <!-- ko template: getTemplate() --><!-- /ko --> 43                 <!-- ko template: getTemplate() --><!-- /ko -->
41             </div> 44             </div>
42         </div> 45         </div>
43     <?php endif ?> 46     <?php endif ?>
44     <script> 47     <script>
45         window.checkout = <?php echo \Zend_Json::encode($block->getConfig()); ?>; 48         window.checkout = <?php echo \Zend_Json::encode($block->getConfig()); ?>;
46     </script> 49     </script>
47     <script type="text/x-magento-init"> 50     <script type="text/x-magento-init">
48     { 51     {
49         "[data-block='minicart']": { 52         "[data-block='minicart']": {
50             "Magento_Ui/js/core/app": <?php echo $block->getJsLayout();?> 53             "Magento_Ui/js/core/app": <?php echo $block->getJsLayout();?>
51         }, 54         },
52         "*": { 55         "*": {
53             "Magento_Ui/js/block-loader": "<?php echo $block->getViewFileUrl('images/loader-1.gif'); ?>" 56             "Magento_Ui/js/block-loader": "<?php echo $block->getViewFileUrl('images/loader-1.gif'); ?>"
54         } 57         }
55     } 58     }
56     </script> 59     </script>
57 </div> 60 </div>
58     
59