Magento 2 how to get Order ID in

2017-12-07  本文已影响19人  葡萄月令

protected$view;

publicfunction__construct(

\Magento\Sales\Block\Adminhtml\Order\View $view

)

{

$this->view=$view;

}

publicfunctionYourfunction(){

$orderIds=$this->view->getOrderId();

}

原文链接: https://www.abmbio.xin/article/25 

上一篇 下一篇

猜你喜欢

热点阅读