Skip to content

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

ItemsQuoted Container

Displays quoted items with product details, quantities, pricing, and editing controls.

Version: 1.0.0-beta5

Configuration

The ItemsQuoted container provides the following configuration options:

ParameterTypeReq?Description
quoteDataNegotiableQuoteModelNoQuote data object. Auto-populated from drop-in state when omitted.
onItemCheckboxChangefunctionNoCallback when item checkbox is toggled. Use for tracking selections or custom validation.
onItemDropdownChangefunctionNoCallback when item action dropdown changes. Use for custom action handling or analytics.
onUpdatefunctionNoCallback on form submission (quantity/note updates). Use for custom validation or tracking.
onRemoveItemsReffunctionNoProvides access to internal item removal handler. Use for custom removal workflows.
onRemoveModalStateChangefunctionNoCallback when remove confirmation modal opens/closes. Use for tracking or custom modal logic.

Slots

This container exposes the following slots for customization:

SlotTypeRequiredDescription
ProductListTablefunctionNoCustomize the entire product list display. Use for custom columns, filtering, or table layout.
QuotePricesSummarySlotPropsNoCustomize pricing summary section. Use for custom pricing displays or additional summary information.

Usage

The following example demonstrates how to use the ItemsQuoted container:

import { render as provider } from '@dropins/storefront-quote-management/render.js';
import { ItemsQuoted } from '@dropins/storefront-quote-management/containers/ItemsQuoted.js';
await provider.render(ItemsQuoted, {
quoteData: quoteData,
onItemCheckboxChange: onItemCheckboxChange,
onItemDropdownChange: onItemDropdownChange,
slots: {
// Add custom slot implementations here
}
})(block);