Esempio n. 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;
 }
Esempio n. 2
0
 /**
  * @return $this
  */
 protected function _prepareLayout()
 {
     if ($headBlock = $this->getLayout()->getBlock('head')) {
         $headBlock->setTitle(__('Shipping Methods') . ' - ' . $headBlock->getDefaultTitle());
     }
     return parent::_prepareLayout();
 }
Esempio n. 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();
 }
Esempio n. 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();
 }
Esempio n. 5
0
 /**
  * @param AbstractBlock $renderer
  * @return $this
  */
 protected function _prepareItem(AbstractBlock $renderer)
 {
     $renderer->setPrintStatus(true);
     return parent::_prepareItem($renderer);
 }
Esempio n. 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();
 }
Esempio n. 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);
 }
Esempio n. 8
0
 /**
  * @return $this
  */
 protected function _prepareLayout()
 {
     $this->pageConfig->getTitle()->set(__('Ship to Multiple Addresses') . ' - ' . $this->pageConfig->getTitle()->getDefault());
     return parent::_prepareLayout();
 }
Esempio n. 9
0
 /**
  * @return $this
  */
 protected function _prepareLayout()
 {
     $this->pageConfig->getTitle()->set(__('Shipping Methods') . ' - ' . $this->pageConfig->getTitle()->getDefault());
     return parent::_prepareLayout();
 }
Esempio n. 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;
 }