Boost AI Search & Discovery Logo
  • Docs
  • Library
  • API Reference
Boost Website

Widget Integration (Client)

OverviewAppModuleAppServiceB2BModuleB2BServiceBackInStockAPIBackInStockConstantsBackInStockControllerBackInStockModuleBackInStockServiceCartAPICartControllerCartDrawerRecommendationConstantsCartDrawerRecommendationControllerCartDrawerRecommendationLifecycleCartDrawerRecommendationServiceCartModuleCartSelectorsCartServiceCombinedProductListingsAPICombinedProductListingsControllerCombinedProductListingsModuleCombinedProductListingsServiceCountdownTimerAPICountdownTimerControllerCountdownTimerModuleCountdownTimerAPICountdownTimerControllerCustomizationCompatibilityFilterAPIFilterControllerFilterFormatHelperFilterHandlerFilterHelperFilterModuleFilterRenderFilterSearchPageAPIFilterSearchPageControllerFilterSearchPageServiceFilterServiceFilterStorageHelperFilterStoreFilterTranslationServiceFilterUrlHelperFilterValidationHelperInstantSearchAPIInstantSearchControllerInstantSearchModuleInstantSearchSelectorsInstantSearchServicePlatformLoaderPlatformModulePositionServicePredictiveBundleAPIPredictiveBundleConstantsPredictiveBundleControllerPredictiveBundleModelPredictiveBundleModulePredictiveBundleServicePredictiveBundleStateServicePreOrderAPIPreOrderControllerPreOrderModulePreOrderServiceProductAPIProductControllerProductModelProductModuleProductServiceProductSwatchServiceQuickAddToCartControllerQuickViewControllerQuickViewModuleRecentlyViewedProductModuleRecentlyViewedProductServiceRecentSearchServiceRecommendationAnalyticRecommendationAPIBoostAPIRecommendationModelRecommendationModuleRecommendationServiceRecommendationWidgetControllerShopifyPlatformShopifyRouterStickyControllerStickyServiceTemplateAPITemplateModuleTierDiscountAPITierDiscountModelTierDiscountModuleTierDiscountServiceTierDiscountWidgetControllerVolumeBundleAPIVolumeBundleConstantsVolumeBundleControllerVolumeBundleEventServiceVolumeBundleModelVolumeBundleModuleVolumeBundleService
Library Reference›packages›

Home > widget-integration > PreOrderService

PreOrderService class

Signature:

export declare class PreOrderService 

Constructors

Constructor

Modifiers

Description

(constructor)(appService, platformLoader, templateAPI, preOrderAPI)

Constructs a new instance of the PreOrderService class

Properties

Property

Modifiers

Type

Description

appService

protected

AppService

platformLoader

protected

PlatformLoader

preOrderAPI

protected

PreOrderAPI

productData

protected

PreOrderProductData | null

templateAPI

protected

TemplateAPI

Methods

Method

Modifiers

Description

buildPreOrderCartItem(variant, quantity)

fetchProductData(productId)

formatSellingPlanAllocation(item)

getFinalSellingPrice(item)

getFirstAvailableVariant()

getFirstVariant()

getOriginSellingPrice(item)

getPreOrderButtonText(variant)

getPreOrderNoteText(variant)

getPreOrderTemplate()

getProductData()

getSellingPlanId(variant)

getVariantById(variantId)

getVariantFromUrl()

isPreOrderVariant(variant)

renderPreOrderTemplate(product)

← Back to Library Reference

On this page

PreOrderService classConstructorsPropertiesMethods

TURBO Documentation

  • Getting Started
  • Architecture
  • Templates & Widgets
  • API Reference
  • Event Tracking API

Resources

  • Blog
  • TURBO Install Guide

Support

  • Help Center

Boost Commerce

  • Main Website
  • Status Page
© 2026 Boost Commerce. All rights reserved.