コード例 #1
0
 /**
  * Get first step from stored steps
  */
 public function index()
 {
     if (CheckoutPage::config()->first_step) {
         return $this->owner->{CheckoutPage::config()->first_step}();
     }
     return array();
 }
コード例 #2
0
<?php

define('SHOP_DIR', basename(__DIR__));
define('SHOP_PATH', BASE_PATH . DIRECTORY_SEPARATOR . SHOP_DIR);
Object::useCustomClass('Currency', 'ShopCurrency', true);
if ($checkoutsteps = CheckoutPage::config()->steps) {
    SteppedCheckout::setupSteps($checkoutsteps);
}