Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-sales
view
frontend
templates
order
info
buttons.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
9
?>
10
<div
class
=
"actions"
>
11
<?php
$_order
=
$block
->getOrder() ?>
12
<?php
if
($this->helper(
'Magento\Sales\Helper\Reorder'
)->canReorder(
$_order
->getEntityId())) : ?>
13
<a href=
"#"
data-post=
'<?php /* @escapeNotVerified */ echo
14
$this->helper(\Magento\Framework\Data\Helper\PostHelper::class)
15
->getPostData($block->getReorderUrl($_order))
16
?>'
class
=
"action order"
>
17
<span><?=
/* @escapeNotVerified */
__
(
'Reorder'
) ?></span>
18
</a>
19
<?php
endif
?>
20
<a
class
=
"action print"
21
href=
"<?= /* @escapeNotVerified */ $block->getPrintUrl($_order) ?>"
22
onclick=
"this.target='_blank';"
>
23
<span><?=
/* @escapeNotVerified */
__
(
'Print Order'
) ?></span>
24
</a>
25
<?=
$block
->getChildHtml() ?>
26
</div>
$_order
$parentItem $_order
Definition:
default.phtml:12
__
__()
Definition:
__.php:13
$block
$block
Definition:
block.php:8
endif
endif
Definition:
404.phtml:116