Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
popup.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
9 ?>
10 
11 <?php if ($block->getChildHtml()) :?>
12 <div id="gift_options_configure_new" class="gift-options-popup product-configure-popup" style="display: none;">
13  <div id="gift_options_form_contents">
14  <div class="content">
15  <?= $block->getChildHtml() ?>
16  </div>
17  <div class="ui-dialog-buttonset">
18  <button type="button" class="action-close" id="gift_options_cancel_button"><span><?= /* @escapeNotVerified */ __('Cancel') ?></span></button>
19  <button type="button" class="action-primary" id="gift_options_ok_button"><span><?= /* @escapeNotVerified */ __('OK') ?></span></button>
20  </div>
21  </div>
22 </div>
23 
24 <div id="giftoptions_tooltip_window" class="gift-options-tooltip" style="display: none;">
25  <div id="giftoptions_tooltip_window_content">&nbsp;</div>
26 </div>
27 
28 <script>
29 require([
30  "Magento_Sales/order/create/giftmessage",
31  "Magento_Sales/order/giftoptions_tooltip"
32 ], function(){
33 
34 //<![CDATA[
35 var giftMessageSet = new GiftMessageSet();
36 
37 _giftOptions = new GiftOptionsPopup();
38 giftOptionsTooltip.setTooltipWindow('giftoptions_tooltip_window','giftoptions_tooltip_window_content');
39 //]]>
40 window.giftMessageSet = giftMessageSet;
41 });
42 </script>
43 <?php endif;?>
__()
Definition: __.php:13
$block
Definition: block.php:8
if($block->getChildHtml())< div id="gift_options_form_contents">< div class="content"><?=$block-> getChildHtml() ?></div >< div class endif
Definition: popup.phtml:19
$_count $_index $_prevOptionId if($block->getOrderOptions()|| $_item->getDescription()) foreach( $items as $_item)( $_item) ?><?php $attributes if( $_item->getOrderItem() ->getParentItem())($_prevOptionId !=$attributes['option_id'])</td >< td > & nbsp
Definition: renderer.phtml:33