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-wishlist
view
frontend
templates
item
list.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
9
?>
10
<?php
12
$columns
=
$block
->getColumns();
13
?>
14
15
<div
class
=
"products-grid wishlist"
>
16
<?php
if
(count(
$block
->getItems())): ?>
17
<ol
class
=
"product-items"
>
18
<?php
foreach
(
$block
->getItems() as
$item
): ?>
19
<li data-row=
"product-item"
class
=
"product-item"
id
=
"item_<?= $block->escapeHtmlAttr($item->getId()) ?>"
>
20
<div
class
=
"product-item-info"
data-container=
"product-grid"
>
21
<?php
foreach
(
$columns
as $column): ?>
22
<?= $column->setItem(
$item
)->toHtml();?>
23
<?php
endforeach
; ?>
24
</div>
25
</li>
26
<?php
endforeach
; ?>
27
</ol>
28
<?php
else
: ?>
29
<div
class
=
"message info empty"
>
30
<span><?=
$block
->escapeHtml(
__
(
'This Wish List has no Items'
)) ?></span>
31
</div>
32
<?php
endif
; ?>
33
</div>
34
35
<?php
foreach
(
$columns
as $column): ?>
36
<?= $column->getAdditionalHtml() ?>
37
<?php
endforeach
; ?>
endif
endif
Definition:
list.phtml:77
__
__()
Definition:
__.php:13
$item
$item
Definition:
partial_invoice.php:27
$block
$block
Definition:
block.php:8
$columns
$columns
Definition:
list.phtml:12
endforeach
endforeach
Definition:
list.phtml:36