function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jennifer BERNARDJennifer BERNARD 

ConnectApi - why is productFields property empty in getCartItems' response ?

Hello everyone,

When I use the getCartItems method (https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_CommerceCart_static_methods.htm#apex_ConnectAPI_CommerceCart_getCartItems_6) (with ProducFields in param) from the CommerceCart, some of the cart items have the products' fields' data set, but other don't, how come ?

Thank you in advance !

VinayVinay (Salesforce Developers) 
Hi Jennifer,

You can reachout to accelerate team who can help your implementation request if you have premier support.

https://help.salesforce.com/s/articleView?id=000387492&type=1

Thanks,