Advertisement
Guest User

Adding Normal Product to Cart

a guest
Aug 25th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.10 KB | None | 0 0
  1. /Users/zlanich/Sites/OutoftheGreyCoffee.com/www/wp-content/themes/custom-coffee-builder/includes/woocommerce.php:277:
  2. array (size=6)
  3.   'addons' =>
  4.     array (size=1)
  5.       0 =>
  6.         array (size=3)
  7.           'name' => string 'Tell Us How to Grind Your 12 oz. Coffee' (length=39)
  8.           'value' => string 'Whole Bean' (length=10)
  9.           'price' => string '' (length=0)
  10.   'product_id' => int 180
  11.   'variation_id' => int 0
  12.   'variation' =>
  13.     array (size=0)
  14.       empty
  15.   'quantity' => int 1
  16.   'data' =>
  17.     object(WC_Product_Simple)[514]
  18.       public 'id' => int 180
  19.       public 'post' =>
  20.         object(WP_Post)[518]
  21.           public 'ID' => int 180
  22.           public 'post_author' => string '2' (length=1)
  23.           public 'post_date' => string '2014-12-03 15:40:20' (length=19)
  24.           public 'post_date_gmt' => string '2014-12-03 15:40:20' (length=19)
  25.           public 'post_content' => string 'Organic Fair Trade/Rain Forest Alliance Certified:
  26.  
  27. Brazil is not only the world’s largest coffee producer, it is also the most complex. It turns out everything from mass produced coffees that rank among the world’s cheapest to elegant coffees prized as the world’s finest origins for espresso brewing. In Brazil, fruit is removed from the bean using four different processing methods, and it is not uncommon for all four methods to be used on the same farm during the same harvest.
  28.  
  29. One thing Brazil c'... (length=6908)
  30.           public 'post_title' => string 'Brazil Daterra Bourbon' (length=22)
  31.           public 'post_excerpt' => string 'Organic Fair Trade/Rain Forest Alliance Certified:
  32.  
  33. Wonderfully balanced body with a nutty smoothness.
  34.  
  35.  ' (length=114)
  36.           public 'post_status' => string 'publish' (length=7)
  37.           public 'comment_status' => string 'open' (length=4)
  38.           public 'ping_status' => string 'closed' (length=6)
  39.           public 'post_password' => string '' (length=0)
  40.           public 'post_name' => string 'brazil-daterra-bourbon' (length=22)
  41.           public 'to_ping' => string '' (length=0)
  42.           public 'pinged' => string '' (length=0)
  43.           public 'post_modified' => string '2015-12-12 04:45:57' (length=19)
  44.           public 'post_modified_gmt' => string '2015-12-12 04:45:57' (length=19)
  45.           public 'post_content_filtered' => string '' (length=0)
  46.           public 'post_parent' => int 0
  47.           public 'guid' => string 'https://outofthegreycoffee.com/product/brazil-daterra-bourbon/' (length=62)
  48.           public 'menu_order' => int 0
  49.           public 'post_type' => string 'product' (length=7)
  50.           public 'post_mime_type' => string '' (length=0)
  51.           public 'comment_count' => string '0' (length=1)
  52.           public 'filter' => string 'raw' (length=3)
  53.       public 'product_type' => string 'simple' (length=6)
  54.       protected 'shipping_class' => string '' (length=0)
  55.       protected 'shipping_class_id' => int 0
  56.       public 'sold_individually' => string 'no' (length=2)
  57.       public 'price' => float 14.75
  58.       public 'manage_stock' => string 'no' (length=2)
  59.       public 'stock_status' => string 'instock' (length=7)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement