> ## Documentation Index
> Fetch the complete documentation index at: https://help.mathership.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Shopping Cart

> Review selected My Inventory products and quantities before continuing to order review

# Shopping Cart

The shopping cart shows the products you selected in **My Inventory** before you continue to order review.

Use it to check quantities, product information, prices, and totals before Mathership creates or opens the order review.

<CardGroup cols={3}>
  <Card title="Review selected products" icon="cart-shopping">
    See which products have been added from the product table or product lists.
  </Card>

  <Card title="Adjust quantities" icon="plus-minus">
    Increase, decrease, or remove products before continuing.
  </Card>

  <Card title="Continue to review" icon="clipboard-check">
    Move from selected products to the order review and order detail flow.
  </Card>
</CardGroup>

## Cart or basket?

In the active My Inventory ordering flow, the frontend uses a **cart**.

You may still see or hear the older term **basket** in some places, but for the current My Inventory flow, **Shopping Cart** is the clearest name.

<Note>
  This page documents the active **My Inventory shopping cart**. Dedicated multi-order pages are currently placeholders, so multi-order basket behavior is not documented here as a full active workflow.
</Note>

## What the shopping cart is used for

Use the shopping cart when you want to:

* Review products selected for an order
* Check quantities before creating the order review
* Remove products you no longer need
* Check product names and article numbers
* Review packaging information
* Review prices and total where available
* Continue to the order review or order detail page

## Where the cart appears

The shopping cart appears in the **My Inventory** ordering page.

The page has three main areas:

| Area                 | What it does                                                  |
| -------------------- | ------------------------------------------------------------- |
| Product list sidebar | Select product lists and organize frequently ordered products |
| Product table        | Browse products, search, and adjust quantities                |
| Shopping cart panel  | Review selected products before continuing                    |

## Open the shopping cart

<Steps>
  <Step title="Open My Inventory">
    Go to the ordering area and open **My Inventory**.
  </Step>

  <Step title="Add products">
    Use the product table or a product list to add quantities.
  </Step>

  <Step title="Open the cart">
    Click the cart button or cart panel.
  </Step>

  <Step title="Review selected products">
    Check products, quantities, prices, and total before continuing.
  </Step>
</Steps>

## What the cart shows

The cart shows the products currently selected for the order.

Depending on the product data, each item can show:

| Item detail    | Description                            |
| -------------- | -------------------------------------- |
| Product name   | Name of the selected product           |
| Article number | Product or vendor article number       |
| Packaging      | Packaging or order unit information    |
| Quantity       | Quantity selected for the order        |
| Price          | Product price, where available         |
| Total          | Cart total, where prices are available |
| Product image  | Product image, where available         |

If prices are missing for one or more products, the cart can still be used, but totals may be incomplete or unavailable.

## Add products to the cart

Products are added from the product table.

<Steps>
  <Step title="Find a product">
    Search or browse the product table.
  </Step>

  <Step title="Increase quantity">
    Use the quantity controls in the product row.
  </Step>

  <Step title="Check the cart">
    The product appears in the shopping cart with the selected quantity.
  </Step>
</Steps>

You can add products from the full catalog or from a selected product list.

## Adjust quantities

You can adjust quantities from the product table and, where available, directly from the cart.

| Action               | Result                               |
| -------------------- | ------------------------------------ |
| Increase quantity    | Adds more of the product to the cart |
| Decrease quantity    | Reduces the selected quantity        |
| Set quantity to zero | Removes the product from the cart    |
| Remove item          | Removes the product from the cart    |

The product table and cart stay aligned, so the selected quantity is visible in both places.

## Remove products

To remove a product from the cart:

1. Open the cart
2. Find the product
3. Remove it or reduce the quantity to zero
4. Review the updated cart total

Removing a product from the cart does not delete the product from Mathership.

It only removes it from the current order selection.

## Cart total

The cart total is calculated from product quantities and prices.

| Situation                         | What happens                                            |
| --------------------------------- | ------------------------------------------------------- |
| All products have prices          | The cart can show a full total                          |
| Some products have missing prices | The cart may show an incomplete total or omit the total |
| A product quantity changes        | The cart total updates                                  |
| A product is removed              | The cart total updates                                  |

## Product lists and the cart

Product lists help you choose products faster.

The cart collects the quantities you select.

Typical flow:

1. Select a product list
2. Review list products
3. Add quantities from the list
4. Open the cart
5. Continue to order review

Product lists do not create orders by themselves. The cart is where selected products are collected before review.

## Show only selected products

The ordering page can show only selected products.

Use this when you want to quickly verify what has already been added to the cart.

This is useful when:

* You are working through a long product list
* You want to check selected quantities
* You want to avoid scrolling through unselected products
* You want a quick pre-review before opening the cart

## Continue to order review

When the cart is ready, continue to order review.

<Steps>
  <Step title="Open the cart">
    Review selected products and quantities.
  </Step>

  <Step title="Check the total">
    Review the total if prices are available.
  </Step>

  <Step title="Continue to review">
    Click the review action in the cart panel.
  </Step>

  <Step title="Open order detail">
    Mathership creates or opens the order review and takes you to the order detail page.
  </Step>
</Steps>

The order detail page is where you continue with the available order actions.

## What happens after review

After you continue from the cart:

* Mathership creates or opens an order review
* The selected cart items become order items
* Each order item keeps the selected product and quantity
* Product prices are saved with the order items where available
* The order can appear in Order History
* The order detail page opens for review and next actions

## Delivery location, notes, and sending

The shopping cart is mainly for product selection and quantity review.

Delivery location, order message, estimated delivery date, sending, draft handling, and scheduling belong to the order review or order detail workflow where available.

