ManageNegotiableQuoteTemplate Container
The ManageNegotiableQuoteTemplate container provides the interface for managing quote templates with template-specific actions and details.
Version: 1.0.0-beta5
Configuration
The ManageNegotiableQuoteTemplate container provides the following configuration options:
| Parameter | Type | Req? | Description |
|---|---|---|---|
onActionsButtonClick | function | No | Callback function triggered when actions button click |
onSendForReview | function | No | Callback function triggered when send for review |
Slots
This container exposes the following slots for customization:
| Slot | Type | Required | Description |
|---|---|---|---|
TemplateName | SlotProps | No | |
TemplateStatus | SlotProps | No | |
Banner | SlotProps | No | |
Details | SlotProps | No | |
ActionBar | SlotProps | No | |
ReferenceDocuments | function | No | |
ItemsTable | SlotProps | No | |
ItemsQuotedTab | SlotProps | No | |
CommentsTab | SlotProps | No | |
HistoryLogTab | SlotProps | No | |
CommentsTitle | SlotProps | No | |
Comments | SlotProps | No | |
HistoryLogTitle | SlotProps | No | |
HistoryLog | SlotProps | No | |
Footer | function | No | |
ShippingInformationTitle | SlotProps | No | |
ShippingInformation | function | No |
Usage
The following example demonstrates how to use the ManageNegotiableQuoteTemplate container:
import { render as provider } from '@dropins/storefront-quote-management/render.js';import { ManageNegotiableQuoteTemplate } from '@dropins/storefront-quote-management/containers/ManageNegotiableQuoteTemplate.js';
await provider.render(ManageNegotiableQuoteTemplate, { onActionsButtonClick: onActionsButtonClick, onSendForReview: onSendForReview, slots: { // Add custom slot implementations here }})(block);