Better Quote Modules
Better Quote Modules is a starter project for building custom-coded React modules for HubSpot Commerce Hub quote templates.
It includes a larger set of reusable quote modules, including:
- Quote structure modules for the header, sections, summary, and footer
- Line item tables for standard and enhanced quote layouts
- Pricing and totals modules, including payment details, billing details, billing schedules, and grand totals
- Supporting modules for addresses, timelines, notes, payment plans, and terms acceptance
Requirements
Section titled “Requirements”Minimum HubSpot licence: Commerce Hub Professional
Commerce Hub Professional and Enterprise accounts can create custom modules for quote templates. A Commerce Hub seat is required to create and edit quotes, and quote template permissions are required to configure the templates.
What it includes
Section titled “What it includes”- Typed React modules for quote templates
- HubL data templates for pulling quote and CRM data
- Client-hydrated islands for interactive quote behaviour
- Example patterns for quote-module composition and editor-aware rendering
Included modules
Section titled “Included modules”QuoteHeader— top-of-quote branding and summary headerQuoteSection— reusable content section wrapperQuoteSummary— high-level quote summary and totals blockQuoteFooter— footer content for the rendered quoteSimpleLineItemTable— straightforward line item presentationBetterLineItemTable— richer line item table with grouping and display optionsPaymentDetails— payment-related quote detailsBillingDetails— billing-related quote detailsBillingSchedule— billing schedule display for recurring quotesGrandTotal— totals and contract value summaryAddressBlock— address display module for quote contextTimelineDetails— contract and timeline detailsAdditionalNotes— supporting notes and extra detail contentPaymentPlans— payment plan selection moduleTermsAcceptance— terms selection and acceptance flow
- Custom coded modules cannot be added to a quote through the API; the API can only select templates that already include the modules.
- This starter is intended for Commerce Hub quote templates, not CRM record cards.