Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
info.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
9 ?>
10 <?php ?>
11 <?php $_order = $block->getOrder() ?>
12 <div class="block block-order-details-view">
13  <div class="block-title">
14  <strong><?= /* @escapeNotVerified */ __('Order Information') ?></strong>
15  </div>
16  <div class="block-content">
17  <?php if (!$_order->getIsVirtual()): ?>
18  <div class="box box-order-shipping-address">
19  <strong class="box-title"><span><?= /* @escapeNotVerified */ __('Shipping Address') ?></span></strong>
20  <div class="box-content">
21  <address><?= /* @escapeNotVerified */ $block->getFormattedAddress($_order->getShippingAddress()) ?></address>
22  </div>
23  </div>
24 
25  <div class="box box-order-shipping-method">
26  <strong class="box-title">
27  <span><?= /* @escapeNotVerified */ __('Shipping Method') ?></span>
28  </strong>
29  <div class="box-content">
30  <?php if ($_order->getShippingDescription()): ?>
31  <?= $block->escapeHtml($_order->getShippingDescription()) ?>
32  <?php else: ?>
33  <?= /* @escapeNotVerified */ __('No shipping information available') ?>
34  <?php endif; ?>
35  </div>
36  </div>
37  <?php endif; ?>
38 
39  <div class="box box-order-billing-address">
40  <strong class="box-title">
41  <span><?= /* @escapeNotVerified */ __('Billing Address') ?></span>
42  </strong>
43  <div class="box-content">
44  <address><?= /* @escapeNotVerified */ $block->getFormattedAddress($_order->getBillingAddress()) ?></address>
45  </div>
46  </div>
47  <div class="box box-order-billing-method">
48  <strong class="box-title">
49  <span><?= /* @escapeNotVerified */ __('Payment Method') ?></span>
50  </strong>
51  <div class="box-content">
52  <?= $block->getPaymentInfoHtml() ?>
53  </div>
54  </div>
55  </div>
56 </div>
foreach( $block->getCcAvailableTypes() as $typeCode=> $typeName)( $typeCode) ?>" <?php if ($typeCode endif
Definition: info.phtml:44
$parentItem $_order
Definition: default.phtml:12
__()
Definition: __.php:13
$block
Definition: block.php:8