Skip to content

QuoteSummaryList Container

The QuoteSummaryList container displays quote metadata including quote ID, status, dates, buyer information, and shipping details.

Version: 1.0.0

Configuration

The QuoteSummaryList container provides the following configuration options:

ParameterTypeReq?Description
hideHeadingbooleanNoHides the list heading when true.
hideFooterbooleanNoHides item footers when true.
routeProductfunctionNoGenerates product detail URLs. Receives item data as a parameter and returns a URL string. Use to create links to product pages, add query parameters, or integrate with your application’s product routing system.
showMaxItemsbooleanNoShows maximum item count indicator when true.
attributesToHideSwitchableAttributes[]NoSpecifies an array of product attributes to hide from display. Use to customize which product attributes are visible in the quote summary, reducing visual clutter or focusing on specific attribute types.
accordionbooleanNoEnables accordion-style collapsible items when true.
variant'primary' | 'secondary'NoVisual variant (primary or secondary).
showDiscountbooleanNoShows discount information when true.
showSavingsbooleanNoShows savings amount when true.

Slots

This container exposes the following slots for customization:

SlotTypeRequiredDescription
HeadingSlotPropsNoCustomize the heading displaying the item count. Receives the total quantity and quote ID. Use to add custom branding, icons, or additional quote metadata in the header.
FooterSlotPropsNoCustomize the footer section below individual quote items. Receives the item data. Use to add custom actions like add to cart, remove, or item-specific notes for each line item.
ThumbnailSlotPropsNoCustomize the product image display for each item. Receives the item and default image props. Use to add image overlays, badges for discounted items, or custom image loading behavior.
ProductAttributesSlotPropsNoCustomize how product attributes (size, color) are displayed for each item. Receives the item data. Use to add custom formatting, grouping, or additional attribute information.
QuoteSummaryFooterSlotPropsNoCustomize the View More button and footer actions for the entire quote list. Receives the display state. Use to add additional actions like export to PDF or email quote.
QuoteItemSlotPropsNoCustomize the entire quote item row. Receives comprehensive item data and formatting functions. Use for complete control over item rendering, such as custom layouts for mobile versus desktop.
ItemTitleSlotPropsNoCustomize the product title display for each item. Receives the item data. Use to add product badges, custom linking, or additional product information inline with the title.
ItemPriceSlotPropsNoCustomize the unit price display for each item. Receives the item data. Use to add price comparison, original pricing with strikethrough, or custom currency formatting.
ItemTotalSlotPropsNoCustomize the line total display for each item. Receives the item data. Use to add savings calculations, tax breakdowns, or custom total formatting with discounts highlighted.
ItemSkuSlotPropsNoCustomize the SKU display for each item. Receives the item data. Use to add copy-to-clipboard functionality, links to product pages, or custom SKU formatting.

Usage

The following example demonstrates how to use the QuoteSummaryList container:

import { render as provider } from '@dropins/storefront-quote-management/render.js';
import { QuoteSummaryList } from '@dropins/storefront-quote-management/containers/QuoteSummaryList.js';
await provider.render(QuoteSummaryList, {
hideHeading: true,
hideFooter: true,
routeProduct: routeProduct,
slots: {
// Add custom slot implementations here
}
})(block);