Skip to content

Commit 9ba819c

Browse files
committed
CartItem connection field descriptions fixed.
1 parent a80dc9d commit 9ba819c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

includes/connection/class-cart-items.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static function get_connection_config( $args = array() ) {
4242
'connectionFields' => array(
4343
'itemCount' => array(
4444
'type' => 'Int',
45-
'description' => __( 'Review rating', 'wp-graphql-woocommerce' ),
45+
'description' => __( 'Total number of items in the cart.', 'wp-graphql-woocommerce' ),
4646
'resolve' => function( $source ) {
4747
if ( empty( $source['edges'] ) ) {
4848
return 0;
@@ -59,7 +59,7 @@ public static function get_connection_config( $args = array() ) {
5959
),
6060
'productCount' => array(
6161
'type' => 'Int',
62-
'description' => __( 'Review rating', 'wp-graphql-woocommerce' ),
62+
'description' => __( 'Total number of different products in the cart', 'wp-graphql-woocommerce' ),
6363
'resolve' => function( $source ) {
6464
if ( empty( $source['edges'] ) ) {
6565
return 0;

0 commit comments

Comments
 (0)