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-catalog
view
frontend
templates
product
list
addto
compare.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
9
?>
10
<a href=
"#"
11
class
=
"action tocompare"
12
title=
"<?= $block->escapeHtml(__('Add to Compare')) ?>"
13
aria-label=
"<?= $block->escapeHtml(__('Add to Compare')) ?>"
14
data-post=
'<?= /* @escapeNotVerified */ $block->getCompareHelper()->getPostDataParams($block->getProduct()) ?>'
15
role=
"button"
>
16
<span><?=
/* @escapeNotVerified */
__
(
'Add to Compare'
) ?></span>
17
</a>
__
__()
Definition:
__.php:13