Skip to content

Instantly share code, notes, and snippets.

@objectivehtml
Last active December 10, 2015 01:38
Show Gist options
  • Select an option

  • Save objectivehtml/4359972 to your computer and use it in GitHub Desktop.

Select an option

Save objectivehtml/4359972 to your computer and use it in GitHub Desktop.
array(16) {
["items"]=>
array(1) {
[0]=>
array(9) {
["product_id"]=>
string(3) "628"
["row_id"]=>
int(0)
["in_stock"]=>
bool(true)
["item_options"]=>
array(1) {
[0]=>
array(1) {
["small"]=>
string(4) "test"
}
}
["price"]=>
string(2) "12"
["tax"]=>
string(4) "2.40"
["weight"]=>
string(0) ""
["shipping"]=>
string(4) "0.00"
["meta"]=>
array(1) {
[0]=>
array(121) {
["subscription_options"]=>
array(1) {
[0]=>
array(1) {
["allow_modification"]=>
bool(false)
}
}
["subscription"]=>
bool(true)
["entry_id"]=>
string(3) "628"
["site_id"]=>
string(1) "1"
["channel_id"]=>
string(1) "7"
["author_id"]=>
string(1) "1"
["pentry_id"]=>
string(1) "0"
["forum_topic_id"]=>
NULL
["ip_address"]=>
string(9) "127.0.0.1"
["title"]=>
string(4) "Test"
["url_title"]=>
string(4) "test"
["status"]=>
string(4) "open"
["versioning_enabled"]=>
string(1) "y"
["view_count_one"]=>
string(1) "0"
["view_count_two"]=>
string(1) "0"
["view_count_three"]=>
string(1) "0"
["view_count_four"]=>
string(1) "0"
["allow_comments"]=>
string(1) "n"
["sticky"]=>
string(1) "n"
["entry_date"]=>
string(10) "1355677713"
["dst_enabled"]=>
string(1) "n"
["year"]=>
string(4) "2012"
["month"]=>
string(2) "12"
["day"]=>
string(2) "16"
["expiration_date"]=>
string(1) "0"
["comment_expiration_date"]=>
string(1) "0"
["edit_date"]=>
string(14) "20121222165334"
["recent_comment_date"]=>
string(1) "0"
["comment_total"]=>
string(1) "0"
["field_id_41"]=>
string(0) ""
["field_ft_41"]=>
string(4) "none"
["field_id_46"]=>
string(0) ""
["field_ft_46"]=>
string(4) "none"
["field_id_47"]=>
string(0) ""
["field_ft_47"]=>
string(4) "none"
["field_id_48"]=>
string(0) ""
["field_ft_48"]=>
string(4) "none"
["field_id_49"]=>
string(2) "No"
["field_ft_49"]=>
string(4) "none"
["field_id_50"]=>
string(2) "No"
["field_ft_50"]=>
string(4) "none"
["field_id_51"]=>
string(0) ""
["field_ft_51"]=>
string(4) "none"
["field_id_52"]=>
string(0) ""
["field_ft_52"]=>
string(4) "none"
["field_id_56"]=>
string(1) "0"
["field_ft_56"]=>
string(4) "none"
["field_id_57"]=>
string(1) "0"
["field_ft_57"]=>
string(4) "none"
["field_id_58"]=>
string(1) "0"
["field_ft_58"]=>
string(4) "none"
["field_id_59"]=>
string(0) ""
["field_ft_59"]=>
string(4) "none"
["field_id_120"]=>
string(2) "12"
["field_ft_120"]=>
string(4) "none"
["channel_name"]=>
string(8) "products"
["channel_title"]=>
string(16) "Store - Products"
["channel_url"]=>
string(0) ""
["channel_description"]=>
string(0) ""
["channel_lang"]=>
string(2) "en"
["total_entries"]=>
string(1) "1"
["total_comments"]=>
string(1) "0"
["last_entry_date"]=>
string(10) "1355677713"
["last_comment_date"]=>
string(1) "0"
["cat_group"]=>
string(0) ""
["status_group"]=>
string(1) "1"
["deft_status"]=>
string(4) "open"
["search_excerpt"]=>
string(1) "0"
["deft_category"]=>
string(0) ""
["deft_comments"]=>
string(1) "y"
["channel_require_membership"]=>
string(1) "y"
["channel_max_chars"]=>
string(1) "0"
["channel_html_formatting"]=>
string(3) "all"
["channel_allow_img_urls"]=>
string(1) "y"
["channel_auto_link_urls"]=>
string(1) "n"
["channel_notify"]=>
string(1) "n"
["channel_notify_emails"]=>
string(0) ""
["comment_url"]=>
string(0) ""
["comment_system_enabled"]=>
string(1) "y"
["comment_require_membership"]=>
string(1) "n"
["comment_use_captcha"]=>
string(1) "n"
["comment_moderate"]=>
string(1) "n"
["comment_max_chars"]=>
string(1) "0"
["comment_timelock"]=>
string(1) "0"
["comment_require_email"]=>
string(1) "y"
["comment_text_formatting"]=>
string(5) "xhtml"
["comment_html_formatting"]=>
string(4) "safe"
["comment_allow_img_urls"]=>
string(1) "n"
["comment_auto_link_urls"]=>
string(1) "y"
["comment_notify"]=>
string(1) "n"
["comment_notify_authors"]=>
string(1) "n"
["comment_notify_emails"]=>
string(0) ""
["comment_expiration"]=>
string(1) "0"
["search_results_url"]=>
string(0) ""
["ping_return_url"]=>
string(0) ""
["show_button_cluster"]=>
string(1) "y"
["rss_url"]=>
string(0) ""
["enable_versioning"]=>
string(1) "n"
["max_revisions"]=>
string(2) "10"
["default_entry_title"]=>
string(0) ""
["url_title_prefix"]=>
string(0) ""
["live_look_template"]=>
string(1) "0"
["channel"]=>
string(8) "products"
["product_description"]=>
string(0) ""
["product_weight"]=>
string(0) ""
["product_inventory"]=>
string(0) ""
["product_sku"]=>
string(0) ""
["no_tax"]=>
string(2) "No"
["no_shipping"]=>
string(2) "No"
["product_thumbnail"]=>
string(0) ""
["product_detail_image"]=>
string(0) ""
["product_price"]=>
string(2) "12"
["product_related_1"]=>
string(1) "0"
["product_related_2"]=>
string(1) "0"
["product_related_3"]=>
string(1) "0"
["product_download_url"]=>
string(0) ""
["inventory"]=>
string(0) ""
["price"]=>
string(2) "12"
["weight"]=>
string(0) ""
["product_id"]=>
string(3) "628"
["categories"]=>
array(0) {
}
}
}
}
}
["customer_info"]=>
array(1) {
[0]=>
array(64) {
["first_name"]=>
string(0) ""
["last_name"]=>
string(0) ""
["address"]=>
string(0) ""
["address2"]=>
string(0) ""
["city"]=>
string(0) ""
["state"]=>
string(2) "NY"
["zip"]=>
string(5) "10020"
["country"]=>
string(0) ""
["country_code"]=>
string(3) "USA"
["company"]=>
string(0) ""
["phone"]=>
string(0) ""
["email_address"]=>
string(24) "justin@objectivehtml.com"
["ip_address"]=>
string(9) "127.0.0.1"
["description"]=>
string(0) ""
["use_billing_info"]=>
string(0) ""
["shipping_first_name"]=>
string(6) "Justin"
["shipping_last_name"]=>
string(8) "Kimbrell"
["shipping_address"]=>
string(0) ""
["shipping_address2"]=>
string(0) ""
["shipping_city"]=>
string(0) ""
["shipping_state"]=>
string(2) "IN"
["shipping_zip"]=>
string(5) "46060"
["shipping_country"]=>
string(0) ""
["shipping_country_code"]=>
string(3) "USA"
["shipping_company"]=>
string(0) ""
["shipping_region"]=>
string(0) ""
["CVV2"]=>
string(0) ""
["card_type"]=>
string(0) ""
["expiration_month"]=>
string(0) ""
["expiration_year"]=>
string(0) ""
["begin_month"]=>
string(0) ""
["begin_year"]=>
string(0) ""
["bday_month"]=>
string(0) ""
["bday_day"]=>
string(0) ""
["bday_year"]=>
string(0) ""
["currency_code"]=>
string(3) "USD"
["language"]=>
string(0) ""
["shipping_option"]=>
string(0) ""
["weight_unit"]=>
string(0) ""
["region"]=>
string(0) ""
["success_return"]=>
string(0) ""
["cancel_return"]=>
string(0) ""
["gateway"]=>
string(0) ""
["po_number"]=>
string(0) ""
["card_code"]=>
string(0) ""
["issue_number"]=>
string(0) ""
["transaction_type"]=>
string(0) ""
["bank_account_number"]=>
string(0) ""
["bank_account_name"]=>
string(0) ""
["bank_name"]=>
string(0) ""
["check_type"]=>
string(0) ""
["account_type"]=>
string(0) ""
["routing_number"]=>
string(0) ""
["subscription"]=>
string(0) ""
["subscription_name"]=>
string(0) ""
["subscription_total_occurrences"]=>
string(0) ""
["subscription_trial_price"]=>
string(0) ""
["subscription_trial_occurrences"]=>
string(0) ""
["subscription_start_date"]=>
string(0) ""
["subscription_end_date"]=>
string(0) ""
["subscription_interval_length"]=>
string(0) ""
["subscription_interval_units"]=>
string(0) ""
["subscription_allow_modification"]=>
string(0) ""
["subscription_type"]=>
string(0) ""
}
}
["subtotal"]=>
string(5) "36.00"
["total"]=>
string(5) "50.70"
["shipping"]=>
string(4) "7.50"
["tax"]=>
string(4) "7.20"
["discount"]=>
string(4) "0.00"
["item_tax"]=>
float(7.2)
["subtotal_with_tax"]=>
float(43.2)
["shipping_tax"]=>
int(0)
["shipping_plus_tax"]=>
float(7.5)
["discount_tax"]=>
int(0)
["weight"]=>
float(0)
["product_ids"]=>
string(3) "628"
["shippable_subtotal"]=>
string(5) "36.00"
["shippable_weight"]=>
float(0)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment