Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
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; ?>
if( $block->getCanViewOrder() &&$block->getCanPrintOrder())() ?>" target endif
Definition: button.phtml:16
$block
Definition: block.php:8