Public Member Functions | |
getSteps () | |
getActiveStep () |
Definition at line 34 of file Onepage.php.
getActiveStep | ( | ) |
Definition at line 52 of file Onepage.php.
00053 { 00054 return $this->isCustomerLoggedIn() ? 'billing' : 'login'; 00055 }
getSteps | ( | ) |
Definition at line 36 of file Onepage.php.
00037 { 00038 $steps = array(); 00039 00040 if (!$this->isCustomerLoggedIn()) { 00041 $steps['login'] = $this->getCheckout()->getStepData('login'); 00042 } 00043 00044 $stepCodes = array('billing', 'shipping', 'shipping_method', 'payment', 'review'); 00045 00046 foreach ($stepCodes as $step) { 00047 $steps[$step] = $this->getCheckout()->getStepData($step); 00048 } 00049 return $steps; 00050 }