Cart details is an object with skus of the items in the cart as keys and details of the items as the value, for example:
As you add more items to the cartItem array, cart details will update with quantity and total amount of that particular item.
Total number of items in the cart
Total price of all products in cart
$0.00Edit this page on GitHub