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-instant-purchase
view
frontend
templates
button.phtml
Go to the documentation of this file.
1
<?php
8
?>
9
10
<?php
if
(
$block
->isEnabled()) : ?>
11
<div
id
=
"instant-purchase"
data-bind=
"scope:'instant-purchase'"
>
12
<!-- ko
template
: getTemplate() --><!-- /ko -->
13
</div>
14
<script type=
"text/x-magento-init"
>
15
{
16
"#instant-purchase"
: {
17
"Magento_Ui/js/core/app"
: <?=
/* @escapeNotVerified */
$block
->getJsLayout();?>
18
}
19
}
20
</script>
21
<?php
endif
; ?>
endif
if( $block->getCanViewOrder() &&$block->getCanPrintOrder())() ?>" target endif
Definition:
button.phtml:16
$block
$block
Definition:
block.php:8