Skip to content

Commit ddea4e0

Browse files
authored
Update button.phtml
1 parent 86d99b0 commit ddea4e0

File tree

1 file changed

+3
-1
lines changed
  • app/code/Magento/Checkout/view/frontend/templates

1 file changed

+3
-1
lines changed

app/code/Magento/Checkout/view/frontend/templates/button.phtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
<?php /** @var $block \Magento\Checkout\Block\Onepage\Success */ ?>
1111

1212
<?php if ($block->getCanViewOrder() && $block->getCanPrintOrder()) :?>
13-
<?= /* @escapeNotVerified */ __('<a href="%1" onclick="this.target=\'_blank\'" class="print">Print receipt</a>', $block->getPrintUrl()) ?>
13+
<a href="<?= /* @escapeNotVerified */ $block->getPrintUrl() ?>" target="_blank" class="print">
14+
<?= /* @escapeNotVerified */ __('Print receipt') ?>
15+
</a>
1416
<?= $block->getChildHtml() ?>
1517
<?php endif;?>

0 commit comments

Comments
 (0)