/**
  * Address step
  */
 protected function _assignAddress()
 {
     parent::_assignAddress();
     if (Tools::getValue('multi-shipping')) {
         $this->context->cart->autosetProductAddress();
     }
     $this->context->smarty->assign('cart', $this->context->cart);
 }
Beispiel #2
0
 /**
  * Address step
  */
 protected function _assignAddress()
 {
     parent::_assignAddress();
     if (Tools::getValue('multi-shipping')) {
         $this->context->cart->autosetProductAddress();
     }
     $this->context->smarty->assign('cart', $this->context->cart);
     if ($this->context->customer->is_guest) {
         Tools::redirect('index.php?controller=order&step=2');
     }
 }
 protected function _assignAddress()
 {
     parent::_assignAddress();
     self::$smarty->assign('cart', self::$cart);
     if (self::$cookie->is_guest) {
         Tools::redirect('order.php?step=2');
     }
 }
 protected function _assignAddress()
 {
     parent::_assignAddress();
     self::$smarty->assign('cart', self::$cart);
 }