We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2324274 commit 3e08730Copy full SHA for 3e08730
app/code/Magento/Checkout/view/frontend/templates/button.phtml
@@ -10,6 +10,8 @@
10
<?php /** @var $block \Magento\Checkout\Block\Onepage\Success */ ?>
11
12
<?php if ($block->getCanViewOrder() && $block->getCanPrintOrder()) :?>
13
- <?php /* @escapeNotVerified */ echo __('<a href="%1" onclick="this.target=\'_blank\'" class="print">Print receipt</a>', $block->getPrintUrl()) ?>
+ <a href="<?php /* @escapeNotVerified */ echo $block->getPrintUrl() ?>" target="_blank" class="print">
14
+ <?php /* @escapeNotVerified */ echo __('Print receipt') ?>
15
+ </a>
16
<?php echo $block->getChildHtml() ?>
17
<?php endif;?>
0 commit comments