> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Cart ## Article: Introduction ## Article Link: https://dev.wix.com/docs/velo/apis/wix-ecom-backend/cart/introduction.md ## Article Content: --- title: Introduction --- # Introduction > **Note:** This module is > [universal](/api-overview/api-versions#universal-modules). > Functions in this module can run on both the backend and frontend. The eCommerce Cart API provides functionality for creating and managing carts, as well as for [creating a checkout](https://dev.wix.com/docs/velo/api-reference/wix-ecom-backend/cart/create-checkout.md) based on an existing cart. The cart is the first phase of an eCommerce purchase flow, followed by checkout, then order. A cart holds information about items for purchase, prices, discounts, site details, and more. A cart can be created either by using the [createCart()](https://dev.wix.com/docs/velo/api-reference/wix-ecom-backend/cart/create-cart.md) function, or by [adding an item to the cart](https://dev.wix.com/docs/velo/api-reference/wix-ecom-backend/cart/add-to-cart.md). Estimate the cart's totals (including shipping costs) using the [estimateTotals()](https://dev.wix.com/docs/velo/api-reference/wix-ecom-backend/cart/estimate-totals.md) function. ## Before you begin To assist in moving from the [Stores Cart API](https://www.wix.com/velo/reference/wix-stores/cart) to the eCommerce Cart API, refer to the [Cart Conversion Table](https://dev.wix.com/docs/velo/api-reference/wix-ecom-backend/cart/stores-to-e-commerce-cart-conversion-table.md). To use the Wix eCommerce Cart API, import `{ cart }` from the `wix-ecom-backend` module: ```javascript import { cart } from 'wix-ecom-backend'; ```