Medusa - Cart Module

Cart Module

Cart service for all contexts

Create unique checkout experiences with a Cart Module that fits into any commerce context. Control everything from total calculations to shipping and payment options associated with different carts.

Create unique checkout experiences

The Cart Module gives flexibility to build unique checkout experiences. Control the cart logic, implement in any storefront, and build custom checkout flows around it.

Implement in any store

Handle cart processes and checkout flows for webshops, POS systems, SaaS products, marketplaces, and more.

Control cart calculations

Built-in total calculations that let you apply different tax, discount, and shipping logic based on the cart context.

Build unique checkout experiences

Make your checkout experience stand out. Build a bespoke checkout flow that fits your requirements and brand.

Custom checkout with Workflows.

Use Workflows to add custom actions and interact with other systems during checkout. The Cart Module can be used with Medusa’s modules or standalone with other third-party systems.

Shipping and payment flexibility

Associate carts with regions or sales channels to provide tailored payment and shipping methods to your customers.

Share and recover carts

Carts are persisted and can be shared between customers or retrieved upon a store return.

Multi-purpose Cart Module

Manage draft orders, create custom promotions on line items, and connect with third party systems.

Handling +10,000 requests per second with the Cart Module

VeVe uses Medusa’s Cart Module when launching a book store selling Marvel comics. Learn how they now handle peak traffic of up to 10k requests per second with sub-500ms latency and a near-zero failure rate using the Cart Module.

The Next.js Starter Template

Get started with Next.js 14 and Medusa with the pre-built storefront template. All the latest features, all in open-source.

Recipes

The Cart Module can be used in any type of application that needs commerce logic.

Create a purchasing flow for personalized products
Allow customers to customize and add personal information to their orders for selling personalized products.

Handle POS systems with our cart
Use the Cart Module for any type of storefront. Learn how you can power a POS system using our Cart Module.

Features

Customizable Cart Module for unique checkout experiences

Power checkout experiences across all commerce contexts.

Cart and checkout features

Customize to fit your case

Ready to build your custom commerce setup?

Start now