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-paypal
view
frontend
templates
payment
mark.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
13
$url
=
$block
->escapeUrl(
$block
->getPaymentAcceptanceMarkHref());
14
?>
15
<!-- PayPal Logo -->
16
<img src=
"<?= $block->escapeUrl($block->getPaymentAcceptanceMarkSrc()) ?>"
17
alt=
"<?= $block->escapeHtml(__('Acceptance Mark')) ?>"
class
=
"paypal icon"
/>
18
<a href=
"<?= /* @noEscape */ $url ?>"
19
onclick=
"javascript:window.open(
20
'<?= /* @noEscape */ $url ?>',
21
'olcwhatispaypal',
22
'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, ,' +
23
'left=0, top=0, width=400, height=350'
24
); return false;"
25
class
=
"action paypal about"
>
26
<?php
if
(
$block
->getPaymentWhatIs()) {
27
echo
$block
->escapeHtml(
__
(
$block
->getPaymentWhatIs()));
28
}
else
{
29
echo
$block
->escapeHtml(
__
(
'What is PayPal?'
));
30
} ?>
31
</a>
32
<!-- PayPal Logo -->
$url
$url
Definition:
mark.phtml:13
__
__()
Definition:
__.php:13
$block
$block
Definition:
block.php:8