# Shopping cart

> People use the cart to hold, compare and total things up, not only to buy.

Area: Shopping and subscriptions. Evidence behind the answer: Moderate. Last checked November 12, 2026.
Page: https://uxreference.com/shopping/cart

## The answer

Confirm what was added, show the full cost before checkout, and keep the cart between visits.

- **Moderate.** After an item is added, confirm it where people are, name the item and options, and keep the message until they close it. (https://uxreference.com/shopping/cart#rule-1)
- **Moderate.** Show the full cost, or a working estimate of delivery and tax, in the cart before checkout. (https://uxreference.com/shopping/cart#rule-3)
- **Moderate.** Keep the cart between visits, without asking people to save it or sign in. (https://uxreference.com/shopping/cart#rule-5)

## The problem

People use the cart to hold, compare and total up, not only to buy.

## How to decide

None. The rules apply together; no context-dependent choice is described by the sources.

## Every rule

Each rule has a grade: Settled (required by WCAG AA or law, or replicated research), Strong, Moderate, Weak, or Unsettled (use the stated default until the evidence settles).

#### Rule 1. Moderate

After an item is added, confirm it where the person is, show which item and options were added, and keep the confirmation until dismissed.

- Applies when: Adding to the cart.
- Based on: Practitioner research
- Principle: Keep people informed

Why: NN/g and Baymard agree from testing, with no counts. Neither compares overlay, mini cart and in-between page.

Sources: [Cart feedback after adding a product (NN/g)](https://www.nngroup.com/articles/cart-feedback/); [Added-to-cart confirmation design examples (Baymard)](https://www.baymard.com/ecommerce-design-examples/added-to-cart-confirmation)

Link: https://uxreference.com/shopping/cart#rule-1

#### Rule 2. Weak

Show the number of items, and where possible the subtotal, on the cart control on every page.

- Applies when: Site-wide cart indicator.
- Based on: Practitioner research
- Principle: Recognition over recall

Why: One practitioner article.

Sources: [Cart feedback after adding a product (NN/g)](https://www.nngroup.com/articles/cart-feedback/)

Link: https://uxreference.com/shopping/cart#rule-2

#### Rule 3. Moderate

Show the full cost, or a working estimate of delivery and tax, in the cart before checkout begins.

- Applies when: The cart page.
- Based on: Practitioner research
- Principle: Prevent errors

Why: A review of 49 papers links late charges to abandonment. One publisher's surveys give extra costs as the most cited reason for abandoning, with unpublished method. The legal requirement and the experiments are in [Price display](https://uxreference.com/shopping/pricing) (rated 5 and 4 there).

Sources: [Cart Abandonment Rate: 50 Statistics & Why People Abandon (2026)](https://baymard.com/blog/cart-abandonment-rate-statistics); [Cart design examples (Baymard checkout usability benchmark, cart step)](https://baymard.com/checkout-usability/benchmark/step-type/cart); [Electronic shopping cart abandonment: What do we know and where should we be heading?](https://link.springer.com/content/pdf/10.1007/s12525-024-00697-0.pdf); [Price Salience and Product Choice](https://www.nber.org/system/files/working_papers/w25186/w25186.pdf)

Link: https://uxreference.com/shopping/cart#rule-3

#### Rule 4. Moderate

Make quantity easy to change and removal easy, and let quantity zero remove the item.

- Applies when: Editing the cart.
- Based on: Practitioner research
- Principle: Keep people in control

Why: NN/g reports users hunting for a remove link; Baymard says 86% of benchmarked sites make updating or removing hard. For undo after removal see [Confirming vs undoing a destructive action](https://uxreference.com/deleting/confirm-vs-undo).

Sources: [Decision Making in the Ecommerce Shopping Cart: 4 Tips for Supporting Users](https://www.nngroup.com/articles/shopping-cart/); [Cart design examples (Baymard checkout usability benchmark, cart step)](https://baymard.com/checkout-usability/benchmark/step-type/cart)

Link: https://uxreference.com/shopping/cart#rule-4

#### Rule 5. Moderate

Keep the cart between visits without asking people to save it or sign in.

- Applies when: People leave and return.
- Based on: Practitioner research
- Principle: Recognition over recall

Why: NN/g in two articles: shoppers used the cart as a holding area across sessions and avoided saving features they expected to need registration. The review agrees that some abandonment is comparison.

Sources: [Decision Making in the Ecommerce Shopping Cart: 4 Tips for Supporting Users](https://www.nngroup.com/articles/shopping-cart/); [Shopping Cart or Wishlist? Saving Products for Later in Ecommerce](https://www.nngroup.com/articles/wishlist-or-cart/); [Electronic shopping cart abandonment: What do we know and where should we be heading?](https://link.springer.com/content/pdf/10.1007/s12525-024-00697-0.pdf)

Link: https://uxreference.com/shopping/cart#rule-5

#### Rule 6. Weak

Provide a full cart page, not only a small drop-down.

- Applies when: Choosing cart format.
- Based on: Practitioner research
- Principle: Recognition over recall

Why: NN/g says small carts show too little to compare; Baymard says 58% of sites hinder comparison in the cart.

Sources: [Decision Making in the Ecommerce Shopping Cart: 4 Tips for Supporting Users](https://www.nngroup.com/articles/shopping-cart/); [Cart design examples (Baymard checkout usability benchmark, cart step)](https://baymard.com/checkout-usability/benchmark/step-type/cart)

Link: https://uxreference.com/shopping/cart#rule-6

#### Rule 7. Settled

Never add an item to the cart that the person did not choose.

- Applies when: Add-ons and cross-sells, for EU consumers.
- Based on: Standard or law
- Depends on: Which laws apply
- Principle: Keep people in control

Why: EU Consumer Rights Directive article 22 (express consent to extra payments). A crawl of about 11,000 shopping sites found items added without action on 7.

Sources: [Directive 2011/83/EU on consumer rights, Articles 6(1)(e), 6(6), 8(2) and 22 (consolidated 28.05.2022)](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:02011L0083-20220528); [Dark Patterns at Scale: Findings from a Crawl of 11K Shopping Websites](https://arxiv.org/pdf/1907.07032)

Link: https://uxreference.com/shopping/cart#rule-7

#### Rule 8. Unsettled

What to do when price or stock changes while an item is in the cart is unsettled.

Until the evidence settles, use this default: Tell the person on the cart page what changed since they added the item, before checkout.

- Applies when: Carts that persist.
- Based on: Convention
- Principle: Keep people informed

Why: No opened source addresses it.

Sources: [Shopping Cart or Wishlist? Saving Products for Later in Ecommerce](https://www.nngroup.com/articles/wishlist-or-cart/)

Link: https://uxreference.com/shopping/cart#rule-8

## Accessibility requirements

- An add-to-cart confirmation that does not take focus is a status message under WCAG 4.1.3 (AA); see [Success confirmation](https://uxreference.com/feedback/success). (https://www.w3.org/WAI/WCAG22/Understanding/status-messages.html)

## Common mistakes

- A confirmation that fades before it can be read.
- A cart that empties when the browser closes.
- Delivery cost shown only after an address is entered at checkout.
- Dark patterns that work against this entry's rules: [[Drip pricing and hidden costs](https://uxreference.com/dark-patterns/drip-pricing)](../dark-patterns/[Drip pricing and hidden costs](https://uxreference.com/dark-patterns/drip-pricing)), [[Fake scarcity and social proof](https://uxreference.com/dark-patterns/fake-scarcity-social-proof)](../dark-patterns/[Fake scarcity and social proof](https://uxreference.com/dark-patterns/fake-scarcity-social-proof)), [[Pre-selected options](https://uxreference.com/dark-patterns/preselection)](../dark-patterns/[Pre-selected options](https://uxreference.com/dark-patterns/preselection)), [[Sneaking into the cart](https://uxreference.com/dark-patterns/sneak-into-basket)](../dark-patterns/[Sneaking into the cart](https://uxreference.com/dark-patterns/sneak-into-basket)).

## Still open

- Overlay, mini cart or in-between page after adding? Not compared.
- How long should a cart persist, and across devices? Nothing found.
- Price and stock changes in the cart: nothing found.

## Related problems

- [Price display](https://uxreference.com/shopping/pricing): Show the total, with every mandatory fee, wherever a price first appears.
- [Checkout steps](https://uxreference.com/shopping/checkout-steps): Before the order is placed, show what is being bought and the total, with a review where each part can be changed.
- [Guest checkout](https://uxreference.com/shopping/guest-checkout): Always let people buy without an account, and offer one after the purchase.
- [Confirming vs undoing a destructive action](https://uxreference.com/deleting/confirm-vs-undo): Act at once and offer undo. Ask “are you sure?” only when it truly cannot be undone and is rare.
- [Success confirmation](https://uxreference.com/feedback/success): Say what happened and what comes next, where people will notice it.

## Sources

- [Cart feedback after adding a product (NN/g)](https://www.nngroup.com/articles/cart-feedback/). Nielsen Norman Group (Page Laubheimer), 2018, qualitative observations from a round of e-commerce usability testing, with site screenshots.
- [Added-to-cart confirmation design examples (Baymard)](https://www.baymard.com/ecommerce-design-examples/added-to-cart-confirmation). Baymard Institute, n.d., annotated design examples from Baymard's benchmark of 344 sites, citing multiple rounds of usability testing; protocol not described.
- [Cart Abandonment Rate: 50 Statistics & Why People Abandon (2026)](https://baymard.com/blog/cart-abandonment-rate-statistics). Baymard Institute (Richard Lam), 2026, survey of reasons for abandonment, described as Baymard's latest quantitative study; method not on page.
- [Cart design examples (Baymard checkout usability benchmark, cart step)](https://baymard.com/checkout-usability/benchmark/step-type/cart). Baymard Institute, n.d., benchmark of 1,249 annotated cart-page examples from 344 e-commerce sites; scoring protocol not on page.
- [Electronic shopping cart abandonment: What do we know and where should we be heading?](https://link.springer.com/content/pdf/10.1007/s12525-024-00697-0.pdf). Ishani Patharia Chopra, Charles Jebarajakirthy, Tanu Jain, Haroon Iqbal Maseeh (Electronic Markets 34, article 25), 2024, systematic literature review (hybrid, with lexicometric analysis) of 49 peer-reviewed papers, 2003 to March 2023.
- [Price Salience and Product Choice](https://www.nber.org/system/files/working_papers/w25186/w25186.pdf). Thomas Blake, Sarah Moshary, Kane Sweeney, Steven Tadelis (NBER Working Paper 25186), 2018, randomized field experiment on StubHub, a ticket marketplace, randomized by browser cookie; fee-inclusive vs fees shown only after selecting a ticket.
- [Decision Making in the Ecommerce Shopping Cart: 4 Tips for Supporting Users](https://www.nngroup.com/articles/shopping-cart/). Nielsen Norman Group (Amy Schade), 2014, practitioner article from the author's e-commerce research with real purchases; annotated screenshots.
- [Shopping Cart or Wishlist? Saving Products for Later in Ecommerce](https://www.nngroup.com/articles/wishlist-or-cart/). Nielsen Norman Group (Page Laubheimer), 2018, observation drawn from the group's research across 49 e-commerce sites, with usability testing.
- [Directive 2011/83/EU on consumer rights, Articles 6(1)(e), 6(6), 8(2) and 22 (consolidated 28.05.2022)](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:02011L0083-20220528). European Parliament and Council of the EU (EUR-Lex), 2022, binding EU directive, applied through member-state law; jurisdiction European Union.
- [Dark Patterns at Scale: Findings from a Crawl of 11K Shopping Websites](https://arxiv.org/pdf/1907.07032). Arunesh Mathur, Gunes Acar, Michael J. Friedman, Elena Lucherini, Jonathan Mayer, Marshini Chetty, Arvind Narayanan (CSCW 2019; arXiv 1907.07032), 2019, automated crawl of product, cart and checkout pages with text clustering and manual review; timers and stock levels monitored every four hours for five days.

---
From Solved Problems in UX by Athen Pellicci, an evidence-graded reference of web interface problems. CC BY 4.0. https://uxreference.com/
