Skip to content

QuoteHistoryLog Container

The QuoteHistoryLog container shows the complete history of actions, status changes, and updates for a quote throughout its lifecycle.

Version: 1.1.2

The QuoteHistoryLog container provides the following configuration options:

ParameterTypeReq?Description
quoteDataNegotiableQuoteModelNoQuote data object. Auto-populated from drop-in state when omitted.
initialDataobjectNoPreloaded data for the model before backend data is fetched. Use for testing, SSR, or improving initial load.

This container does not expose any customizable slots.

The following example demonstrates how to use the QuoteHistoryLog container:

import { render as provider } from '@dropins/storefront-quote-management/render.js';
import { QuoteHistoryLog } from '@dropins/storefront-quote-management/containers/QuoteHistoryLog.js';
// Omit quoteData to use drop-in state. When passing from parent:
const quoteData = props.quoteData;
await provider.render(QuoteHistoryLog, {
quoteData,
})(block);