Skip to content

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

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:

ParameterTypeReq?Description
onActionsButtonClickfunctionNoCallback function triggered when actions button click
onSendForReviewfunctionNoCallback function triggered when send for review

Slots

This container exposes the following slots for customization:

SlotTypeRequiredDescription
TemplateNameSlotPropsNo
TemplateStatusSlotPropsNo
BannerSlotPropsNo
DetailsSlotPropsNo
ActionBarSlotPropsNo
ReferenceDocumentsfunctionNo
ItemsTableSlotPropsNo
ItemsQuotedTabSlotPropsNo
CommentsTabSlotPropsNo
HistoryLogTabSlotPropsNo
CommentsTitleSlotPropsNo
CommentsSlotPropsNo
HistoryLogTitleSlotPropsNo
HistoryLogSlotPropsNo
FooterfunctionNo
ShippingInformationTitleSlotPropsNo
ShippingInformationfunctionNo

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);