Get cart details

Find out more about cart in its current state.

To get the information about the current customer's cart use the method Ecwid.Cart.get to pass a cart object to the callback.

Get cart details:

Ecwid.Cart.get(function(cart){
  console.log(cart);
});

The callback contains 3 objects: