Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

QuoteSummaryList Container

Displays quote items in a summary list format with accordion support.

Version: 1.0.0-beta5

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 list heading.
FooterSlotPropsNoCustomize item footer.
ThumbnailSlotPropsNoCustomize product thumbnail.
ProductAttributesSlotPropsNoCustomize product attributes display.
QuoteSummaryFooterSlotPropsNoCustomize summary footer.
QuoteItemSlotPropsNoCustomize entire quote item display.
ItemTitleSlotPropsNoCustomize item title.
ItemPriceSlotPropsNoCustomize item price display.
ItemTotalSlotPropsNoCustomize item total display.
ItemSkuSlotPropsNoCustomize SKU display.

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);