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
link.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
9
/* @var \Magento\Wishlist\Block\Link $block */
10
?>
11
<li
class
=
"link wishlist"
data-bind=
"scope: 'wishlist'"
>
12
<a <?=
/* @noEscape */
$block
->getLinkAttributes() ?>><?=
$block
->escapeHtml(
$block
->getLabel()) ?>
13
<!-- ko
if
: wishlist().counter -->
14
<span data-bind=
"text: wishlist().counter"
class
=
"counter qty"
></span>
15
<!-- /ko -->
16
</a>
17
</li>
18
<script type=
"text/x-magento-init"
>
19
{
20
"*"
: {
21
"Magento_Ui/js/core/app"
: {
22
"components"
: {
23
"wishlist"
: {
24
"component"
:
"Magento_Wishlist/js/view/wishlist"
25
}
26
}
27
}
28
}
29
}
30
31
</script>
$block
$block
Definition:
block.php:8