Use the cart to confirm **what** you want to order.

Use the order review or order detail page to confirm the remaining order information.

## Order modes

Depending on the order workflow, an order can later be:

| Mode      | Meaning                                                                |
| --------- | ---------------------------------------------------------------------- |
| Sent now  | The vendor receives the order immediately                              |
| Draft     | The order is saved but not sent yet                                    |
| Scheduled | The order is prepared for later sending, where scheduling is available |

The cart itself is the preparation step before those final order actions.

## Order email and attachments

When an order is eventually sent, Mathership can send the vendor an order email.

The order email can include:

* Customer and vendor information
* Delivery location
* Order message
* Ordered products
* Quantities
* Prices and totals where available

Depending on company settings, order details may also be attached as PDF or CSV.

## Cart and inventory receiving

The cart does not update inventory stock directly.

Inventory changes happen later through receiving and transfer workflows.

Typical flow:

1. Select products in the cart
2. Create or send the order
3. Open the order later
4. Receive or transfer ordered products into inventory
5. Inventory ledger entries are created during receiving

<Note>
  Draft and scheduled orders cannot be received into inventory until they have been sent.
</Note>

## Legacy basket and multi-order

The frontend still contains a legacy basket flow for multi-order, but the dedicated multi-order pages are currently placeholders.

For that reason, this documentation focuses on the active **My Inventory shopping cart**.

| Flow                        | Current documentation status                            |
| --------------------------- | ------------------------------------------------------- |
| My Inventory cart           | Active and documented here                              |
| Legacy basket               | Exists in code but not documented as the main user flow |
| Dedicated multi-order pages | Placeholder / Coming Soon                               |

## Common workflows

### Build an order from the full catalog

1. Open **My Inventory**
2. Search or browse products
3. Add quantities from the product table
4. Open the cart
5. Review selected products
6. Continue to order review

### Build an order from a product list

1. Open **My Inventory**
2. Select a product list
3. Add quantities from the list
4. Use **Show only selected** if needed
5. Open the cart
6. Continue to order review

### Remove an item before review

1. Open the cart
2. Find the product
3. Remove it or reduce quantity to zero
4. Check the updated total
5. Continue only when the cart is correct

### Check selected products quickly

1. Add products from the table
2. Turn on **Show only selected**
3. Review selected rows
4. Open the cart for the final check
5. Continue to order review

## Best practices

<CardGroup cols={2}>
  <Card title="Review before continuing" icon="clipboard-check">
    Check products and quantities before moving to order review.
  </Card>

  <Card title="Use product lists" icon="list">
    Start from recurring lists for faster and more consistent ordering.
  </Card>

  <Card title="Check selected-only view" icon="check">
    Use selected-only view before review when working with long product lists.
  </Card>

  <Card title="Watch missing prices" icon="circle-dollar-sign">
    If some products have no price, totals may be incomplete.
  </Card>

  <Card title="Remove unused items" icon="trash">
    Remove products you no longer need before creating the order review.
  </Card>

  <Card title="Finish in order detail" icon="arrow-up-right-from-square">
    Use the order detail page for delivery information, notes, sending, drafts, or scheduling where available.
  </Card>
</CardGroup>

## Common problems

<AccordionGroup>
  <Accordion title="The cart is empty">
    Check that you are in **My Inventory** and that at least one product has a quantity greater than zero.

    If you are viewing a product list, make sure you added quantities and did not only open the list.
  </Accordion>

  <Accordion title="A product does not appear in the cart">
    Check that the selected quantity is greater than zero.

    Also check whether you are in the correct company and ordering mode.
  </Accordion>

  <Accordion title="The cart total looks incomplete">
    Some products may not have prices.

    The cart can still be reviewed, but totals may be incomplete or unavailable.
  </Accordion>

  <Accordion title="Quantities look different between the table and cart">
    Refresh the page if the table and cart look out of sync.

    Then add the quantities again and review the cart before continuing.
  </Accordion>

  <Accordion title="I cannot continue to order review">
    Check that the cart contains at least one product.

    If the action still fails, refresh the page and try again.
  </Accordion>

  <Accordion title="I expected delivery location or notes in the cart">
    Delivery location, notes, sending, draft handling, and scheduling are handled in the order review or order detail workflow where available.

    The cart is mainly for selected products and quantities.
  </Accordion>

  <Accordion title="Multi-order basket is not available">
    The dedicated multi-order pages are currently placeholders.

    Use **My Inventory** for the active shopping cart workflow.
  </Accordion>
</AccordionGroup>

## Related pages

<CardGroup cols={3}>
  <Card title="Placing Orders" icon="cart-shopping" href="/en/restaurants/ordering/placing-orders">
    Learn how to browse products, use product lists, and create an order.
  </Card>

  <Card title="Product Lists" icon="list" href="/en/restaurants/ordering/product-lists">
    Create and use product lists for faster recurring orders.
  </Card>

  <Card title="Order History" icon="clock-rotate-left" href="/en/restaurants/ordering/order-history">
    Find created orders, open details, filter, export, and archive orders.
  </Card>

  <Card title="Order Drafts and Scheduling" icon="calendar-clock" href="/en/restaurants/ordering/order-drafts-and-scheduling">
    Understand drafts and scheduled orders where available.
  </Card>

  <Card title="Order Attachments" icon="paperclip" href="/en/restaurants/ordering/order-attachments">
    Understand PDF and CSV order information sent or downloaded with orders.
  </Card>

  <Card title="Receiving Orders" icon="boxes-stacked" href="/en/restaurants/inventory/receiving-orders">
    Receive sent orders into inventory after delivery.
  </Card>
</CardGroup>
