Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-reports
view
frontend
templates
widget
compared
column
compared_images_list.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
9
?>
10
<?php
11
if
($exist =
$block
->getRecentlyComparedProducts()) {
12
$type
=
'widget-compared'
;
13
14
$image
=
'recently_compared_products_images_only_widget'
;
15
$title
=
__
(
'Recently Compared'
);
16
$items
= $exist;
17
18
$showWishlist
=
false
;
19
$showCompare
=
false
;
20
$showCart
=
false
;
21
$rating
=
false
;
22
$description
=
false
;
23
}
24
?>
25
<?php
if
($exist): ?>
26
<div
class
=
"block widget block-compared-products-images"
>
27
<div
class
=
"block-title"
>
28
<strong><?=
/* @escapeNotVerified */
$title
?></strong>
29
</div>
30
<div
class
=
"block-content"
>
31
<?php
$suffix
=
$block
->getNameInLayout(); ?>
32
<ol
id
=
"widget-compared-<?= /* @escapeNotVerified */ $suffix ?>"
class
=
"product-items product-items-images"
>
33
<?php
$i
= 0;
foreach
(
$items
as
$_product
): ?>
34
<li
class
=
"product-item"
>
35
<a
class
=
"product-item-photo"
href=
"<?= /* @escapeNotVerified */ $_product->getProductUrl() ?>"
36
title=
"<?= /* @escapeNotVerified */ $block->stripTags($_product->getName(), null, true) ?>"
>
37
<?=
$block
->getImage(
$_product
,
$image
)->toHtml() ?>
38
</a>
39
</li>
40
<?php
endforeach
; ?>
41
</ol>
42
</div>
43
</div>
44
<?php
endif
; ?>
$description
$description
Definition:
pre_composer_update_2.3.php:162
$title
$title
Definition:
default.phtml:14
$suffix
$suffix
Definition:
name.phtml:27
$i
$i
Definition:
compared_images_list.phtml:33
$image
$image
Definition:
product_export_with_images.php:32
endif
endif
Definition:
compared_images_list.phtml:44
__
__()
Definition:
__.php:13
$rating
$rating
Definition:
item.phtml:18
$_product
$_product
Definition:
summary.phtml:12
$block
$block
Definition:
block.php:8
$type
$type
Definition:
item.phtml:13
$showCompare
$showCompare
Definition:
grid.phtml:21
endforeach
foreach( $items as $_product)() ?>" title endforeach
Definition:
compared_images_list.phtml:33
$showCart
$showCart
Definition:
grid.phtml:22
$showWishlist
$showWishlist
Definition:
grid.phtml:20
$items
$items
Definition:
order_rollback.php:21