QuestionQ17

VerifiedPricing

After products are added to the Cart, the developer observes that nothing displays in the cart. The developer uses the browser console’s network tab to troubleshoot the problem.

Which method should the developer find in the responses to start troubleshooting?

Explanation

getCartsItems retrieves the cart items when the cart loads, so its response is the relevant place to diagnose why added products are not rendering. postCartsItems is associated with the Add to Cart action rather than loading the cart display.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!