public function shipping_and_billing() { $this->view = 'checkout-shipping-and-billing'; _wpsc_enqueue_shipping_billing_scripts(); if (isset($_POST['action']) && $_POST['action'] == 'submit_checkout_form') { $this->submit_shipping_and_billing(); } }
public function settings() { $this->view = 'customer-account-settings'; _wpsc_enqueue_shipping_billing_scripts(); if (isset($_POST['action']) && $_POST['action'] == 'submit_customer_settings_form') { $this->submit_customer_settings(); } }