Skip to content

Instantly share code, notes, and snippets.

@jessepearson
Created November 6, 2015 16:37
Show Gist options
  • Select an option

  • Save jessepearson/fe0f06a13adcf60c6eb0 to your computer and use it in GitHub Desktop.

Select an option

Save jessepearson/fe0f06a13adcf60c6eb0 to your computer and use it in GitHub Desktop.
[06-Nov-2015 15:03:43 UTC] $possible_packages:
[06-Nov-2015 15:03:43 UTC] Array
(
[0] => stdClass Object
(
[id] =>
[packed] => Array
(
[0] => WC_Boxpack_Item Object
(
[weight] => 7.00
[height] => 2.50
[width] => 13.00
[length] => 27.00
[volume] => 877.5
[value] => 109
[meta] => Array
(
)
)
)
[unpacked] => Array
(
[0] => WC_Boxpack_Item Object
(
[weight] => 11.00
[height] => 4.00
[width] => 15.00
[length] => 15.00
[volume] => 900
[value] => 20.0000
[meta] => Array
(
)
)
)
[weight] => 10
[volume] => 877.5
[length] => 27
[width] => 14
[height] => 13
[value] => 109
[percent] => 19.1983122363
)
[1] => stdClass Object
(
[id] =>
[packed] => Array
(
[0] => WC_Boxpack_Item Object
(
[weight] => 7.00
[height] => 2.50
[width] => 13.00
[length] => 27.00
[volume] => 877.5
[value] => 109
[meta] => Array
(
)
)
)
[unpacked] => Array
(
[0] => WC_Boxpack_Item Object
(
[weight] => 11.00
[height] => 4.00
[width] => 15.00
[length] => 15.00
[volume] => 900
[value] => 20.0000
[meta] => Array
(
)
)
)
[weight] => 8
[volume] => 877.5
[length] => 27
[width] => 13
[height] => 4
[value] => 109
[percent] => 19.1983122363
)
[2] => stdClass Object
(
[id] =>
[packed] => Array
(
)
[unpacked] => Array
(
[0] => WC_Boxpack_Item Object
(
[weight] => 11.00
[height] => 4.00
[width] => 15.00
[length] => 15.00
[volume] => 900
[value] => 20.0000
[meta] => Array
(
)
)
[1] => WC_Boxpack_Item Object
(
[weight] => 7.00
[height] => 2.50
[width] => 13.00
[length] => 27.00
[volume] => 877.5
[value] => 109
[meta] => Array
(
)
)
)
[weight] => 1
[volume] => 0
[length] => 4
[width] => 4
[height] => 4
[value] => 0
[percent] => 0
)
[3] => stdClass Object
(
[id] =>
[packed] => Array
(
)
[unpacked] => Array
(
[0] => WC_Boxpack_Item Object
(
[weight] => 11.00
[height] => 4.00
[width] => 15.00
[length] => 15.00
[volume] => 900
[value] => 20.0000
[meta] => Array
(
)
)
[1] => WC_Boxpack_Item Object
(
[weight] => 7.00
[height] => 2.50
[width] => 13.00
[length] => 27.00
[volume] => 877.5
[value] => 109
[meta] => Array
(
)
)
)
[weight] => 1
[volume] => 0
[length] => 2
[width] => 2
[height] => 2
[value] => 0
[percent] => 0
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment