Skip to content

Instantly share code, notes, and snippets.

@ben1one
Created February 6, 2017 18:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ben1one/367eac79bd11be0c05b0f05c213a402a to your computer and use it in GitHub Desktop.
Save ben1one/367eac79bd11be0c05b0f05c213a402a to your computer and use it in GitHub Desktop.
array(2) {
[23]=>
array(4) {
["name"]=>
string(10) "Product 13"
["type"]=>
string(9) "line_item"
["item_meta"]=>
NULL
["item_meta_array"]=>
array(10) {
[227]=>
object(stdClass)#232 (2) {
["key"]=>
string(4) "_qty"
["value"]=>
string(1) "2"
}
[228]=>
object(stdClass)#233 (2) {
["key"]=>
string(10) "_tax_class"
["value"]=>
string(0) ""
}
[229]=>
object(stdClass)#234 (2) {
["key"]=>
string(11) "_product_id"
["value"]=>
string(3) "213"
}
[230]=>
object(stdClass)#235 (2) {
["key"]=>
string(13) "_variation_id"
["value"]=>
string(1) "0"
}
[231]=>
object(stdClass)#268 (2) {
["key"]=>
string(14) "_line_subtotal"
["value"]=>
string(3) "200"
}
[232]=>
object(stdClass)#265 (2) {
["key"]=>
string(11) "_line_total"
["value"]=>
string(3) "200"
}
[233]=>
object(stdClass)#264 (2) {
["key"]=>
string(18) "_line_subtotal_tax"
["value"]=>
string(1) "0"
}
[234]=>
object(stdClass)#263 (2) {
["key"]=>
string(9) "_line_tax"
["value"]=>
string(1) "0"
}
[235]=>
object(stdClass)#262 (2) {
["key"]=>
string(14) "_line_tax_data"
["value"]=>
string(45) "a:2:{s:5:"total";a:0:{}s:8:"subtotal";a:0:{}}"
}
[236]=>
object(stdClass)#261 (2) {
["key"]=>
string(10) "Offered By"
["value"]=>
string(11) "Shop Test 1"
}
}
}
[24]=>
array(4) {
["name"]=>
string(9) "Product 8"
["type"]=>
string(9) "line_item"
["item_meta"]=>
NULL
["item_meta_array"]=>
array(10) {
[237]=>
object(stdClass)#260 (2) {
["key"]=>
string(4) "_qty"
["value"]=>
string(1) "2"
}
[238]=>
object(stdClass)#259 (2) {
["key"]=>
string(10) "_tax_class"
["value"]=>
string(0) ""
}
[239]=>
object(stdClass)#258 (2) {
["key"]=>
string(11) "_product_id"
["value"]=>
string(2) "65"
}
[240]=>
object(stdClass)#257 (2) {
["key"]=>
string(13) "_variation_id"
["value"]=>
string(1) "0"
}
[241]=>
object(stdClass)#256 (2) {
["key"]=>
string(14) "_line_subtotal"
["value"]=>
string(3) "240"
}
[242]=>
object(stdClass)#255 (2) {
["key"]=>
string(11) "_line_total"
["value"]=>
string(3) "240"
}
[243]=>
object(stdClass)#254 (2) {
["key"]=>
string(18) "_line_subtotal_tax"
["value"]=>
string(1) "0"
}
[244]=>
object(stdClass)#253 (2) {
["key"]=>
string(9) "_line_tax"
["value"]=>
string(1) "0"
}
[245]=>
object(stdClass)#252 (2) {
["key"]=>
string(14) "_line_tax_data"
["value"]=>
string(45) "a:2:{s:5:"total";a:0:{}s:8:"subtotal";a:0:{}}"
}
[246]=>
object(stdClass)#251 (2) {
["key"]=>
string(10) "Offered By"
["value"]=>
string(11) "Shop Test 1"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment