> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> 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`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - 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: Introduction

## Article: About Purchase Flow

## Article Link: https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/introduction.md

## Article Content:

# About Purchase Flow

The purchase flow represents the customer journey from item selection to payment completion in the Wix eCommerce platform. This process transforms browsing customers into buyers by processing [catalog items](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/catalogs/introduction.md) through cart management and checkout processing. Successful completion of the purchase flow creates an [order](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/orders/introduction.md) for post-purchase processing and fulfillment.

[Cart V2](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart-v2/introduction.md) combines cart management and checkout processing into a single Cart entity that covers the entire purchase flow. Use Cart V2 for new development. The previous [Cart](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart/introduction.md) and [Checkout](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/checkout/checkout/introduction.md) APIs continue to work but will be removed on February 1, 2027.

This section covers:

- **[Cart V2](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart-v2/introduction.md)**: Manage a cart through the entire purchase flow, from adding items to placing an order, with no separate checkout step.
- **[Cart](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart/introduction.md)**: Manage customer item selections, quantities, pricing calculations, and cart modifications before continuing to checkout. Replaced by Cart V2.
- **[Checkout](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/checkout/checkout/introduction.md)**: Handle the payment collection phase, including transaction processing, checkout configuration, template management, and abandoned checkout recovery. Replaced by Cart V2.

## Purchase flow patterns

The platform supports 2 fundamental approaches to moving customers through the purchase flow:

+ **Cart-to-checkout flow**: Customers add items to a persistent cart, review and modify selections, then continue to checkout for payment processing. This familiar eCommerce pattern allows customers to browse, compare, and refine their selections before committing to purchase. The cart maintains state across sessions for logged-in users.

+ **Direct checkout flow**: Skip cart management and proceed directly from item selection to checkout. This "buy now" approach reduces friction for single-item purchases, appointment bookings, or scenarios where immediate purchase intent is clear.

Cart V2 supports both patterns without a separate checkout entity: call [Create Cart](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart-v2/create-cart.md) for the cart-to-checkout flow, or call [Create Cart](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart-v2/create-cart.md) followed by [Place Order](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart-v2/place-order.md) for the direct checkout flow.

## Purchase flow customization

The purchase flow provides extensive customization options through service plugins and configuration APIs:

+ **Purchase flow extensions**: Integrate custom logic for additional fees, discounts, shipping rates, tax calculations, and validations through [extensions](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/extensions/introduction.md) that enhance cart and checkout processing.

+ **Checkout behavior**: Configure policies, terms of service agreements, and user interface elements through the [Checkout Settings API](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/checkout/checkout-settings/introduction.md) to align with business requirements and legal compliance.

+ **Pre-configured checkouts**: Create standardized checkout experiences using [Checkout Templates](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/checkout/checkout-templates/introduction.md) with predefined items, pricing, or promotional offers. Templates enable consistent experiences for flash sales, product bundles, or recurring purchase scenarios while working with either flow pattern.

+ **Abandoned checkout recovery**: Implement customer re-engagement strategies using the [Abandoned Checkout API](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/checkout/abandoned-checkout/introduction.md) to recover lost sales from incomplete checkout sessions.

## See also

- [About Catalogs](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/catalogs/introduction.md)
- [About Orders](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/orders/introduction.md)
- [Cart V2 Migration Guide](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/purchase-flow/cart-v2/migration-guide.md)
- [Architecture and Data Flow](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/architecture-data-flow.md)