예제 #1
0
파일: Login.php 프로젝트: aiesh/magento2
 /**
  * @return void
  */
 protected function _construct()
 {
     if (!$this->isCustomerLoggedIn()) {
         $this->getCheckout()->setStepData('login', array('label' => __('Checkout Method'), 'allow' => true));
     }
     parent::_construct();
 }
예제 #2
0
파일: Billing.php 프로젝트: nja78/magento2
 /**
  * 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();
 }
예제 #3
0
 /**
  * @return void
  */
 protected function _construct()
 {
     $this->getCheckout()->setStepData('payment', ['label' => __('Payment Information'), 'is_show' => $this->isShow()]);
     parent::_construct();
 }
예제 #4
0
파일: Method.php 프로젝트: nja78/magento2
 /**
  * @return void
  */
 protected function _construct()
 {
     $this->getCheckout()->setStepData('shipping_method', ['label' => __('Shipping Method'), 'is_show' => $this->isShow()]);
     parent::_construct();
 }
예제 #5
0
파일: Review.php 프로젝트: aiesh/magento2
 /**
  * @return void
  */
 protected function _construct()
 {
     $this->getCheckout()->setStepData('review', array('label' => __('Order Review'), 'is_show' => $this->isShow()));
     parent::_construct();
     $this->getQuote()->collectTotals()->save();
 }
예제 #6
0
파일: Shipping.php 프로젝트: aiesh/magento2
 /**
  * Initialize shipping address step
  *
  * @return void
  */
 protected function _construct()
 {
     $this->getCheckout()->setStepData('shipping', array('label' => __('Shipping Information'), 'is_show' => $this->isShow()));
     parent::_construct();
 }