Skip to content

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

QuoteTemplatesListTable Container

The QuoteTemplatesListTable container displays all quote templates in a paginated table with search, filter, and action capabilities.

Version: 1.0.0-beta1

Configuration

The QuoteTemplatesListTable container provides the following configuration options:

ParameterTypeReq?Description
pageSizenumberNoSize of page
showItemRangebooleanNoControls visibility of item range
showPageSizePickerbooleanNoControls visibility of page size picker
showPaginationbooleanNoControls visibility of pagination
onViewQuoteTemplate(templateId: stringNoCallback function triggered when view quote template
templateNamestringYesConfiguration for template name
statusstring) => voidYesCallback function for status
onGenerateQuoteFromTemplate(templateId: stringNoCallback function triggered when generate quote from template
templateNamestringYesConfiguration for template name
quoteIdstring) => voidYesUnique identifier for quote
onPageSizeChange(pageSize: number) => voidNoCallback function triggered when page size change
onPageChange(page: number) => voidNoCallback function triggered when page change
StateSlotProps<{ template: NegotiableQuoteTemplateListEntry }>No***************************************************************** Copyright 2025 Adobe All Rights Reserved. NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. *****************************************************************
StatusSlotProps<{ template: NegotiableQuoteTemplateListEntry }>NoSlot for customizing the status cell content
ValidUntilSlotProps<{ template: NegotiableQuoteTemplateListEntry }>NoSlot for customizing the valid until cell content
MinQuoteTotalSlotProps<{ template: NegotiableQuoteTemplateListEntry }>NoSlot for customizing the min quote total cell content
OrdersPlacedSlotProps<{ template: NegotiableQuoteTemplateListEntry }>NoSlot for customizing the orders placed cell content
LastOrderedSlotProps<{ template: NegotiableQuoteTemplateListEntry }>NoSlot for customizing the last ordered cell content
ActionsSlotProps<{ template: NegotiableQuoteTemplateListEntryNoSlot for customizing the actions cell content
onViewQuoteTemplate(id: stringNoCallback function triggered when view quote template
namestringYesConfiguration for name
statusstring) => voidYesCallback function for status
onGenerateQuoteFromTemplate(id: stringNoCallback function triggered when generate quote from template
namestring) => voidYesCallback function for name
EmptyTemplatesSlotPropsNoSlot for customizing the empty templates message
ItemRangeSlotProps<{ startItem: numberNoConfiguration for item range
endItemnumberYesSlot for customizing the item range display
totalCountnumberYesSlot for customizing the item range display
currentPagenumberYesSlot for customizing the item range display
pageSizenumberNoSize of page
PageSizePickerSlotProps<{ pageSize: numberNoConfiguration for page size picker
pageSizeOptionsnumber[]YesSlot for customizing the page size picker
onPageSizeChange(pageSize: number) => voidNoCallback function triggered when page size change
PaginationSlotProps<{ currentPage: numberNoConfiguration for pagination
totalPagesnumberYesSlot for customizing the pagination
onChange(page: number) => voidNoSlot for customizing the pagination

Slots

This container exposes the following slots for customization:

SlotTypeRequiredDescription
slots\{ Name?: SlotProps&lt;\{ template: NegotiableQuoteTemplateListEntry \}&gt;NoCustom slot for rendering slots

Usage

The following example demonstrates how to use the QuoteTemplatesListTable container:

import { render as provider } from '@dropins/storefront-quote-management/render.js';
import { QuoteTemplatesListTable } from '@dropins/storefront-quote-management/containers/QuoteTemplatesListTable.js';
await provider.render(QuoteTemplatesListTable, {
templateName: "Example Name",
status: () => {},
templateName: "Example Name",
slots: {
// Add custom slot implementations here
}
})(block);