Example #1
0
 /**
  * Check - specified step is current or not
  *
  * @param \XLite\View\Checkout\Step\AStep $step Step
  *
  * @return boolean
  */
 public function isEnabledStep(\XLite\View\Checkout\Step\AStep $step)
 {
     return $step->isEnabled();
 }
Example #2
0
 /**
  * Check - step is enabled (true) or skipped (false)
  *
  * @return boolean
  */
 public function isEnabled()
 {
     return parent::isEnabled() && ($this->isShippingEnabled() || $this->isPaymentEnabled());
 }
Example #3
0
 /**
  * Check - step is enabled (true) or skipped (false)
  *
  * @return boolean
  */
 public function isEnabled()
 {
     return parent::isEnabled() && $this->isShippingEnabled();
 }