order-summary

Order Summary

Order summary card with an item count, product thumbnails with variant and quantity, and a subtotal, shipping, tax and total breakdown.

Parts

PartFileDoes
OrderSummaryOrderSummary.vueShows the order's items with subtotal, discounts, shipping, tax and total.

Styling

All of Order Summary’s styles live in order-summary.json. New to styling in Frontic UI? How styling works →

Install

Built from

API reference

OrderSummary.vue

Shows the order's items with subtotal, discounts, shipping, tax and total.

Props 23

PropTypeDefault
itemsCartLine[][]
currencystring'EUR'
shippingCentsnumber0
shippingNotestring—
discountsAppliedDiscount[][]
taxCentsnumber0
showTaxbooleantrue
showHeaderbooleantrue
showTotalbooleantrue
titlestring'Order Summary'
descriptionstring—
countLabel((count: number) => string)—
quantityLabel((quantity: number) => string)`Qty: ${quantity}`
subtotalLabelstring'Subtotal'
shippingLabelstring'Shipping'
freeShippingLabelstring'Free'
taxLabelstring'Tax'
totalLabelstring'Total'
minusSignstringMINUS_SIGN
totalNotestring—
localestring—
surface'raised' | 'bare''raised'
classClassValue—

Slots 3

SlotSlot props
title—
line{ line: CartLine; }
codes—

Data attributes 1

Data attributeValues
data-surface'raised' | 'bare'

Recipe order-summary-image 1 group

Recipe line-title 1 group

Recipe meta 1 group

Recipe hint 1 group

Recipe total 1 group

Order Summary