195. Araxis Merge File Comparison Report

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.

195.1 Files compared

#LocationFileLast Modified
1Porto v4.0.4/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/listitems.phtml2022-11-03 08:27:30 +0000
2Porto v4.0.5/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/listitems.phtml2023-03-07 15:11:30 +0000

195.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged14756
Changed821
Inserted326
Removed22

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

195.4 Active regular expressions

No regular expressions were active.

195.5 Comparison detail

1 <?php 1 <?php
2 /** 2 /**
3  * Copyright © Magento, Inc. All rights reserved. 3  * Copyright © Magento, Inc. All rights reserved.
4  * See COPYING.txt for license details. 4  * See COPYING.txt for license details.
5  */ 5  */
6  6 
7 // phpcs:disable Magento2.Templates.ThisInTemplate.FoundThis 7 // phpcs:disable Magento2.Templates.ThisInTemplate.FoundThis
8 // phpcs:disable Generic.WhiteSpace.ScopeIndent.Incorrect 8 // phpcs:disable Generic.WhiteSpace.ScopeIndent.Incorrect
9  9 
10 /* @var $block \Magento\Catalog\Block\Product\AbstractProduct */ 10 /* @var $block \Magento\Catalog\Block\Product\AbstractProduct */
11 ?> 11 ?>
12  12 
13 <?php 13 <?php
14 $columns = "columns4"; 14 $columns = "columns4";
15 $_imagehelper = $this->helper('Magento\Catalog\Helper\Image'); 15 $_imagehelper = $this->helper('Magento\Catalog\Helper\Image');
16 $_portohelper = $this->helper('Smartwave\Porto\Helper\Data'); 16 $_portohelper = $this->helper('Smartwave\Porto\Helper\Data');
17 $review_model = $_portohelper->getModel('\Magento\Review\Model\Review'); 17 $review_model = $_portohelper->getModel('\Magento\Review\Model\Review');
18 $_category_config = $_portohelper->getConfig('porto_settings/category'); 18 $_category_config = $_portohelper->getConfig('porto_settings/category');
19 $_category_grid_config = $this->helper('Smartwave\Porto\Helper\Data')->getConfig('porto_settings/category_grid'); 19 $_category_grid_config = $this->helper('Smartwave\Porto\Helper\Data')->getConfig('porto_settings/category_grid');
    20 $upsell_columns = $_portohelper->getConfig('porto_settings/product/upsell_columns');
    21 $move_related = $_portohelper->getConfig('porto_settings/product/move_related');
    22 $move_related_columns = $_portohelper->getConfig('porto_settings/product/move_related_columns');
    23 
