Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
info.phtml File Reference

Go to the source code of this file.

Variables

 $order = $block->getOrder()
 
 $orderAdminDate
 
 $orderStoreDate
 
 $customerUrl = $block->getCustomerViewUrl()
 
 $confirmationEmailStatusMessage = $order->getEmailSent() ? __('The order confirmation email was sent') : __('The order confirmation email is not sent')
 
if( $block->getNoUseOrderLink())(__( 'Order # %1', $order->getRealOrderId())) ?>(< span ><? else = $block->escapeHtml($confirmationEmailStatusMessage)
 
if( $block->getNoUseOrderLink())(__( 'Order # %1', $order->getRealOrderId())) ?>(< span ><? $order getRealOrderId())) ?></a >< span >(<? endif = $block->escapeHtml($confirmationEmailStatusMessage)
 

Variable Documentation

◆ $confirmationEmailStatusMessage

$confirmationEmailStatusMessage = $order->getEmailSent() ? __('The order confirmation email was sent') : __('The order confirmation email is not sent')

Definition at line 38 of file info.phtml.

◆ $customerUrl

$customerUrl = $block->getCustomerViewUrl()

Definition at line 28 of file info.phtml.

◆ $order

$order = $block->getOrder()

Definition at line 13 of file info.phtml.

◆ $orderAdminDate

$orderAdminDate
Initial value:
= $block->formatDate(
$block->getOrderAdminDate($order->getCreatedAt()),
\IntlDateFormatter::MEDIUM,
true
)
$order
Definition: info.phtml:13
$block
Definition: block.php:8

Definition at line 15 of file info.phtml.

◆ $orderStoreDate

$orderStoreDate
Initial value:
= $block->formatDate(
$order->getCreatedAt(),
\IntlDateFormatter::MEDIUM,
true,
$block->getTimezoneForStore($order->getStore())
)
$order
Definition: info.phtml:13
$block
Definition: block.php:8

Definition at line 21 of file info.phtml.

◆ else

if ($customerUrl) ($customerUrl) ?>" target else = $block->escapeHtml($confirmationEmailStatusMessage)

Definition at line 41 of file info.phtml.

◆ endif

if ($order->getBaseCurrencyCode() != $order->getOrderCurrencyCode()) (__('%1 / %2 rate:', $order->getOrderCurrencyCode(), $order->getBaseCurrencyCode())) ?></th> <th><? endif = $block->escapeHtml($confirmationEmailStatusMessage)

Definition at line 44 of file info.phtml.