/** * @return void */ protected function _construct() { if (!$this->isCustomerLoggedIn()) { $this->getCheckout()->setStepData('login', array('label' => __('Checkout Method'), 'allow' => true)); } parent::_construct(); }
/** * Initialize billing address step * * @return void */ protected function _construct() { $this->getCheckout()->setStepData('billing', ['label' => __('Billing Information'), 'is_show' => $this->isShow()]); if ($this->isCustomerLoggedIn()) { $this->getCheckout()->setStepData('billing', 'allow', true); } parent::_construct(); }
/** * @return void */ protected function _construct() { $this->getCheckout()->setStepData('payment', ['label' => __('Payment Information'), 'is_show' => $this->isShow()]); parent::_construct(); }
/** * @return void */ protected function _construct() { $this->getCheckout()->setStepData('shipping_method', ['label' => __('Shipping Method'), 'is_show' => $this->isShow()]); parent::_construct(); }
/** * @return void */ protected function _construct() { $this->getCheckout()->setStepData('review', array('label' => __('Order Review'), 'is_show' => $this->isShow())); parent::_construct(); $this->getQuote()->collectTotals()->save(); }
/** * Initialize shipping address step * * @return void */ protected function _construct() { $this->getCheckout()->setStepData('shipping', array('label' => __('Shipping Information'), 'is_show' => $this->isShow())); parent::_construct(); }