retesere20

---woo-product-example-data

Dec 31st, 2018
117
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. WC_Product_Simple Object
  2. (
  3. [object_type:protected] => product
  4. [post_type:protected] => product
  5. [cache_group:protected] => products
  6. [data:protected] => Array
  7. (
  8. [name] => Product title
  9. [slug] => product-title
  10. [date_created] => WC_DateTime Object
  11. (
  12. [utc_offset:protected] => 0
  13. [date] => 2018-12-31 18:20:19.000000
  14. [timezone_type] => 1
  15. [timezone] => +00:00
  16. )
  17.  
  18. [date_modified] => WC_DateTime Object
  19. (
  20. [utc_offset:protected] => 0
  21. [date] => 2018-12-31 18:31:56.000000
  22. [timezone_type] => 1
  23. [timezone] => +00:00
  24. )
  25.  
  26. [status] => publish
  27. [featured] =>
  28. [catalog_visibility] => visible
  29. [description] => - - -sdasdas da as a d- - -sdasdas da as a d- - -sdasdas da as a d- - -sdasdas da as a d- - -sdasdas da as a d- - -sdasdas da as a d- - -sdasdas da as a d- - -sdasdas da as a d- - -sdasdas da as a d- - -sdasdas da as a d- - -sdasdas da as a d- - -sdasdas da as a d
  30. [short_description] =>
  31. [sku] =>
  32. [price] => 42
  33. [regular_price] => 42
  34. [sale_price] =>
  35. [date_on_sale_from] =>
  36. [date_on_sale_to] =>
  37. [total_sales] => 0
  38. [tax_status] => taxable
  39. [tax_class] =>
  40. [manage_stock] =>
  41. [stock_quantity] =>
  42. [stock_status] => instock
  43. [backorders] => no
  44. [low_stock_amount] =>
  45. [sold_individually] =>
  46. [weight] =>
  47. [length] =>
  48. [width] =>
  49. [height] =>
  50. [upsell_ids] => Array
  51. (
  52. )
  53.  
  54. [cross_sell_ids] => Array
  55. (
  56. )
  57.  
  58. [parent_id] => 0
  59. [reviews_allowed] => 1
  60. [purchase_note] =>
  61. [attributes] => Array
  62. (
  63. )
  64.  
  65. [default_attributes] => Array
  66. (
  67. )
  68.  
  69. [menu_order] => 0
  70. [virtual] => 1
  71. [downloadable] => 1
  72. [category_ids] => Array
  73. (
  74. [0] => 16
  75. )
  76.  
  77. [tag_ids] => Array
  78. (
  79. )
  80.  
  81. [shipping_class_id] => 0
  82. [downloads] => Array
  83. (
  84. )
  85.  
  86. [image_id] => 252
  87. [gallery_image_ids] => Array
  88. (
  89. )
  90.  
  91. [download_limit] => -1
  92. [download_expiry] => -1
  93. [rating_counts] => Array
  94. (
  95. )
  96.  
  97. [average_rating] => 0
  98. [review_count] => 0
  99. )
  100.  
  101. [supports:protected] => Array
  102. (
  103. [0] => ajax_add_to_cart
  104. )
  105.  
  106. [id:protected] => 251
  107. [changes:protected] => Array
  108. (
  109. )
  110.  
  111. [object_read:protected] => 1
  112. [extra_data:protected] => Array
  113. (
  114. )
  115.  
  116. [default_data:protected] => Array
  117. (
  118. [name] =>
  119. [slug] =>
  120. [date_created] =>
  121. [date_modified] =>
  122. [status] =>
  123. [featured] =>
  124. [catalog_visibility] => visible
  125. [description] =>
  126. [short_description] =>
  127. [sku] =>
  128. [price] =>
  129. [regular_price] =>
  130. [sale_price] =>
  131. [date_on_sale_from] =>
  132. [date_on_sale_to] =>
  133. [total_sales] => 0
  134. [tax_status] => taxable
  135. [tax_class] =>
  136. [manage_stock] =>
  137. [stock_quantity] =>
  138. [stock_status] => instock
  139. [backorders] => no
  140. [low_stock_amount] =>
  141. [sold_individually] =>
  142. [weight] =>
  143. [length] =>
  144. [width] =>
  145. [height] =>
  146. [upsell_ids] => Array
  147. (
  148. )
  149.  
  150. [cross_sell_ids] => Array
  151. (
  152. )
  153.  
  154. [parent_id] => 0
  155. [reviews_allowed] => 1
  156. [purchase_note] =>
  157. [attributes] => Array
  158. (
  159. )
  160.  
  161. [default_attributes] => Array
  162. (
  163. )
  164.  
  165. [menu_order] => 0
  166. [virtual] =>
  167. [downloadable] =>
  168. [category_ids] => Array
  169. (
  170. )
  171.  
  172. [tag_ids] => Array
  173. (
  174. )
  175.  
  176. [shipping_class_id] => 0
  177. [downloads] => Array
  178. (
  179. )
  180.  
  181. [image_id] =>
  182. [gallery_image_ids] => Array
  183. (
  184. )
  185.  
  186. [download_limit] => -1
  187. [download_expiry] => -1
  188. [rating_counts] => Array
  189. (
  190. )
  191.  
  192. [average_rating] => 0
  193. [review_count] => 0
  194. )
  195.  
  196. [data_store:protected] => WC_Data_Store Object
  197. (
  198. [instance:WC_Data_Store:private] => WC_Product_Data_Store_CPT Object
  199. (
  200. [internal_meta_keys:protected] => Array
  201. (
  202. [0] => _visibility
  203. [1] => _sku
  204. [2] => _price
  205. [3] => _regular_price
  206. [4] => _sale_price
  207. [5] => _sale_price_dates_from
  208. [6] => _sale_price_dates_to
  209. [7] => total_sales
  210. [8] => _tax_status
  211. [9] => _tax_class
  212. [10] => _manage_stock
  213. [11] => _stock
  214. [12] => _stock_status
  215. [13] => _backorders
  216. [14] => _low_stock_amount
  217. [15] => _sold_individually
  218. [16] => _weight
  219. [17] => _length
  220. [18] => _width
  221. [19] => _height
  222. [20] => _upsell_ids
  223. [21] => _crosssell_ids
  224. [22] => _purchase_note
  225. [23] => _default_attributes
  226. [24] => _product_attributes
  227. [25] => _virtual
  228. [26] => _downloadable
  229. [27] => _download_limit
  230. [28] => _download_expiry
  231. [29] => _featured
  232. [30] => _downloadable_files
  233. [31] => _wc_rating_count
  234. [32] => _wc_average_rating
  235. [33] => _wc_review_count
  236. [34] => _variation_description
  237. [35] => _thumbnail_id
  238. [36] => _file_paths
  239. [37] => _product_image_gallery
  240. [38] => _product_version
  241. [39] => _wp_old_slug
  242. [40] => _edit_last
  243. [41] => _edit_lock
  244. )
  245.  
  246. [extra_data_saved:protected] =>
  247. [updated_props:protected] => Array
  248. (
  249. )
  250.  
  251. [meta_type:protected] => post
  252. [object_id_field_for_meta:protected] =>
  253. )
  254.  
  255. [stores:WC_Data_Store:private] => Array
  256. (
  257. [coupon] => WC_Coupon_Data_Store_CPT
  258. [customer] => WC_Customer_Data_Store
  259. [customer-download] => WC_Customer_Download_Data_Store
  260. [customer-download-log] => WC_Customer_Download_Log_Data_Store
  261. [customer-session] => WC_Customer_Data_Store_Session
  262. [order] => WC_Order_Data_Store_CPT
  263. [order-refund] => WC_Order_Refund_Data_Store_CPT
  264. [order-item] => WC_Order_Item_Data_Store
  265. [order-item-coupon] => WC_Order_Item_Coupon_Data_Store
  266. [order-item-fee] => WC_Order_Item_Fee_Data_Store
  267. [order-item-product] => WC_Order_Item_Product_Data_Store
  268. [order-item-shipping] => WC_Order_Item_Shipping_Data_Store
  269. [order-item-tax] => WC_Order_Item_Tax_Data_Store
  270. [payment-token] => WC_Payment_Token_Data_Store
  271. [product] => WC_Product_Data_Store_CPT
  272. [product-grouped] => WC_Product_Grouped_Data_Store_CPT
  273. [product-variable] => WC_Product_Variable_Data_Store_CPT
  274. [product-variation] => WC_Product_Variation_Data_Store_CPT
  275. [shipping-zone] => WC_Shipping_Zone_Data_Store
  276. [webhook] => WC_Webhook_Data_Store
  277. )
  278.  
  279. [current_class_name:WC_Data_Store:private] => WC_Product_Data_Store_CPT
  280. [object_type:WC_Data_Store:private] => product-simple
  281. )
  282.  
  283. [meta_data:protected] =>
  284. )
RAW Paste Data