public function __construct() { parent::__construct(); $this->check_cart_items(); $this->title = wpsc_get_checkout_title(); $this->init_checkout_wizard(); }
public function __construct() { if (is_user_logged_in()) { wp_redirect(wpsc_get_store_url()); exit; } $this->title = wpsc_get_password_reminder_title(); parent::__construct(); }
public function __construct() { if (is_user_logged_in()) { wp_redirect(wpsc_get_store_url()); exit; } parent::__construct(); $this->title = wpsc_get_register_title(); }
public function __construct() { parent::__construct(); if (!is_user_logged_in()) { wp_redirect(wpsc_get_login_url()); exit; } $this->title = wpsc_get_customer_account_title(); }
public function __construct() { parent::__construct(); require_once WPSC_TE_V2_CLASSES_PATH . '/cart-item-table.php'; require_once WPSC_TE_V2_CLASSES_PATH . '/cart-item-table-form.php'; $this->view = 'cart'; $this->title = wpsc_get_cart_title(); $this->init_cart_item_table(); }
public function __construct() { if (is_user_logged_in()) { wp_redirect(wpsc_get_store_url()); exit; } parent::__construct(); //Set a cookie now to see if they are supported by the browser. setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN); if (SITECOOKIEPATH != COOKIEPATH) { setcookie(TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN); } $this->title = wpsc_get_login_title(); }