20 switch ($type = $block->getType()) { 24 switch ($type = $block->getType()) {
21  25 
22     case 'related-rule': 26     case 'related-rule':
23         if ($exist = $block->hasItems()) { 27         if ($exist = $block->hasItems()) {
24             $type = 'related'; 28             $type = 'related';
25             $class = $type; 29             $class = $type;
26  30 
27             $image = 'related_products_list'; 31             $image = 'related_products_list';
28             $title = __('Related Products'); 32             $title = __('Related Products');
29             $items = $block->getAllItems(); 33             $items = $block->getAllItems();
30             $limit = $block->getPositionLimit(); 34             $limit = $block->getPositionLimit();
31             $shuffle = (int) $block->isShuffled(); 35             $shuffle = (int) $block->isShuffled();
32             $canItemsAddToCart = $block->canItemsAddToCart(); 36             $canItemsAddToCart = $block->canItemsAddToCart();
33  37 
34             $showWishlist = true; 38             $showWishlist = true;
35             $showCompare = true; 39             $showCompare = true;
36             $showCart = false; 40             $showCart = false;
37             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW; 41             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW;
38             $description = false; 42             $description = false;
39         } 43         }
40     break; 44     break;
41  45 
42     case 'related': 46     case 'related':
43         /** @var \Magento\Catalog\Block\Product\ProductList\Related $block */ 47         /** @var \Magento\Catalog\Block\Product\ProductList\Related $block */
44         if ($exist = $block->getItems()->getSize()) { 48         if ($exist = $block->getItems()->getSize()) {
45             $type = 'related'; 49             $type = 'related';
46             $class = $type; 50             $class = $type;
47  51             if($move_related_columns)
    52                 $columns = "";
48             $image = 'related_products_list'; 53             $image = 'related_products_list';
49             $title = __('Related Products'); 54             $title = __('Related Products');
50             $items = $block->getItems(); 55             $items = $block->getItems();
51             $limit = 0; 56             $limit = 0;
52             $shuffle = 0; 57             $shuffle = 0;
53             $canItemsAddToCart = $block->canItemsAddToCart(); 58             $canItemsAddToCart = $block->canItemsAddToCart();
54  59 
55             $showWishlist = true; 60             $showWishlist = false;
56             $showCompare = true; 61             $showCompare = false;
57             $showCart = false; 62             $showCart = false;
58             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW; 63             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW;
59             $description = false; 64             $description = false;
60         } 65         }
61     break; 66     break;
62  67 
63     case 'upsell-rule': 68     case 'upsell-rule':
64         if ($exist = $block->hasItems()) { 69         if ($exist = $block->hasItems()) {
65             $type = 'upsell'; 70             $type = 'upsell';
66             $class = $type; 71             $class = $type;
67  72 
68             $image = 'upsell_products_list'; 73             $image = 'upsell_products_list';
69             $title = __('We found other products you might like!'); 74             $title = __('We found other products you might like!');
70             $items = $block->getAllItems(); 75             $items = $block->getAllItems();
71             $limit = $block->getPositionLimit(); 76             $limit = $block->getPositionLimit();
72             $shuffle = (int) $block->isShuffled(); 77             $shuffle = (int) $block->isShuffled();
73  78 
74             $showWishlist = false; 79             $showWishlist = false;
75             $showCompare = false; 80             $showCompare = false;
76             $showCart = false; 81             $showCart = false;
77             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW; 82             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW;
78             $description = false; 83             $description = false;
79             $canItemsAddToCart = false; 84             $canItemsAddToCart = false;
80         } 85         }
81     break; 86     break;
82  87 
83     case 'upsell': 88     case 'upsell':
84         /** @var \Magento\Catalog\Block\Product\ProductList\Upsell $block */ 89         /** @var \Magento\Catalog\Block\Product\ProductList\Upsell $block */
85         if ($exist = count($block->getItemCollection()->getItems())) { 90         if ($exist = count($block->getItemCollection()->getItems())) {
86             $type = 'upsell'; 91             $type = 'upsell';
87             $class = $type; 92             $class = $type;
88             $upsell_columns = $_portohelper->getConfig('porto_settings/product/upsell_columns');    
89             if($upsell_columns) 93             if($upsell_columns)
90                 $columns = ""; 94                 $columns = "";
91             $image = 'upsell_products_list'; 95             $image = 'upsell_products_list';
92             $title = __('We found other products you might like!'); 96             $title = __('We found other products you might like!');
93             $items = $block->getItemCollection()->getItems(); 97             $items = $block->getItemCollection()->getItems();
94             $limit = $block->getItemLimit('upsell'); 98             $limit = $block->getItemLimit('upsell');
95             $shuffle = 0; 99             $shuffle = 0;
96  100 
97             $showWishlist = true; 101             $showWishlist = true;
98             $showCompare = true; 102             $showCompare = true;
99             $showCart = true; 103             $showCart = true;
100             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW; 104             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW;
101             $description = false; 105             $description = false;
102             $canItemsAddToCart = false; 106             $canItemsAddToCart = false;
103         } 107         }
104     break; 108     break;
105  109 
106     case 'crosssell-rule': 110     case 'crosssell-rule':
107         /** @var \Magento\Catalog\Block\Product\ProductList\Crosssell $block */ 111         /** @var \Magento\Catalog\Block\Product\ProductList\Crosssell $block */
108         if ($exist = $block->hasItems()) { 112         if ($exist = $block->hasItems()) {
109             $type = 'crosssell'; 113             $type = 'crosssell';
110             $class = $type; 114             $class = $type;
111  115 
112             $image = 'cart_cross_sell_products'; 116             $image = 'cart_cross_sell_products';
113             $title = __('More Choices:'); 117             $title = __('More Choices:');
114             $items = $block->getItemCollection(); 118             $items = $block->getItemCollection();
115  119 
116             $showWishlist = true; 120             $showWishlist = true;
117             $showCompare = true; 121             $showCompare = true;
118             $showCart = true; 122             $showCart = true;
119             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW; 123             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW;
120             $description = false; 124             $description = false;
121             $canItemsAddToCart = false; 125             $canItemsAddToCart = false;
122         } 126         }
123     break; 127     break;
124  128 
125     case 'crosssell': 129     case 'crosssell':
126         /** @var \Magento\Catalog\Block\Product\ProductList\Crosssell $block */ 130         /** @var \Magento\Catalog\Block\Product\ProductList\Crosssell $block */
127         if ($exist = $block->getItemCount()) { 131         if ($exist = $block->getItemCount()) {
128             $type = 'crosssell'; 132             $type = 'crosssell';
129             $class = $type; 133             $class = $type;
130  134 
131             $image = 'cart_cross_sell_products'; 135             $image = 'cart_cross_sell_products';
132             $title = __('More Choices:'); 136             $title = __('More Choices:');
133             $items = $block->getItems(); 137             $items = $block->getItems();
134             $columns = "columns4"; 138             $columns = "columns4";
135  139 
136             $showWishlist = true; 140             $showWishlist = true;
137             $showCompare = true; 141             $showCompare = true;
138             $showCart = true; 142             $showCart = true;
139             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW; 143             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW;
140             $description = false; 144             $description = false;
141             $canItemsAddToCart = false; 145             $canItemsAddToCart = false;
142         } 146         }
143     break; 147     break;
144  148 
145     case 'new': 149     case 'new':
146         if ($exist = $block->getProductCollection()) { 150         if ($exist = $block->getProductCollection()) {
147             $type = 'new'; 151             $type = 'new';
148             $mode = 'grid'; 152             $mode = 'grid';
149             $type = $type . ' ' . $mode; 153             $type = $type . ' ' . $mode;
150  154 
151             $class = 'widget' . ' ' . $type; 155             $class = 'widget' . ' ' . $type;
152  156 
153             $image = 'new_products_content_widget_grid'; 157             $image = 'new_products_content_widget_grid';
154             $title = __('New Products'); 158             $title = __('New Products');
155             $items = $exist; 159             $items = $exist;
156  160 
157             $showWishlist = true; 161             $showWishlist = true;
158             $showCompare = true; 162             $showCompare = true;
159             $showCart = true; 163             $showCart = true;
160             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW; 164             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW;
161             $description = ($mode == 'list') ? true : false; 165             $description = ($mode == 'list') ? true : false;
162             $canItemsAddToCart = false; 166             $canItemsAddToCart = false;
163         } 167         }
164     break; 168     break;
165  169 
166     case 'other': 170     case 'other':
167     break; 171     break;
168 } 172 }
169  173 
170 $image = 'category_page_grid'; 174 $image = 'category_page_grid';
171 $hover_image = 'category_page_grid-hover'; 175 $hover_image = 'category_page_grid-hover';
172 $image_width = ($_category_config['ratio_width'])?$_category_config['ratio_width']:300; 176 $image_width = ($_category_config['ratio_width'])?$_category_config['ratio_width']:300;
173 $image_height = ($_category_config['ratio_height'])?$_category_config['ratio_height']:300; 177 $image_height = ($_category_config['ratio_height'])?$_category_config['ratio_height']:300;
174 ?> 178 ?>
175  179 
176 <?php if ($exist) :?> 180 <?php if ($exist) :?>
177  181 
178 <?php if ($type == 'related' || $type == 'upsell') :?> 182 <?php if ($type == 'related' || $type == 'upsell') :?>
179 <?php if ($type == 'related') :?> 183 <?php if ($type == 'related') :?>
180 <div class="block <?= $block->escapeHtmlAttr($class) ?>
" data-mage-init='{"relatedProducts":{"relatedCheckbox":".related.checkbox"}}' data-limit="<?= $block->escapeHtmlAttr($limit) ?>" data-shuffle="<?= /* @noEscape */ $shuffle ?>">
 184 <div class="block <?= $block->escapeHtmlAttr($class) ?><?php if($move_related):?> move-related porto-products title-border-bottom<?php endif;?>" data-mage-init='{"relatedProducts":{"relatedCheckbox":".related.checkbox"}}' data-limit="<?= $block->escapeHtmlAttr($limit) ?>" data-shuffle="<?= /* @noEscape */ $shuffle ?>">
