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
product
widget
viewed.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
9
/* @var $block \Magento\Reports\Block\Product\Widget\Viewed */
10
?>
11
12
<?php
13
$mode
=
$block
->getViewMode();
14
$type
=
$block
->getType() .
'-'
.
$mode
;
15
$class
=
'widget viewed'
.
' '
.
$mode
;
16
$title
=
__
(
'Recently Viewed'
);
17
?>
18
<div
class
=
"block <?= /* @escapeNotVerified */ $class ?>"
id
=
"recently_viewed_container"
data-
mage
-init=
'{"recentlyViewedProducts":{}}'
data-count=
"<?= /* @escapeNotVerified */ $block->getCount() ?>"
style=
"display: none;"
>
19
<div
class
=
"title"
>
20
<strong><?=
/* @escapeNotVerified */
$title
?></strong>
21
</div>
22
<div
class
=
"content"
>
23
<ol
class
=
"products list items <?= /* @escapeNotVerified */ $type ?>"
>
24
</ol>
25
</div>
26
</div>
$type
$type
Definition:
viewed.phtml:14
mage
if( $form)() ?>< script > require(['jquery' mage mage
Definition:
save.phtml:15
__
__()
Definition:
__.php:13
$block
$block
Definition:
block.php:8
$class
$class
Definition:
viewed.phtml:15
$mode
$mode
Definition:
viewed.phtml:13
$title
$title
Definition:
viewed.phtml:16