You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'description' => esc_html__( 'Database ID for the abandoned cart.', 'cc-woo' ),
358
+
'type' => 'integer',
359
+
'context' => [ 'view' ],
360
+
'readonly' => true,
361
+
],
362
+
'user_id' => [
363
+
'description' => esc_html__( 'WordPress user ID of the user the cart belongs to; defaults to 0 if a guest or non-logged-in user.', 'cc-woo' ),
364
+
'type' => 'integer',
365
+
'context' => [ 'view' ],
366
+
'readonly' => true,
367
+
],
368
+
'user_email' => [
369
+
'description' => esc_html__( 'The billing email the user entered at checkout before abandoning it. Note that this may be different than the email address the user has in their WordPress user profile.', 'cc-woo' ),
370
+
'type' => 'string',
371
+
'context' => [ 'view' ],
372
+
'readonly' => true,
373
+
],
374
+
'cart_contents' => [
375
+
'description' => esc_html__( 'Object representation of the cart that was abandoned, and its contents, coupon codes, and billing data.', 'cc-woo' ),
376
+
'type' => 'object',
377
+
'context' => [ 'view' ],
378
+
'readonly' => true,
379
+
'properties' => [
380
+
'products' => [
381
+
'description' => esc_html__( 'Key-value listing of products in the cart. Keys are unique WooCommerce-generated keys identifying the cart in the database; values are objects representing the items in the cart.', 'cc-woo' ),
382
+
'type' => 'array',
383
+
'context' => [ 'view' ],
384
+
'readonly' => true,
385
+
'properties' => [
386
+
[
387
+
'key' => [
388
+
'description' => esc_html__( 'Unique WooCommerce-generated key identifying the cart in the database. This differs from the parent-level cart_hash property.', 'cc-woo' ),
389
+
'type' => 'string',
390
+
'context' => [ 'view' ],
391
+
'readonly' => true,
392
+
],
393
+
'product_id' => [
394
+
'description' => esc_html__( 'The WooCommerce product ID.', 'cc-woo' ),
395
+
'type' => 'integer',
396
+
'context' => [ 'view' ],
397
+
'readonly' => true,
398
+
],
399
+
'variation_id' => [
400
+
'description' => esc_html__( 'The WooCommerce product variation ID, if applicable.', 'cc-woo' ),
401
+
'type' => 'integer',
402
+
'context' => [ 'view' ],
403
+
'readonly' => true,
404
+
],
405
+
'variation' => [
406
+
'description' => esc_html__( 'Object representation of any applicable variations, where keys are variation names and values are the actual variation selection.', 'cc-woo' ),
0 commit comments