Example #1
0
 /**
  * @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;
 }
Example #2
0
 /**
  * @return $this
  */
 protected function _prepareLayout()
 {
     if ($headBlock = $this->getLayout()->getBlock('head')) {
         $headBlock->setTitle(__('Shipping Methods') . ' - ' . $headBlock->getDefaultTitle());
     }
     return parent::_prepareLayout();
 }
Example #3
0
 /**
  * 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();
 }
Example #4
0
 /**
  * @return $this
  */
 protected function _prepareLayout()
 {
     $headBlock = $this->getLayout()->getBlock('head');
     if ($headBlock) {
         $headBlock->setTitle(__('Ship to Multiple Addresses') . ' - ' . $headBlock->getDefaultTitle());
     }
     return parent::_prepareLayout();
 }
Example #5
0
 /**
  * @param AbstractBlock $renderer
  * @return $this
  */
 protected function _prepareItem(AbstractBlock $renderer)
 {
     $renderer->setPrintStatus(true);
     return parent::_prepareItem($renderer);
 }
Example #6
0
 /**
  * Initialize default item renderer
  *
  * @return $this
  */
 protected function _prepareLayout()
 {
     $this->pageConfig->getTitle()->set(__('Review Order - %1', $this->pageConfig->getTitle()->getDefault()));
     return parent::_prepareLayout();
 }
Example #7
0
 /**
  * @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();
 }
Example #9
0
 /**
  * @return $this
  */
 protected function _prepareLayout()
 {
     $this->pageConfig->getTitle()->set(__('Shipping Methods') . ' - ' . $this->pageConfig->getTitle()->getDefault());
     return parent::_prepareLayout();
 }
Example #10
0
 /**
  * @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;
 }