181     <?php else :?> 185     <?php else :?>
182     <div class="block <?= $block->escapeHtmlAttr($class) ?> porto-products title-border-bottom" data-mage-init='{"upsellProducts":{}}' data-limit="<?= $block->escapeHtmlAttr($limit) ?>" data-shuffle="<?= /* @noEscape */ $shuffle ?>"> 186     <div class="block <?= $block->escapeHtmlAttr($class) ?> porto-products title-border-bottom" data-mage-init='{"upsellProducts":{}}' data-limit="<?= $block->escapeHtmlAttr($limit) ?>" data-shuffle="<?= /* @noEscape */ $shuffle ?>">
183         <?php endif; ?> 187         <?php endif; ?>
184         <?php else :?> 188         <?php else :?>
185         <div class="block <?= $block->escapeHtmlAttr($class) ?>"> 189         <div class="block <?= $block->escapeHtmlAttr($class) ?>">
186             <?php endif; ?> 190             <?php endif; ?>
187             <div class="section-title slider-title"> 191             <div class="section-title slider-title">
188                 <strong id="block-<?= $block->escapeHtmlAttr($class) ?>-heading" role="heading" aria-level="2"><?= $block->escapeHtml($title) ?></strong> 192                 <strong id="block-<?= $block->escapeHtmlAttr($class) ?>-heading" role="heading" aria-level="2"><?= $block->escapeHtml($title) ?></strong>
189             </div> 193             </div>
190             <div class="block-content content" aria-labelledby="block-<?= $block->escapeHtmlAttr($class) ?>-heading"> 194             <div class="block-content content" aria-labelledby="block-<?= $block->escapeHtmlAttr($class) ?>-heading">
191                 <?php if ($type == 'related' && $canItemsAddToCart) :?> 195                 <?php if ($type == 'related' && $canItemsAddToCart) :?>
192                     <div class="block-actions"> 196                     <div class="block-actions">
193                         <?= $block->escapeHtml(__('Check items to add to the cart or')) ?> 197                         <?= $block->escapeHtml(__('Check items to add to the cart or')) ?>
194                         <button type="button" class="action select" role="button" data-role="select-all"><span><?= $block->escapeHtml(__('select all')) ?></span></button> 198                         <button type="button" class="action select" role="button" data-role="select-all"><span><?= $block->escapeHtml(__('select all')) ?></span></button>
195                     </div> 199                     </div>
196                 <?php endif; ?> 200                 <?php endif; ?>
197                 <div class="products wrapper grid products-grid  <?php if ($type == 'upsell' || $type == 'crosssell'): ?><?php echo $columns; ?><?php endif; ?> products-grid products-<?php /* @escapeNotVerified */ echo $type; ?><?php if($type  == 'related'
):?> small-list<?php endif;?>">
 201                 <div class="products wrapper grid products-grid  <?php if ($type == 'upsell' || $type == 'crosssell'): ?><?php echo $columns; ?><?php endif; ?> products-grid products-<?php /* @escapeNotVerified */ echo $type; ?><?php if($type  == 'related' && !$move_related):?> small-list<?php endif;?>">
