Advertisement
Guest User

Var_dump shipping rates

a guest
Nov 10th, 2015
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. array (size=6)
  2. 'flat_rate' =>
  3. object(WC_Shipping_Rate)[42]
  4. public 'id' => string 'flat_rate' (length=9)
  5. public 'label' => string 'Flat Rate' (length=9)
  6. public 'cost' => string '5' (length=1)
  7. public 'taxes' =>
  8. array (size=0)
  9. empty
  10. public 'method_id' => string 'flat_rate' (length=9)
  11. 'usps:flat_rate_box_priority' =>
  12. object(WC_Shipping_Rate)[51]
  13. public 'id' => string 'usps:flat_rate_box_priority' (length=27)
  14. public 'label' => string 'Priority Mail Flat Rate®' (length=30)
  15. public 'cost' => float 5.3025
  16. public 'taxes' =>
  17. array (size=0)
  18. empty
  19. public 'method_id' => string 'usps' (length=4)
  20. 'usps:flat_rate_box_express' =>
  21. object(WC_Shipping_Rate)[57]
  22. public 'id' => string 'usps:flat_rate_box_express' (length=26)
  23. public 'label' => string 'Priority Mail Express Flat Rate®' (length=38)
  24. public 'cost' => float 19.0155
  25. public 'taxes' =>
  26. array (size=0)
  27. empty
  28. public 'method_id' => string 'usps' (length=4)
  29. 'usps:D_LIBRARY_MAIL' =>
  30. object(WC_Shipping_Rate)[59]
  31. public 'id' => string 'usps:D_LIBRARY_MAIL' (length=19)
  32. public 'label' => string 'Library Mail' (length=12)
  33. public 'cost' => float 2.59
  34. public 'taxes' =>
  35. array (size=0)
  36. empty
  37. public 'method_id' => string 'usps' (length=4)
  38. 'usps:D_MEDIA_MAIL' =>
  39. object(WC_Shipping_Rate)[88]
  40. public 'id' => string 'usps:D_MEDIA_MAIL' (length=17)
  41. public 'label' => string 'Media Mail' (length=10)
  42. public 'cost' => float 2.72
  43. public 'taxes' =>
  44. array (size=0)
  45. empty
  46. public 'method_id' => string 'usps' (length=4)
  47. 'table_rate-2 : 2' =>
  48. object(WC_Shipping_Rate)[52]
  49. public 'id' => string 'table_rate-2 : 2' (length=16)
  50. public 'label' => string 'bacon rate' (length=10)
  51. public 'cost' => float 2.9
  52. public 'taxes' =>
  53. array (size=0)
  54. empty
  55. public 'method_id' => string 'table_rate' (length=10)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement