273. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2023-07-12 04:43:07 +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.

273.1 Files compared

#LocationFileLast Modified
1Porto v4.0.5/Theme Files/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/viewside_popup.phtml2021-02-05 03:16:16 +0000
2Porto v4.0.6/Theme Files/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/viewside_popup.phtml2021-02-05 03:16:16 +0000

273.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged184
Changed00
Inserted00
Removed00

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

273.4 Active regular expressions

No regular expressions were active.

273.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 »       <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>
7 »       <script type="text/javascript"> 7 »       <script type="text/javascript">
8 »       »       require([ 8 »       »       require([
9 »       »           'jquery' 9 »       »           'jquery'
10 »       »       ], function ($) { 10 »       »       ], function ($) {
11 »       »       »       // filter popup events 11 »       »       »       // filter popup events
12 »       »       »       $(document).on('click', '.right-side-open', function(e) { 12 »       »       »       $(document).on('click', '.right-side-open', function(e) {
13 »       »       »       »       e.preventDefault(); 13 »       »       »       »       e.preventDefault();
14 »       »       »       »       var $html = $('html'); 14 »       »       »       »       var $html = $('html');
15 »       »       »       »       var $obj = $('.columns .mobile-sidebar'); 15 »       »       »       »       var $obj = $('.columns .mobile-sidebar');
16 »       »       »       »       if (!$obj.parents().find('.sidebar-overlay').length) { 16 »       »       »       »       if (!$obj.parents().find('.sidebar-overlay').length) {
17 »       »       »       »       »       $('<div class="sidebar-overlay"></div>').insertBefore($obj); 17 »       »       »       »       »       $('<div class="sidebar-overlay"></div>').insertBefore($obj);
18 »       »       »       »       } 18 »       »       »       »       }
19 »       »       »       »       if ($html.hasClass('sidebar-opened')) { 19 »       »       »       »       if ($html.hasClass('sidebar-opened')) {
20 »       »       »       »       »       $html.removeClass('sidebar-opened'); 20 »       »       »       »       »       $html.removeClass('sidebar-opened');
21 »       »       »       »       »       $('.sidebar-overlay').removeClass('active'); 21 »       »       »       »       »       $('.sidebar-overlay').removeClass('active');
22 »       »       »       »       } else { 22 »       »       »       »       } else {
23 »       »       »       »       »       $html.addClass('sidebar-opened'); 23 »       »       »       »       »       $html.addClass('sidebar-opened');
24 »       »       »       »       »       $('.sidebar-overlay').addClass('active'); 24 »       »       »       »       »       $('.sidebar-overlay').addClass('active');
25 »       »       »       »       } 25 »       »       »       »       }
26 »       »       »       }); 26 »       »       »       });
27  27 
28 »       »       »       $(document.body).on('click', '.sidebar-overlay', function() { 28 »       »       »       $(document.body).on('click', '.sidebar-overlay', function() {
29 »       »       »       »       $('html').removeClass('sidebar-opened'); 29 »       »       »       »       $('html').removeClass('sidebar-opened');
30 »       »       »       »       $('html').removeClass('filter-sidebar-opened'); 30 »       »       »       »       $('html').removeClass('filter-sidebar-opened');
31 »       »       »       »       $(this).removeClass('active'); 31 »       »       »       »       $(this).removeClass('active');
32 »       »       »       }); 32 »       »       »       });
33  33 
34 »       »       »       $(window).on('resize', function() { 34 »       »       »       $(window).on('resize', function() {
35 »       »       »       »       if (window.innerWidth > 991) { 35 »       »       »       »       if (window.innerWidth > 991) {
36 »       »       »       »       »       $('.sidebar-overlay').click(); 36 »       »       »       »       »       $('.sidebar-overlay').click();
37 »       »       »       »       } 37 »       »       »       »       }
38 »       »       »       }); 38 »       »       »       });
39 »       »       }); 39 »       »       });
40 »       </script> 40 »       </script>
41  41 
42 <?php endif; ?> 42 <?php endif; ?>