198                     <div class="products list items product-items <?php if ($type == 'related' || $type == 'upsell'): ?><?php if ($type == 'upsell'
): ?>products-slider <?php endif;?>owl-carousel<?php endif; ?><?php if ($type == 'upsell'
): ?> show-dots-title-right dots-style-1<?php endif; ?><?php if($type  == 'related'
):?> show-nav-title<?php endif;?>">
 202                     <div class="products list items product-items <?php if ($type == 'related' || $type == 'upsell'): ?><?php if ($type == 'upsell' || ($type == 'related' && $move_related)): ?>products-slider <?php endif;?>owl-carousel<?php endif; ?><?php if ($type == 'upsell' || ($type == 'related' && $move_related)): ?> show-dots-title-right dots-style-1<?php endif; ?><?php if($type  == 'related' && !$move_related):?> show-nav-title<?php endif;?>">
199                         <?php $iterator = 0; ?> 203                         <?php $iterator = 0; ?>
200 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php foreach ($items as $_item): ?> 204 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php foreach ($items as $_item): ?>
201 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php $available = ''; ?> 205 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php $available = ''; ?>
202 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if (!$_item->isComposite() && $_item->isSaleable() && $type == 'related'): ?> 206 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if (!$_item->isComposite() && $_item->isSaleable() && $type == 'related'): ?>
203 »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if (!$_item->getRequiredOptions()): ?> 207 »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if (!$_item->getRequiredOptions()): ?>
204 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php $available = 'related-available'; ?> 208 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php $available = 'related-available'; ?>
205 »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 209 »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
206 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 210 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
207 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($type == 'related'
): ?>
 211 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($type == 'related' && !$move_related): ?>
208 »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php 212 »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php
209 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $iterator ++; 213 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $iterator ++;
210 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       if($iterator % 2 == 1) 214 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       if($iterator % 2 == 1)
211 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       echo '<div class="item product product-item" style="display: none;">'; 215 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       echo '<div class="item product product-item" style="display: none;">';
212 »       »       »       »       »       »       »       »       »       »       »       »       »       »       ?> 216 »       »       »       »       »       »       »       »       »       »       »       »       »       »       ?>
213 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php elseif ($type == 'upsell'
): ?>
 217 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php elseif ($type == 'upsell' || ($type == 'related' && $move_related)): ?>
