Theme Playground

Commerce

OrderSummary

Read-only order recap with items, totals, fulfillment details, and addresses.

Best for

order review stepsconfirmation pagesreceipt surfaces

Import

import { OrderSummary } from "@enadhq/enad-react-sdk/client/storefront"

When to use it

Use OrderSummary when the page should confirm what was bought and how it will be fulfilled, but not let the customer edit anything inline. It works well for review steps, confirmation pages, and receipt-like surfaces.

If the visitor still needs to change quantity, promo codes, or items, use CartSummary instead.

Composition notes

This component is intentionally read-only. Feed it the final order state: items, totals, shipping details, payment method, and addresses.

Keep the data complete and already formatted at the domain level. The summary should explain the order, not become the place where business logic is reconstructed.

Behavior and theming guidance

Because the component is confirmation-focused, clarity matters more than density. Group related information and keep naming consistent with the rest of checkout.

A receipt or confirmation surface should feel stable and trustworthy, so prefer calm styling and avoid adding extra promotional content inside the summary itself.

Examples

Live examples you can edit directly in the sandbox.

2 examples

Minimal order review

A compact summary for review and confirmation screens where the billing address matches shipping.

Full order summary

Include both addresses and all order metadata when the summary needs to double as a receipt-style confirmation.

Component Sets

Preview the first example across the available component-set presets to compare tone, spacing, and structural defaults.

Props

PropTypeDefaultDescription
itemsCartLineItem[]
Purchased line items to display in the receipt-style summary
subtotalnumber
Merchandise subtotal before shipping and tax
taxnumber
Optional tax amount shown in the totals section
shippingnumber
Optional shipping amount shown in the totals section
totalnumber
Final order total shown at the bottom of the summary
currencystringSEK
ISO 4217 currency code used for all monetary rows in the order summary
localestring
BCP 47 locale string used for price formatting
shippingAddressstring
Shipping destination rendered in the address section
billingAddressstring
Billing destination rendered alongside the shipping address when it differs
shippingMethodNamestring
Customer-facing label for the chosen delivery method
paymentMethodNamestring
Customer-facing label for the chosen payment method
classNamestring
Additional classes applied to the root wrapper around the order summary
labelsstring{}
Override strings for section headings and totals labels