Skip to main content
9 events
when toggle format what by license comment
Jun 15, 2020 at 8:30 history edited CommunityBot
Commonmark migration
Nov 26, 2019 at 13:28 comment added Amit Bera this->_processFiles($items) you could not like this way.You can changes the params of items
Nov 26, 2019 at 9:51 comment added SharmaV I am facing this error Invalid method Magento\Sales\Model\AdminOrder\Create::_processFiles
Nov 26, 2019 at 9:42 comment added SharmaV I need to run same these functions in observer also if ($this->getRequest()->getPost('update_items')) { $items = $this->getRequest()->getPost('item', []); $items = $this->_processFiles($items); $this->_getOrderCreateModel()->updateQuoteItems($items); } but I am unable to call $this->_processFiles($items) and $this->_getOrderCreateModel()->updateQuoteItems($items) in observer
Nov 26, 2019 at 9:11 comment added Amit Bera Might you use adminhtml_sales_order_create_process_item_before and it give same parameters. changes request item $this->getRequest()->getPost('item') details .Like $this->getRequest()->setPost('item', $yourparam)
Nov 26, 2019 at 8:31 vote accept SharmaV
Nov 26, 2019 at 8:29 comment added SharmaV Thanks It is working. Now I need to call protected function _processFiles($items) in observer. Could you please tell me how do I use it.
Nov 26, 2019 at 8:04 history edited Amit Bera CC BY-SA 4.0
added 570 characters in body
Nov 26, 2019 at 7:58 history answered Amit Bera CC BY-SA 4.0