/** * Carrier step */ protected function _assignCarrier() { if (!isset($this->context->customer->id)) { die(Tools::displayError('Fatal error: No customer')); } // Assign carrier parent::_assignCarrier(); // Assign wrapping and TOS $this->_assignWrappingAndTOS(); $this->context->smarty->assign(array('is_guest' => isset($this->context->customer->is_guest) ? $this->context->customer->is_guest : 0)); }