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.
| # | Location | File | Last 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/view | side_popup.phtml | 2018-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/view | side_popup.phtml | 2021-02-05 03:16:16 +0000 |
| Description | Between Files 1 and 2 | |
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 6 | 32 |
| Changed | 2 | 25 |
| Inserted | 2 | 6 |
| Removed | 1 | 1 |
| 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 | » $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( | 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; ?> |
Araxis Merge (but not the data content of this report) is Copyright © 1993–2019 Araxis Ltd (www.araxis.com). All rights reserved.