ItemsQuotedTemplate Container
Displays items in a quote template for reuse in future quote requests.
Version: 1.0.0-beta5
Configuration
The ItemsQuotedTemplate container provides the following configuration options:
| Parameter | Type | Req? | Description |
|---|---|---|---|
templateData | NegotiableQuoteTemplateModel | No | Template data object. Auto-populated from drop-in state when omitted. |
Slots
This container exposes the following slots for customization:
| Slot | Type | Required | Description |
|---|---|---|---|
ProductListTable | function | No | Customize the product list display for templates. |
QuotePricesSummary | SlotProps | No | Customize pricing summary for templates. |
Usage
The following example demonstrates how to use the ItemsQuotedTemplate container:
import { render as provider } from '@dropins/storefront-quote-management/render.js';import { ItemsQuotedTemplate } from '@dropins/storefront-quote-management/containers/ItemsQuotedTemplate.js';
await provider.render(ItemsQuotedTemplate, { templateData: templateData, slots: { // Add custom slot implementations here }})(block);