214 »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php echo($iterator++ == 0) ? '<div class="item product product-item" style="display: none;">' : '</div><div class="item product product-item" style="display: none;">' ?> 218 »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php echo($iterator++ == 0) ? '<div class="item product product-item" style="display: none;">' : '</div><div class="item product product-item" style="display: none;">' ?>
215 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php else: ?> 219 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php else: ?>
216 »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php /* @escapeNotVerified */ echo($iterator++ == 0) ? '<div class="item product product-item">' : '</div><div class="item product product-item">' ?> 220 »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php /* @escapeNotVerified */ echo($iterator++ == 0) ? '<div class="item product product-item">' : '</div><div class="item product product-item">' ?>
217 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 221 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
218                             <div class="product-item-info <?= /* @noEscape */ $available ?>"> 222                             <div class="product-item-info <?= /* @noEscape */ $available ?>">
219                                 <?php /* @escapeNotVerified */ echo '<!-- ' . $image . '-->' ?> 223                                 <?php /* @escapeNotVerified */ echo '<!-- ' . $image . '-->' ?>
220 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <a href="<?php echo $_item->getProductUrl() ?>" class="product photo product-item-photo" tabindex="-1"> 224 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <a href="<?php echo $_item->getProductUrl() ?>" class="product photo product-item-photo" tabindex="-1">
221 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php 225 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php
222 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       if($type == 'related'
) {
 226 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       if($type == 'related' && !$move_related) {
223 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $_category_config['aspect_ratio'] = 0; 227 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $_category_config['aspect_ratio'] = 0;
224 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $image_width = 300; 228 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $image_width = 300;
225 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $image_height = 300; 229 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $image_height = 300;
226 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       } 230 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       }
227 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       if($_category_config['aspect_ratio']) 231 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       if($_category_config['aspect_ratio'])
228 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $productImage = $_imagehelper->init($_item, $image)->constrainOnly(FALSE)->keepAspectRatio(TRUE)->keepFrame(FALSE)->resize($image_width); 232 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $productImage = $_imagehelper->init($_item, $image)->constrainOnly(FALSE)->keepAspectRatio(TRUE)->keepFrame(FALSE)->resize($image_width);
229 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       else 233 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       else
230 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $productImage = $_imagehelper->init($_item, $image)->resize($image_width, $image_height); 234 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $productImage = $_imagehelper->init($_item, $image)->resize($image_width, $image_height);
231 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $productImageUrl = $productImage->getUrl(); 235 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $productImageUrl = $productImage->getUrl();
232 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       ?> 236 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       ?>
233 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <img class="product-image-photo default_image" src="<?php echo $productImageUrl; ?>" alt="<?php echo $productImage->getLabel(); ?>" alt=""/> 237 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <img class="product-image-photo default_image" src="<?php echo $productImageUrl; ?>" alt="<?php echo $productImage->getLabel(); ?>" alt=""/>
234 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if($_category_config['alternative_image']): ?> 238 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if($_category_config['alternative_image']): ?>
235 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php 239 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php
236 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       if($_category_config['aspect_ratio']) 240 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       if($_category_config['aspect_ratio'])
237 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $productHoverImage = $_imagehelper->init($_item, $hover_image)->constrainOnly(FALSE)->keepAspectRatio(TRUE)->keepFrame(FALSE)->resize($image_width); 241 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $productHoverImage = $_imagehelper->init($_item, $hover_image)->constrainOnly(FALSE)->keepAspectRatio(TRUE)->keepFrame(FALSE)->resize($image_width);
238 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       else 242 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       else
239 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $productHoverImage = $_imagehelper->init($_item, $hover_image)->resize($image_width, $image_height); 243 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $productHoverImage = $_imagehelper->init($_item, $hover_image)->resize($image_width, $image_height);
240 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $productHoverImageUrl = $productHoverImage->getUrl(); 244 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $productHoverImageUrl = $productHoverImage->getUrl();
241 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       ?> 245 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       ?>
242 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if($productImageUrl != str_replace("/thumbnail/","/small_image/",$productHoverImageUrl)): ?> 246 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if($productImageUrl != str_replace("/thumbnail/","/small_image/",$productHoverImageUrl)): ?>
243 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <img class="product-image-photo hover_image" src="<?php echo $productHoverImageUrl; ?>" alt="<?php echo $productHoverImage->getLabel(); ?>" alt=""/> 247 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <img class="product-image-photo hover_image" src="<?php echo $productHoverImageUrl; ?>" alt="<?php echo $productHoverImage->getLabel(); ?>" alt=""/>
244 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 248 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
245 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 249 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
246 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </a> 250 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </a>
247 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="product details product-item-details"> 251 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="product details product-item-details">
248 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <strong class="product name product-item-name"><a class="product-item-link" title="<?php echo $block->escapeHtml($_item->getName()) ?>" href="<?php /* @escapeNotVerified */ echo $block->getProductUrl($_item) ?>"> 252 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <strong class="product name product-item-name"><a class="product-item-link" title="<?php echo $block->escapeHtml($_item->getName()) ?>" href="<?php /* @escapeNotVerified */ echo $block->getProductUrl($_item) ?>">
249 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php echo $block->escapeHtml($_item->getName()) ?></a> 253 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php echo $block->escapeHtml($_item->getName()) ?></a>
250 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </strong> 254 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </strong>
251  255 
252 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if($_category_config['rating_star']): ?> 256 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if($_category_config['rating_star']): ?>
253 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php 257 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php
254 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $review_model->getEntitySummary($_item); 258 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $review_model->getEntitySummary($_item);
255 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $review_html = $block->getReviewsSummaryHtml($_item, $templateType); 259 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $review_html = $block->getReviewsSummaryHtml($_item, $templateType);
256 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       ?> 260 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       ?>
257 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if($review_html): ?> 261 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if($review_html): ?>
258 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php echo $review_html; ?> 262 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php echo $review_html; ?>
259 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php else: ?> 263 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php else: ?>
260 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="product-reviews-summary short"> 264 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="product-reviews-summary short">
261 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="rating-summary"> 265 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="rating-summary">
262 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <span class="label"><span>Rating:</span></span> 266 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <span class="label"><span>Rating:</span></span>
263 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="rating-result" title="0%"> 267 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="rating-result" title="0%">
264 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <span style="width:0"><span>0%</span></span> 268 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <span style="width:0"><span>0%</span></span>
265 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div> 269 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div>
266 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div> 270 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div>
267 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div> 271 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div>
268 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 272 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
269 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 273 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
270 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php /* @escapeNotVerified */ echo $block->getProductPrice($_item); ?> 274 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php /* @escapeNotVerified */ echo $block->getProductPrice($_item); ?>
271  275 
272 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if (!$_item->isComposite() && $_item->isSaleable() && $type == 'related'): ?> 276 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if (!$_item->isComposite() && $_item->isSaleable() && $type == 'related'): ?>
273 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if (!$_item->getRequiredOptions()): ?> 277 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if (!$_item->getRequiredOptions()): ?>
274 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="field choice related"> 278 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="field choice related">
275 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <input type="checkbox" class="checkbox related" id="related-checkbox<?php /* @escapeNotVerified */ echo $_item->getId() ?>" name="related_products[]" value="<?php /* @escapeNotVerified */ echo $_item->getId() ?>" /> 279 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <input type="checkbox" class="checkbox related" id="related-checkbox<?php /* @escapeNotVerified */ echo $_item->getId() ?>" name="related_products[]" value="<?php /* @escapeNotVerified */ echo $_item->getId() ?>" />
276 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <label class="label" for="related-checkbox<?php /* @escapeNotVerified */ echo $_item->getId() ?>"><span><?php /* @escapeNotVerified */ echo __('Add to Cart') ?></span></label> 280 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <label class="label" for="related-checkbox<?php /* @escapeNotVerified */ echo $_item->getId() ?>"><span><?php /* @escapeNotVerified */ echo __('Add to Cart') ?></span></label>
277 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div> 281 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div>
278 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 282 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
279 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 283 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
280  284 
281 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($showWishlist || $showCompare || $showCart): ?> 285 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($showWishlist || $showCompare || $showCart): ?>
282 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="product actions product-item-actions"> 286 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="product actions product-item-actions">
283                                         <?php if ($showWishlist): ?> 287                                         <?php if ($showWishlist): ?>
284 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($this->helper('Magento\Wishlist\Helper\Data')->isAllow() && $showWishlist): ?> 288 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($this->helper('Magento\Wishlist\Helper\Data')->isAllow() && $showWishlist): ?>
285 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <a href="#" data-post='<?php /* @escapeNotVerified */ echo $block->getAddToWishlistParams($_item); ?>'  class="action actions-secondary towishlist" data-action="add-to-wishlist" title="<?php /* @escapeNotVerified */ echo __('Add to Wish List') ?>"> 289 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <a href="#" data-post='<?php /* @escapeNotVerified */ echo $block->getAddToWishlistParams($_item); ?>'  class="action actions-secondary towishlist" data-action="add-to-wishlist" title="<?php /* @escapeNotVerified */ echo __('Add to Wish List') ?>">
286 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <span><?php /* @escapeNotVerified */ echo __('Add to Wish List') ?></span> 290 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <span><?php /* @escapeNotVerified */ echo __('Add to Wish List') ?></span>
287 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </a> 291 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </a>
288 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 292 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
289 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 293 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
290 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($showCart): ?> 294 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($showCart): ?>
291 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="actions-primary"> 295 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="actions-primary">
292 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($_item->isSaleable()): ?> 296 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($_item->isSaleable()): ?>
293 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($_item->getTypeInstance()->hasRequiredOptions($_item)): ?> 297 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($_item->getTypeInstance()->hasRequiredOptions($_item)): ?>
294 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <button class="action tocart primary" data-mage-init='{"redirectUrl": {"url": "<?php /* @escapeNotVerified */ echo $block->getAddToCartUrl($_item) ?>"}}' type="button" title="<?php /* @escapeNotVerified */ echo __('Add to Cart') ?>"> 298 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <button class="action tocart primary" data-mage-init='{"redirectUrl": {"url": "<?php /* @escapeNotVerified */ echo $block->getAddToCartUrl($_item) ?>"}}' type="button" title="<?php /* @escapeNotVerified */ echo __('Add to Cart') ?>">
295 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <span><?php /* @escapeNotVerified */ echo __('Add to Cart') ?></span> 299 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <span><?php /* @escapeNotVerified */ echo __('Add to Cart') ?></span>
296 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </button> 300 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </button>
297 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php else: ?> 301 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php else: ?>
298 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php $postDataHelper = $this->helper('Magento\Framework\Data\Helper\PostHelper'); 302 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php $postDataHelper = $this->helper('Magento\Framework\Data\Helper\PostHelper');
299 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $postData = $postDataHelper->getPostData($block->getAddToCartUrl($_item), ['product' => $_item->getEntityId()]) 303 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $postData = $postDataHelper->getPostData($block->getAddToCartUrl($_item), ['product' => $_item->getEntityId()])
300 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       ?> 304 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       ?>
301 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <button class="action tocart primary" 305 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <button class="action tocart primary"
302 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       data-post='<?php /* @escapeNotVerified */ echo $postData; ?>' 306 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       data-post='<?php /* @escapeNotVerified */ echo $postData; ?>'
303 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       type="button" title="<?php /* @escapeNotVerified */ echo __('Add to Cart') ?>"> 307 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       type="button" title="<?php /* @escapeNotVerified */ echo __('Add to Cart') ?>">
304 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <span><?php /* @escapeNotVerified */ echo __('Add to Cart') ?></span> 308 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <span><?php /* @escapeNotVerified */ echo __('Add to Cart') ?></span>
305 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </button> 309 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </button>
306 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 310 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
307 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php else: ?> 311 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php else: ?>
308 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($_item->getIsSalable()): ?> 312 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($_item->getIsSalable()): ?>
309 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="stock available"><span><?php /* @escapeNotVerified */ echo __('In stock') ?></span></div> 313 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="stock available"><span><?php /* @escapeNotVerified */ echo __('In stock') ?></span></div>
310 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php else: ?> 314 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php else: ?>
311 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="stock unavailable"><span><?php /* @escapeNotVerified */ echo __('Out of stock') ?></span></div> 315 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="stock unavailable"><span><?php /* @escapeNotVerified */ echo __('Out of stock') ?></span></div>
312 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 316 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
313 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 317 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
314 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div> 318 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div>
315 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 319 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
316  320 
317 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($showCompare): ?> 321 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($showCompare): ?>
318 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($block->getAddToCompareUrl() && $showCompare): ?> 322 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($block->getAddToCompareUrl() && $showCompare): ?>
319 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php 323 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php
320 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $compareHelper = $this->helper('Magento\Catalog\Helper\Product\Compare'); 324 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $compareHelper = $this->helper('Magento\Catalog\Helper\Product\Compare');
321 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       ?> 325 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       ?>
322 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <a href="#" class="action actions-secondary tocompare" 326 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <a href="#" class="action actions-secondary tocompare"
323 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »        data-post='<?php /* @escapeNotVerified */ echo $compareHelper->getPostDataParams($_item);?>' 327 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »        data-post='<?php /* @escapeNotVerified */ echo $compareHelper->getPostDataParams($_item);?>'
324 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »        data-role="add-to-links" 328 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »        data-role="add-to-links"
325 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »        title="<?php /* @escapeNotVerified */ echo __('Add to Compare'); ?>"> 329 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »        title="<?php /* @escapeNotVerified */ echo __('Add to Compare'); ?>">
326 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <span><?php /* @escapeNotVerified */ echo __('Add to Compare') ?></span> 330 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <span><?php /* @escapeNotVerified */ echo __('Add to Compare') ?></span>
327 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </a> 331 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </a>
328 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 332 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
329 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 333 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
330 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div> 334 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div>
331 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 335 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
332 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div> 336 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div>
333                             </div> 337                             </div>
334 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($type == 'related'
): ?>
 338 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($type == 'related' && !$move_related): ?>
