# Cart
The Cart module provides an interface to the state of the visitor's cart and the cart AJAX API.

## Getting Started

### Initializing the cart state
Before using the cart module, you should initialize it with the current state of the cart, for example from a binding created in Liquid.

_This is done for you automatically if you use SALVO._

**ES6**:
```js
import {cart} from '@eastsideco/escshopify';

cartData = { token: '...', items: [ ... ], ... };
cart.initialize(cartData);
```

