# Cart Splitter

> Show the cart as one section per seller and let shoppers choose delivery per seller, while every cart stays one order with one payment.

Sell from several suppliers, brands or warehouses and show shoppers exactly who sends what: the cart splits into one
section per seller, each with its own subtotal and its own delivery choice, and the whole purchase still checks out as
one Magento order with one payment.

**Latest version:** 1.0.0 — [changelog](https://docs.qoliber.com/docs/extensions/checkout/cart-splitter/changelog)

![A cart with three seller sections — Acme, Beta and Gamma — each with its items and a seller subtotal](https://docs.qoliber.com/images/extensions/cart-splitter/frontend-cart-grouping.png)

## Who it's for

- Stores that sell products from several sellers, brands or drop-shippers and track the seller in a product attribute
  (a dropdown such as `manufacturer` or a single-line text attribute).
- Merchants whose sellers ship separately and charge their own delivery, but who want one checkout and one payment.
- Teams running Luma, the Hyvä theme or Hyvä Checkout, and headless storefronts on REST or GraphQL.

## Why it matters

- Fewer "why is this delivery so expensive?" questions: shoppers see which seller ships which items and what each
  delivery costs before they pay.
- One payment and one order to fulfil, refund and report on: no split orders, no extra payment fees.
- Free-delivery thresholds per seller nudge shoppers to add one more item from the seller they are already buying
  from.
- Fulfilment stays native: staff ship each seller's items as an ordinary partial shipment.

## See it in action

- **You set** *Seller attribute* to `manufacturer` and switch grouping on for the website → **you get** a cart with a
  section per manufacturer, each with its items and subtotal; products without a manufacturer appear last under
  **Other items**.
- **You enable** delivery per seller and limit Acme to flat rate and free shipping in a seller rule → **you get** a
  checkout where the shopper chooses Acme's delivery from those two options and another seller's from its own, and
  the order carries one shipping amount that is the sum of both.
- **You set** a free-delivery threshold of 50 for a seller → **you get** "Spend $20.00 more for free delivery from
  Gamma." under that seller in the cart while its subtotal is 30, and "Free delivery from Gamma unlocked." once it
  passes 50.

![Checkout shipping step with one list of delivery options per seller](https://docs.qoliber.com/images/extensions/cart-splitter/checkout-delivery-per-seller.png)

## What you can do

| Feature | Benefit |
|---|---|
| [Cart grouped by seller](https://docs.qoliber.com/docs/extensions/checkout/cart-splitter/usage/cart-grouping) | Shoppers see who sends each item and what each seller's items cost, on the cart page and in the minicart. |
| [Delivery per seller at checkout](https://docs.qoliber.com/docs/extensions/checkout/cart-splitter/usage/delivery-per-seller) | Shoppers pick a delivery method for each seller in one checkout; you still get one order and one payment. |
| [Seller shipping rules](https://docs.qoliber.com/docs/extensions/checkout/cart-splitter/usage/seller-shipping-rules) | Decide which carriers may deliver each seller's items and from which amount a seller delivers for free. |
| [Free-delivery progress per seller](https://docs.qoliber.com/docs/extensions/checkout/cart-splitter/usage/free-delivery-progress) | Show how much more to spend with a seller to unlock its free delivery. |
| [Orders and shipping by seller](https://docs.qoliber.com/docs/extensions/checkout/cart-splitter/usage/orders) | Staff see each seller's items, delivery and fee on the order and ship one seller at a time with Magento's own shipments. |
| [REST and GraphQL](https://docs.qoliber.com/docs/extensions/checkout/cart-splitter/api) | Headless storefronts and integrations read the grouped cart and orders and run the whole per-seller checkout. |

![Seller shipping rule form: website, seller, allowed carriers and the free-delivery field](https://docs.qoliber.com/images/extensions/cart-splitter/admin-shipping-rule-form.png)

![Free-delivery progress under a seller on the cart page](https://docs.qoliber.com/images/extensions/cart-splitter/cart-free-delivery-progress.png)

![The admin order's "Shipping by seller" section with "Ship this group"](https://docs.qoliber.com/images/extensions/cart-splitter/admin-order-shipping-by-seller.png)

## Competing solutions

The right-hand column describes common market practice, not any particular vendor.

| | Qoliber | Typical marketplace extension |
|---|---|---|
| Packagist installation | Installed and updated with Composer from our private Packagist (`qoliber.repo.packagist.com`) | Varies by vendor |
| Slack access to the development team | A shared Slack channel with the developers who build and maintain the module | Usually ticket-based |
| Unit tests | 139 PHPUnit unit tests (64 classes) in the repository | Not typically published |
| Integration tests | 221 Magento integration tests (81 classes), run before every release | Not typically published |
| E2E Playwright tests | 96 Playwright end-to-end tests (47 spec files) on Luma and Hyvä, run before every release | Not typically published |
| Documentation | Full docs portal: install, configuration, usage, troubleshooting, developer guide, API reference, module pages | Varies by vendor |
| Hyvä support | Hyvä theme cart, cart drawer and order pages; Hyvä Checkout delivery per seller | Varies by vendor |
| PHP / Magento range | PHP 8.1 – 8.5; Magento Open Source 2.4.6 – 2.4.9 and Mage-OS 4 | Varies by vendor |

- **Hyvä-native:** companion modules for the Hyvä theme (cart page, cart drawer, My Account orders) and for Hyvä
  Checkout (delivery per seller on the shipping step).
- **API-first:** REST routes and GraphQL fields for the grouped cart, orders, per-seller delivery and seller rules.
- **Runs in your store:** grouping and delivery prices come from your own catalogue and carriers; no external
  service is called.

Also available in: Polish.

## Good to know

- It never creates separate orders, invoices or payments per seller, and there is no per-seller refund: invoices and
  credit memos cover the whole order's shipping.
- Checkout with multiple addresses (multishipping) is not offered on websites where grouping is on, because a grouped
  cart is always one order.
- Delivery per seller works on the Luma checkout and Hyvä Checkout (with its companion package), not on third-party
  one-step checkouts; admin order creation, in-store pickup and express-checkout shortcuts stay native.
- Carriers that read the whole quote instead of the rate request cannot price per seller.

Supported: PHP 8.1 – 8.5, Magento Open Source 2.4.6 – 2.4.9 and Mage-OS 4.0; Hyvä theme 1.5.3 or newer; Hyvä
Checkout 3.0.2 or newer (PHP 8.2 or newer).

[Install Cart Splitter](https://docs.qoliber.com/docs/extensions/checkout/cart-splitter/install) · [Configure it](https://docs.qoliber.com/docs/extensions/checkout/cart-splitter/configuration)
