207. 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.

207.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_Catalog/templates/product/viewside_popup.phtml2018-01-11 09:57:10 +0000
2/Applications/Ampps/www/Porto v4.0.0/Theme Files/Magento 2.x/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/viewside_popup.phtml2021-02-05 03:16:16 +0000

207.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged632
Changed225
Inserted26
Removed11

207.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

207.4 Active regular expressions

No regular expressions were active.

207.5 Comparison detail

1 <?php 1 <?php
2 »       $porto_helper = $this->helper('Smartwave\Porto\Helper\Data'); 2 »       $porto_helper = $this->helper('Smartwave\Porto\Helper\Data');
3 »       $page_layout = $porto_helper->getConfig('porto_settings/product/page_layout'); 3 »       $page_layout = $porto_helper->getConfig('porto_settings/product/page_layout');
4 ?> 4 ?>
5 <?php if (!isset($page_layout) || $page_layout == "2columns-right"): ?> 5 <?php if (!isset($page_layout) || $page_layout == "2columns-right"): ?>
6 »       <div class="side-overlay overlay"></div>    
7 »       <a href="javascript:void(0);" class="right-side-open"><em class="porto-icon-reply"></em></a> 6 »       <a href="javascript:void(0);" class="right-side-open"><em class="porto-icon-reply"></em></a>
8 »       <script type="text/javascript"> 7 »       <script type="text/javascript">
9 »       »       require([ 8 »       »       require([
10 »       »           'jquery' 9 »       »           'jquery'
11 »       »       ], function ($) { 10 »       »       ], function ($) {
12 »       »           $(document).ready(
function(
)
{
 11 »       »       »       // filter popup events
13 »       »           »   $("a.right-side-open").click(function(){ 12 »       »       »       $(document).on('click', '.right-side-open', function(e) {
14 »       »           »   »       $(".sidebar.sidebar-additional").addClass("open"); 13 »       »       »       »       e.preventDefault();
    14 »       »       »       »       var $html = $('html');
    15 »       »       »       »       var $obj = $('.columns .mobile-sidebar');
    16 »       »       »       »       if (!$obj.parents().find('.sidebar-overlay').length) {
    17 »       »       »       »       »       $('<div class="sidebar-overlay"></div>').insertBefore($obj);
    18 »       »       »       »       }
    19 »       »       »       »       if ($html.hasClass('sidebar-opened')) {
    20 »       »       »       »       »       $html.removeClass('sidebar-opened');
    21 »       »       »       »       »       $('.sidebar-overlay').removeClass('active');
    22 »       »       »       »       } else {
    23 »       »       »       »       »       $html.addClass('sidebar-opened');
    24 »       »       »       »       »       $('.sidebar-overlay').addClass('active');
    25 »       »       »       »       }
15 »       »           »   }); 26 »       »       »       });
16 »       »           »   $(".side-overlay").click(function(){ 27 
17 »       »           »   »       $(".sidebar.sidebar-additional").removeClass("open"); 28 »       »       »       $(document.body).on('click', '.sidebar-overlay', function() {
    29 »       »       »       »       $('html').removeClass('sidebar-opened');
    30 »       »       »       »       $('html').removeClass('filter-sidebar-opened');
    31 »       »       »       »       $(this).removeClass('active');
18 »       »           »   }); 32 »       »       »       });
    33 
    34 »       »       »       $(window).on('resize', function() {
    35 »       »       »       »       if (window.innerWidth > 991) {
    36 »       »       »       »       »       $('.sidebar-overlay').click();
    37 »       »       »       »       }
19 »       »           }); 38 »       »       »       });
20 »       »       }); 39 »       »       });
21 »       </script> 40 »       </script>
    41 
22 <?php endif; ?> 42 <?php endif; ?>