init
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
?>
|
||||
<?php /** @var $block \Magento\Checkout\Block\Onepage\Success */ ?>
|
||||
|
||||
<?php if ($block->getCanViewOrder() && $block->getCanPrintOrder()) :?>
|
||||
<a href="<?= $block->escapeUrl($block->getPrintUrl()) ?>"
|
||||
class="action print"
|
||||
target="_blank"
|
||||
rel="noopener">
|
||||
<?= $block->escapeHtml(__('Print receipt')) ?>
|
||||
</a>
|
||||
<?= $block->getChildHtml() ?>
|
||||
<?php endif;?>
|
||||
Reference in New Issue
Block a user