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
viewed
column
viewed_images_list.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
9
?>
10
<?php
14
?>
15
<?php
16
if
($exist = (
$block
->getRecentlyViewedProducts() &&
$block
->getRecentlyViewedProducts()->getSize())) {
17
$type
=
'widget-viewed'
;
18
19
$image
=
'recently_viewed_products_images_only_widget'
;
20
$title
=
__
(
'Recently Viewed'
);
21
$items
=
$block
->getRecentlyViewedProducts();
22
23
$showWishlist
=
false
;
24
$showCompare
=
false
;
25
$showCart
=
false
;
26
$rating
=
false
;
27
$description
=
false
;
28
}
29
?>
30
<?php
if
($exist): ?>
31
<div
class
=
"block widget block-viewed-products-images"
>
32
<div
class
=
"block-title"
>
33
<strong><?=
/* @escapeNotVerified */
$title
?></strong>
34
</div>
35
<div
class
=
"block-content"
>
36
<?php
$suffix
=
$block
->getNameInLayout(); ?>
37
<ol
id
=
"widget-viewed-<?= /* @escapeNotVerified */ $suffix ?>"
class
=
"product-items product-items-images"
>
38
<?php
foreach
(
$items
as
$_product
): ?>
39
<li
class
=
"product-item"
>
40
<a
class
=
"product-item-photo"
href=
"<?= /* @escapeNotVerified */ $_product->getProductUrl() ?>"
title=
"<?= /* @escapeNotVerified */ $block->stripTags($_product->getName(), null, true) ?>"
>
41
<?=
$block
->getImage(
$_product
,
$image
)->toHtml() ?>
42
</a>
43
</li>
44
<?php
endforeach
; ?>
45
</ol>
46
</div>
47
</div>
48
<?php
endif
; ?>
$description
$description
Definition:
pre_composer_update_2.3.php:162
$title
$title
Definition:
default.phtml:14
$suffix
$suffix
Definition:
name.phtml:27
$image
$image
Definition:
product_export_with_images.php:32
__
__()
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
endforeach
foreach( $items as $_product)() ?>" title endforeach
Definition:
viewed_images_list.phtml:38
$showCompare
$showCompare
Definition:
grid.phtml:21
endif
endif
Definition:
viewed_images_list.phtml:48
$showCart
$showCart
Definition:
grid.phtml:22
$showWishlist
$showWishlist
Definition:
grid.phtml:20
$items
$items
Definition:
order_rollback.php:21