obemgcabazn
6/5/2018 - 12:20 PM

$cart_item

print_r($cart_item);

<?php 
Array (
  [product_id] => 437
  [variation_id] => 0
  [variation] => Array()
  [quantity] => 3
  [line_total] => 97.83
  [line_subtotal] => 97.83
  [line_tax] => 0
  [line_subtotal_tax] => 0
  [line_tax_data] => Array(
    [subtotal] => Array()
    [total] => Array()
  )
  [data] => WC_Product_Simple Object
  (
    [object_type:protected] => product
    [post_type:protected] => product
    [cache_group:protected] => products
    [data:protected] => Array(
      [name] => Газовый клапан 610 AC3 0610001
      [slug] => gazovyiy-klapan-610-ac3-0610001
      [date_created] => WC_DateTime Object
      (
        [utc_offset:protected] => 10800
        [date] => 2017-07-03 12:32:44.000000
        [timezone_type] => 1
        [timezone] => +00:00
      )
      [date_modified] => WC_DateTime Object
      (
        [utc_offset:protected] => 10800
        [date] => 2017-07-06 12:19:02.000000
        [timezone_type] => 1
        [timezone] => +00:00
      )
      [status] => publish
      [featured] => 
      [catalog_visibility] => visible
      [description] => 
      [short_description] => 
      [sku] => 0610001
      [price] => 32.61
      [regular_price] => 69.87
      [sale_price] => 32.61
      [date_on_sale_from] => 
      [date_on_sale_to] => 
      [total_sales] => 0
      [tax_status] => taxable
      [tax_class] => 
      [manage_stock] => 
      [stock_quantity] => 
      [stock_status] => instock
      [backorders] => no
      [sold_individually] => 
      [weight] => 
      [length] => 
      [width] => 
      [height] => 
      [upsell_ids] => Array()
      [cross_sell_ids] => Array()
      [parent_id] => 0
      [reviews_allowed] => 
      [purchase_note] => 
      [attributes] => Array()
      [default_attributes] => Array()
      [menu_order] => 0
      [virtual] => 
      [downloadable] => 
      [category_ids] => Array
      (
        [0] => 28
      )
      [tag_ids] => Array()
      [shipping_class_id] => 0
      [downloads] => Array()
      [image_id] => 
      [gallery_image_ids] => Array()
      [download_limit] => -1
      [download_expiry] => -1
      [rating_counts] => Array()
      [average_rating] => 0
      [review_count] => 0
    )
    [supports:protected] => Array(
      [0] => ajax_add_to_cart
    )
    [id:protected] => 437
    [changes:protected] => Array()
    [object_read:protected] => 1
    [extra_data:protected] => Array()
    [default_data:protected] => Array(
      [name] => 
      [slug] => 
      [date_created] => 
      [date_modified] => 
      [status] => 
      [featured] => 
      [catalog_visibility] => visible
      [description] => 
      [short_description] => 
      [sku] => 
      [price] => 
      [regular_price] => 
      [sale_price] => 
      [date_on_sale_from] => 
      [date_on_sale_to] => 
      [total_sales] => 0
      [tax_status] => taxable
      [tax_class] => 
      [manage_stock] => 
      [stock_quantity] => 
      [stock_status] => instock
      [backorders] => no
      [sold_individually] => 
      [weight] => 
      [length] => 
      [width] => 
      [height] => 
      [upsell_ids] => Array()
      [cross_sell_ids] => Array()
      [parent_id] => 0
      [reviews_allowed] => 1
      [purchase_note] => 
      [attributes] => Array()
      [default_attributes] => Array()
      [menu_order] => 0
      [virtual] => 
      [downloadable] => 
      [category_ids] => Array()
      [tag_ids] => Array()
      [shipping_class_id] => 0
      [downloads] => Array()
      [image_id] => 
      [gallery_image_ids] => Array()
      [download_limit] => -1
      [download_expiry] => -1
      [rating_counts] => Array()
      [average_rating] => 0
      [review_count] => 0
    )
    [data_store:protected] => WC_Data_Store Object (
      [instance:WC_Data_Store:private] => WC_Product_Data_Store_CPT Object(
        [internal_meta_keys:protected] => Array(
          [0] => _visibility
          [1] => _sku
          [2] => _price
          [3] => _regular_price
          [4] => _sale_price
          [5] => _sale_price_dates_from
          [6] => _sale_price_dates_to
          [7] => total_sales
          [8] => _tax_status
          [9] => _tax_class
          [10] => _manage_stock
          [11] => _stock
          [12] => _stock_status
          [13] => _backorders
          [14] => _sold_individually
          [15] => _weight
          [16] => _length
          [17] => _width
          [18] => _height
          [19] => _upsell_ids
          [20] => _crosssell_ids
          [21] => _purchase_note
          [22] => _default_attributes
          [23] => _product_attributes
          [24] => _virtual
          [25] => _downloadable
          [26] => _download_limit
          [27] => _download_expiry
          [28] => _featured
          [29] => _downloadable_files
          [30] => _wc_rating_count
          [31] => _wc_average_rating
          [32] => _wc_review_count
          [33] => _variation_description
          [34] => _thumbnail_id
          [35] => _file_paths
          [36] => _product_image_gallery
          [37] => _product_version
          [38] => _wp_old_slug
          [39] => _edit_last
          [40] => _edit_lock
        )
        [extra_data_saved:protected] => 
        [updated_props:protected] => Array()
        [meta_type:protected] => post
        [object_id_field_for_meta:protected] => 
      )
      [stores:WC_Data_Store:private] => Array(
        [coupon] => WC_Coupon_Data_Store_CPT
        [customer] => WC_Customer_Data_Store
        [customer-download] => WC_Customer_Download_Data_Store
        [customer-download-log] => WC_Customer_Download_Log_Data_Store
        [customer-session] => WC_Customer_Data_Store_Session
        [order] => WC_Order_Data_Store_CPT
        [order-refund] => WC_Order_Refund_Data_Store_CPT
        [order-item] => WC_Order_Item_Data_Store
        [order-item-coupon] => WC_Order_Item_Coupon_Data_Store
        [order-item-fee] => WC_Order_Item_Fee_Data_Store
        [order-item-product] => WC_Order_Item_Product_Data_Store
        [order-item-shipping] => WC_Order_Item_Shipping_Data_Store
        [order-item-tax] => WC_Order_Item_Tax_Data_Store
        [payment-token] => WC_Payment_Token_Data_Store
        [product] => WC_Product_Data_Store_CPT
        [product-grouped] => WC_Product_Grouped_Data_Store_CPT
        [product-variable] => WC_Product_Variable_Data_Store_CPT
        [product-variation] => WC_Product_Variation_Data_Store_CPT
        [shipping-zone] => WC_Shipping_Zone_Data_Store
        [webhook] => WC_Webhook_Data_Store
      )
      [current_class_name:WC_Data_Store:private] => WC_Product_Data_Store_CPT
      [object_type:WC_Data_Store:private] => product-simple
    )
    [meta_data:protected] => 
  )
)