Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
js.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8  ?>
9 <script>
10 require([
11  "prototype",
12  "Magento_Sales/order/create/form",
13  "Magento_Catalog/catalog/product/composite/configure",
14  "domReady!"
15 ], function(){
16 
17  order.sidebarHide();
18  if (window.productConfigure) {
19  productConfigure.addListType('product_to_add', {
20  urlFetch: '<?= /* @escapeNotVerified */ $block->getUrl('sales/order_create/configureProductToAdd') ?>'
21  });
22  productConfigure.addListType('quote_items', {
23  urlFetch: '<?= /* @escapeNotVerified */ $block->getUrl('sales/order_create/configureQuoteItems') ?>'
24  });
25  }
26 
27 });
28 </script>