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

Widget Integration (Client)

OverviewAppModuleAppServiceB2BModuleB2BServiceBackInStockAPIBackInStockConstantsBackInStockControllerBackInStockModuleBackInStockServiceCartAPICartControllerCartDrawerRecommendationConstantsCartDrawerRecommendationControllerCartDrawerRecommendationLifecycleCartDrawerRecommendationServiceCartModuleCartSelectorsCartServiceCombinedProductListingsAPICombinedProductListingsControllerCombinedProductListingsModuleCombinedProductListingsServiceCountdownTimerAPICountdownTimerControllerCountdownTimerModuleCountdownTimerAPICountdownTimerControllerCustomizationCompatibilityFilterAPIFilterControllerFilterFormatHelperFilterHandlerFilterHelperFilterModuleFilterRenderFilterSearchPageAPIFilterSearchPageControllerFilterSearchPageServiceFilterServiceFilterStorageHelperFilterStoreFilterTranslationServiceFilterUrlHelperFilterValidationHelperInstantSearchAPIInstantSearchControllerInstantSearchModuleInstantSearchSelectorsInstantSearchServicePlatformLoaderPlatformModulePositionServicePredictiveBundleAPIPredictiveBundleConstantsPredictiveBundleControllerPredictiveBundleModelPredictiveBundleModulePredictiveBundleServicePredictiveBundleStateServicePreOrderAPIPreOrderControllerPreOrderModulePreOrderServiceProductAPIProductControllerProductModelProductModuleProductServiceProductSwatchServiceQuickAddToCartControllerQuickViewControllerQuickViewModuleRecentlyViewedProductModuleRecentlyViewedProductServiceRecentSearchServiceRecommendationAnalyticRecommendationAPIBoostAPIRecommendationModelRecommendationModuleRecommendationServiceRecommendationWidgetControllerShopifyPlatformShopifyRouterStickyControllerStickyServiceTemplateAPITemplateModuleTierDiscountAPITierDiscountModelTierDiscountModuleTierDiscountServiceTierDiscountWidgetControllerVolumeBundleAPIVolumeBundleConstantsVolumeBundleControllerVolumeBundleEventServiceVolumeBundleModelVolumeBundleModuleVolumeBundleService
Library Reference›packages›

Home > widget-integration > BackInStockService

BackInStockService class

Signature:

export declare class BackInStockService 

Constructors

Constructor

Modifiers

Description

(constructor)(appService, platformLoader, templateAPI, backInStockAPI, constants)

Constructs a new instance of the BackInStockService class

Properties

Property

Modifiers

Type

Description

appService

protected

AppService

backInStockAPI

protected

BackInStockAPI

constants

protected

BackInStockConstants

platformLoader

protected

PlatformLoader

productData

protected

BackInStockProduct | null

templateAPI

protected

TemplateAPI

Methods

Method

Modifiers

Description

checkIfHasSpecificTag(product, tags)

checkIfInSpecificCollection(product, collectionIds)

checkIfVariantOutOfStock(product)

checkIfVariantPreOrder(product)

fetchProductData(productId)

filterVariants(variants, productSettings)

getFirstAvailableVariant()

getProductData()

getProductSettings(settings)

protected

getTemplateSettings()

protected

getVariantById(variantId)

getVariantFromUrl()

initSettingsProvider()

renderBackInStockTemplate(product, filteredVariants)

updateBackInStockDisplay(product, productSettings)

validateEmail(email)

validatePhone(phone)

← Back to Library Reference

On this page

BackInStockService 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.