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
configure
addto
wishlist.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
10
?>
11
<?php
if
($this->helper(
'Magento\Wishlist\Helper\Data'
)->isAllow()) : ?>
12
<a href=
"#"
data-post=
'<?= /* @noEscape */ $block->getUpdateParams() ?>'
class
=
"action towishlist updated"
data-action=
"add-to-wishlist"
>
13
<span><?=
$block
->escapeHtml(
__
(
'Update Wish List'
)) ?></span>
14
</a>
15
<?php
endif
; ?>
16
<script type=
"text/x-magento-init"
>
17
{
18
"body"
: {
19
"addToWishlist"
: <?=
/* @noEscape */
$this->helper(
'Magento\Framework\Json\Helper\Data'
)->jsonEncode(
$block
->getWishlistOptions()) ?>
20
}
21
}
22
</script>
__
__()
Definition:
__.php:13
$block
$block
Definition:
block.php:8
endif
if( $block->getWishlistHelper() ->isAllow())(__( 'Add to Wish List')) ?>" aria-label endif
Definition:
wishlist.phtml:11