public function __construct() { global $wpsc_cart; parent::__construct(); if (!isset($GLOBALS['wpsc_cart'])) { $GLOBALS['wpsc_cart'] = new wpsc_cart(); } $this->prepare_cache(); $this->columns = array('items' => __('Items', 'wpsc'), 'unit_price' => __('Unit Price', 'wpsc'), 'quantity' => __('Quantity', 'wpsc'), 'item_total' => __('Item Total', 'wpsc')); $this->columns = apply_filters('wpsc_cart_item_table_columns', $this->columns); $this->items = $wpsc_cart->cart_items; }
public function __construct() { parent::__construct(); $this->columns = array('product' => _x('Product', 'customer account - digital contents - table header', 'wp-e-commerce'), 'contents' => _x('Digital Contents', 'customer account - digital contents - table header', 'wp-e-commerce')); }
public function __construct() { parent::__construct(); $this->columns = array('id' => __('Order Number', 'wpsc'), 'date' => __('Date', 'wpsc'), 'status' => __('Status', 'wpsc'), 'tracking_id' => __('Tracking ID', 'wpsc'), 'total' => __('Total', 'wpsc')); }