Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
link.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 ?>
9 <?php if ($block->isPossibleOnepageCheckout()):?>
10  <button type="button"
11  data-role="proceed-to-checkout"
12  title="<?= /* @escapeNotVerified */ __('Proceed to Checkout') ?>"
13  data-mage-init='{"Magento_Checkout/js/proceed-to-checkout":{"checkoutUrl":"<?= /* @escapeNotVerified */ $block->getCheckoutUrl() ?>"}}'
14  class="action primary checkout<?= ($block->isDisabled()) ? ' disabled' : '' ?>"
15  <?php if ($block->isDisabled()):?>disabled="disabled"<?php endif; ?>>
16  <span><?= /* @escapeNotVerified */ __('Proceed to Checkout') ?></span>
17  </button>
18 <?php endif?>
if( $form)() ?>< script > require(['jquery' mage mage
Definition: save.phtml:15
__()
Definition: __.php:13
$block
Definition: block.php:8