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
adminhtml
templates
order
create
giftmessage.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
9
?>
10
<?php
if
($this->helper(
'Magento\GiftMessage\Helper\Message'
)->isMessagesAllowed(
'main'
,
$block
->getQuote(),
$block
->getStoreId())): ?>
11
<?php
$_items
=
$block
->getItems(); ?>
12
<div
id
=
"order-giftmessage"
class
=
"giftmessage-order-create"
>
13
<fieldset
class
=
"admin__fieldset"
>
14
<legend
class
=
"admin__legend"
><span><?=
/* @escapeNotVerified */
__
(
'Gift Message for the Entire Order'
) ?></span></legend>
15
<br>
16
<?php
if
($this->helper(
'Magento\GiftMessage\Helper\Message'
)->isMessagesAllowed(
'main'
,
$block
->getQuote(),
$block
->getStoreId())): ?>
17
<p><?=
/* @escapeNotVerified */
__
(
'Leave this box blank if you don\'t want to leave a gift message for the entire order.'
) ?></p>
18
<?=
$block
->getFormHtml(
$block
->getQuote(),
'main'
) ?>
19
<?php
endif
; ?>
20
</fieldset>
21
<script>
22
require([
'Magento_Sales/order/create/form'
],
function
(){
23
24
order.giftmessageFieldsBind(
'order-giftmessage'
);
25
});
26
</script>
27
</div>
28
<?php
endif
; ?>
__
__()
Definition:
__.php:13
$block
$block
Definition:
block.php:8
endif
if( $this->helper( 'Magento\GiftMessage\Helper\Message') ->isMessagesAllowed( 'main', $block->getQuote(), $block->getStoreId()))( 'Leave this box blank if you don\ 't want to leave a gift message for the entire order.') ?></p ><? endif
Definition:
giftmessage.phtml:16
$_items
$_items
Definition:
list.phtml:15