193. Araxis Merge File Comparison Report

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

193.1 Files compared

#LocationFileLast Modified
1/Applications/Ampps/www/Porto 3.2.2/Theme Files/Magento 2.x/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/listitems.phtml2019-10-28 04:58:58 +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/listitems.phtml2021-02-01 05:04:06 +0000

193.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged20714
Changed1865
Inserted00
Removed22

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

193.4 Active regular expressions

No regular expressions were active.

193.5 Comparison detail

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