/** * @param \Magento\Framework\View\Element\Template\Context $context * @param \Magento\Multishipping\Model\Checkout\Type\Multishipping $multishipping * @param \Magento\Checkout\Model\Session $checkoutSession * @param array $data */ public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Multishipping\Model\Checkout\Type\Multishipping $multishipping, \Magento\Checkout\Model\Session $checkoutSession, array $data = []) { $this->_multishipping = $multishipping; $this->_checkoutSession = $checkoutSession; parent::__construct($context, $data); $this->_isScopePrivate = true; }
/** * @return $this */ protected function _prepareLayout() { if ($headBlock = $this->getLayout()->getBlock('head')) { $headBlock->setTitle(__('Shipping Methods') . ' - ' . $headBlock->getDefaultTitle()); } return parent::_prepareLayout(); }
/** * Initialize default item renderer * * @return $this */ protected function _prepareLayout() { $headBlock = $this->getLayout()->getBlock('head'); if ($headBlock) { $headBlock->setTitle(__('Review Order - %1', $headBlock->getDefaultTitle())); } return parent::_prepareLayout(); }
/** * @return $this */ protected function _prepareLayout() { $headBlock = $this->getLayout()->getBlock('head'); if ($headBlock) { $headBlock->setTitle(__('Ship to Multiple Addresses') . ' - ' . $headBlock->getDefaultTitle()); } return parent::_prepareLayout(); }
/** * @param AbstractBlock $renderer * @return $this */ protected function _prepareItem(AbstractBlock $renderer) { $renderer->setPrintStatus(true); return parent::_prepareItem($renderer); }
/** * Initialize default item renderer * * @return $this */ protected function _prepareLayout() { $this->pageConfig->getTitle()->set(__('Review Order - %1', $this->pageConfig->getTitle()->getDefault())); return parent::_prepareLayout(); }
/** * @param \Magento\Framework\View\Element\Template\Context $context * @param \Magento\Framework\Registry $registry * @param array $data */ public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Framework\Registry $registry, array $data = array()) { $this->_coreRegistry = $registry; parent::__construct($context, $data); }
/** * @return $this */ protected function _prepareLayout() { $this->pageConfig->getTitle()->set(__('Ship to Multiple Addresses') . ' - ' . $this->pageConfig->getTitle()->getDefault()); return parent::_prepareLayout(); }
/** * @return $this */ protected function _prepareLayout() { $this->pageConfig->getTitle()->set(__('Shipping Methods') . ' - ' . $this->pageConfig->getTitle()->getDefault()); return parent::_prepareLayout(); }
/** * @param \Magento\Framework\View\Element\Template\Context $context * @param \Magento\Checkout\Model\Session $checkoutSession * @param array $data */ public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Checkout\Model\Session $checkoutSession, array $data = array()) { $this->_checkoutSession = $checkoutSession; parent::__construct($context, $data); $this->_isScopePrivate = true; }