335 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php 339 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php
336 »       »       »       »       »       »       »       »       »       »       »       »       »       »       if($iterator == count($items) || $iterator % 2 == 0) 340 »       »       »       »       »       »       »       »       »       »       »       »       »       »       if($iterator == count($items) || $iterator % 2 == 0)
337 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       echo '</div>'; 341 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       echo '</div>';
338 »       »       »       »       »       »       »       »       »       »       »       »       »       ?> 342 »       »       »       »       »       »       »       »       »       »       »       »       »       ?>
339 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php else: ?> 343 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php else: ?>
340 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php echo($iterator == count($items)) ? '</div>' : '' ?> 344 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php echo($iterator == count($items)) ? '</div>' : '' ?>
341 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 345 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
342 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endforeach ?> 346 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endforeach ?>
343                     </div> 347                     </div>
344                 </div> 348                 </div>
345             </div> 349             </div>
346         </div> 350         </div>
347 »       »       »       »       »       <?php if ($type == 'related'): ?> 351 »       »       »       »       »       <?php if ($type == 'related'): ?>
348 »       »       »       »       »       »       <script type="text/javascript"> 352 »       »       »       »       »       »       <script type="text/javascript">
349 »       »       »       »       »       »       »       »       require([ 353 »       »       »       »       »       »       »       »       require([
350 »       »       »       »       »       »       »       »       »       »       'jquery', 354 »       »       »       »       »       »       »       »       »       »       'jquery',
351 »       »       »       »       »       »       »       »       »       »       'owl.carousel/owl.carousel.min' 355 »       »       »       »       »       »       »       »       »       »       'owl.carousel/owl.carousel.min'
352 »       »       »       »       »       »       »       »       ], function ($) { 356 »       »       »       »       »       »       »       »       ], function ($) {
    357                     <?php if(!$move_related): ?>
353 »       »       »       »       »       »       »       »       »       »       $(".products-related .owl-carousel").owlCarousel({ 358 »       »       »       »       »       »       »       »       »       »       $(".products-related .owl-carousel").owlCarousel({
354 »       »       »       »       »       »       »       »       »       »       »       »       nav: true,    
355 »       »       »       »       »       »       »       »       »       »       »       »       dots: false, 359 »       »       »       »       »       »       »       »       »       »       »       »       dots: false,
356 »       »       »       »       »       »       »       »       »       »       »       »       items: 1, 360 »       »       »       »       »       »       »       »       »       »       »       »       items: 1,
357 »       »       »       »       »       »       »       »       »       »       »       »       nav: true 361 »       »       »       »       »       »       »       »       »       »       »       »       nav: true
358 »       »       »       »       »       »       »       »       »       »       }); 362 »       »       »       »       »       »       »       »       »       »       });
    363                     <?php else: ?>
    364                     $(".products-related .owl-carousel").owlCarousel({
    365 »       »       »       »       »       »       »       »       »       »       »       »       dots: true,
    366 »       »       »       »       »       »       »       »       »       »       »       »       items: 1,
    367 »       »       »       »       »       »       »       »       »       »       »       »       nav: false,
    368   »     »       »       »       »       »       »       »       »       »       »       responsive: {
    369   »     »       »       »       »       »       »       »       »       »       »       »       0: {
    370   »     »       »       »       »       »       »       »       »       »       »       »       »       items:2
    371   »     »       »       »       »       »       »       »       »       »       »       »       },
    372   »     »       »       »       »       »       »       »       »       »       »       »       768: {
    373   »     »       »       »       »       »       »       »       »       »       »       »       »       items:3
    374   »     »       »       »       »       »       »       »       »       »       »       »       },
    375   »     »       »       »       »       »       »       »       »       »       »       »       992: {
    376   »     »       »       »       »       »       »       »       »       »       »       »       »       items: <?php echo $move_related_columns-1; ?>
    377   »     »       »       »       »       »       »       »       »       »       »       »       },
    378   »     »       »       »       »       »       »       »       »       »       »       »       1200: {
    379   »     »       »       »       »       »       »       »       »       »       »       »       »       items: <?php echo $move_related_columns; ?>
    380   »     »       »       »       »       »       »       »       »       »       »       »       }
    381   »     »       »       »       »       »       »       »       »       »       »       }
    382 »       »       »       »       »       »       »       »       »       »       });
    383                     <?php endif; ?>
359 »       »       »       »       »       »       »       »       }); 384 »       »       »       »       »       »       »       »       });
360 »       »       »       »       »       »       </script> 385 »       »       »       »       »       »       </script>
361 »       »       »       »       »       <?php endif; ?> 386 »       »       »       »       »       <?php endif; ?>
362 »       »       »       »       »       <?php if ($type == 'upsell'): ?> 387 »       »       »       »       »       <?php if ($type == 'upsell'): ?>
363 »       »       »       »       »       »       »       <script type="text/javascript"> 388 »       »       »       »       »       »       »       <script type="text/javascript">
364 »       »       »       »       »       »       »       »       »       require([ 389 »       »       »       »       »       »       »       »       »       require([
365 »       »       »       »       »       »       »       »       »       »       'jquery', 390 »       »       »       »       »       »       »       »       »       »       'jquery',
366 »       »       »       »       »       »       »       »       »       »       'owl.carousel/owl.carousel.min' 391 »       »       »       »       »       »       »       »       »       »       'owl.carousel/owl.carousel.min'
367 »       »       »       »       »       »       »       »       »       ], function ($) { 392 »       »       »       »       »       »       »       »       »       ], function ($) {
368 »       »       »       »       »       »       »       »       »       »       $(".products-upsell .owl-carousel").owlCarousel({ 393 »       »       »       »       »       »       »       »       »       »       $(".products-upsell .owl-carousel").owlCarousel({
369 »       »       »       »       »       »       »       »       »       »       »       margin: 0, 394 »       »       »       »       »       »       »       »       »       »       »       margin: 0,
370 »       »       »       »       »       »       »       »       »       »       »       nav: false, 395 »       »       »       »       »       »       »       »       »       »       »       nav: false,
371 »       »       »       »       »       »       »       »       »       »       »       dots: true, 396 »       »       »       »       »       »       »       »       »       »       »       dots: true,
372 »       »       »       »       »       »       »       »       »       »       »       responsive: { 397 »       »       »       »       »       »       »       »       »       »       »       responsive: {
373 »       »       »       »       »       »       »       »       »       »       »       »       0: { 398 »       »       »       »       »       »       »       »       »       »       »       »       0: {
374 »       »       »       »       »       »       »       »       »       »       »       »       »       items:2 399 »       »       »       »       »       »       »       »       »       »       »       »       »       items:2
375 »       »       »       »       »       »       »       »       »       »       »       »       }, 400 »       »       »       »       »       »       »       »       »       »       »       »       },
376 »       »       »       »       »       »       »       »       »       »       »       »       768: { 401 »       »       »       »       »       »       »       »       »       »       »       »       768: {
377 »       »       »       »       »       »       »       »       »       »       »       »       »       items:3 402 »       »       »       »       »       »       »       »       »       »       »       »       »       items:3
378 »       »       »       »       »       »       »       »       »       »       »       »       }, 403 »       »       »       »       »       »       »       »       »       »       »       »       },
379 »       »       »       »       »       »       »       »       »       »       »       »       992: { 404 »       »       »       »       »       »       »       »       »       »       »       »       992: {
380 »       »       »       »       »       »       »       »       »       »       »       »       »       items:<?php echo $upsell_columns-1; ?> 405 »       »       »       »       »       »       »       »       »       »       »       »       »       items:<?php echo $upsell_columns-1; ?>
381 »       »       »       »       »       »       »       »       »       »       »       »       }, 406 »       »       »       »       »       »       »       »       »       »       »       »       },
382 »       »       »       »       »       »       »       »       »       »       »       »       1200: { 407 »       »       »       »       »       »       »       »       »       »       »       »       1200: {
383 »       »       »       »       »       »       »       »       »       »       »       »       »       items:<?php echo $upsell_columns; ?> 408 »       »       »       »       »       »       »       »       »       »       »       »       »       items:<?php echo $upsell_columns; ?>
384 »       »       »       »       »       »       »       »       »       »       »       »       } 409 »       »       »       »       »       »       »       »       »       »       »       »       }
385 »       »       »       »       »       »       »       »       »       »       »       } 410 »       »       »       »       »       »       »       »       »       »       »       }
386 »       »       »       »       »       »       »       »       »       »       }); 411 »       »       »       »       »       »       »       »       »       »       });
387 »       »       »       »       »       »       »       »       »       }); 412 »       »       »       »       »       »       »       »       »       });
388 »       »       »       »       »       »       »       </script> 413 »       »       »       »       »       »       »       </script>
389 »       »       »       »       »       <?php endif; ?> 414 »       »       »       »       »       <?php endif; ?>
390         <?php endif;?> 415         <?php endif;?>