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

Widget Integration (Client)

OverviewAppModuleAppServiceB2BModuleB2BServiceBackInStockAPIBackInStockConstantsBackInStockControllerBackInStockModuleBackInStockServiceCartAPICartControllerCartDrawerRecommendationConstantsCartDrawerRecommendationControllerCartDrawerRecommendationLifecycleCartDrawerRecommendationServiceCartModuleCartSelectorsCartServiceCombinedProductListingsAPICombinedProductListingsControllerCombinedProductListingsModuleCombinedProductListingsServiceCountdownTimerAPICountdownTimerControllerCountdownTimerModuleCountdownTimerAPICountdownTimerControllerCustomizationCompatibilityFilterAPIFilterControllerFilterFormatHelperFilterHandlerFilterHelperFilterModuleFilterRenderFilterSearchPageAPIFilterSearchPageControllerFilterSearchPageServiceFilterServiceFilterStorageHelperFilterStoreFilterTranslationServiceFilterUrlHelperFilterValidationHelperInstantSearchAPIInstantSearchControllerInstantSearchModuleInstantSearchSelectorsInstantSearchServicePlatformLoaderPlatformModulePositionServicePredictiveBundleAPIPredictiveBundleConstantsPredictiveBundleControllerPredictiveBundleModelPredictiveBundleModulePredictiveBundleServicePredictiveBundleStateServicePreOrderAPIPreOrderControllerPreOrderModulePreOrderServiceProductAPIProductControllerProductModelProductModuleProductServiceProductSwatchServiceQuickAddToCartControllerQuickViewControllerQuickViewModuleRecentlyViewedProductModuleRecentlyViewedProductServiceRecentSearchServiceRecommendationAnalyticRecommendationAPIBoostAPIRecommendationModelRecommendationModuleRecommendationServiceRecommendationWidgetControllerShopifyPlatformShopifyRouterStickyControllerStickyServiceTemplateAPITemplateModuleTierDiscountAPITierDiscountModelTierDiscountModuleTierDiscountServiceTierDiscountWidgetControllerVolumeBundleAPIVolumeBundleConstantsVolumeBundleControllerVolumeBundleEventServiceVolumeBundleModelVolumeBundleModuleVolumeBundleService
Library Reference›packages›

Home > widget-integration > VolumeBundleService

VolumeBundleService class

Signature:

export declare class VolumeBundleService 

Constructors

Constructor

Modifiers

Description

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

Constructs a new instance of the VolumeBundleService class

Properties

Property

Modifiers

Type

Description

appService

protected

AppService

constants

protected

VolumeBundleConstants

defaultSettings

readonly

Record<string, RecommendationWidget>

platformLoader

protected

PlatformLoader

templateAPI

protected

TemplateAPI

volumeBundleAPI

protected

VolumeBundleAPI

widgets

readonly

Record<string, RecommendationWidget>

Methods

Method

Modifiers

Description

buildCartPayload(bundleData, target)

calculateDiscountedPrice(totalOriginal, discount, currencyRate)

formatPrice(params)

getBundleData(widgetId)

getBundleSessionData(key)

getLocale()

getWidgetSettings(widgetId)

getWidgetTemplate(templateName)

isValidBundle(widgetId)

processVolumeBundleData(bundle, options)

saveBundleSessionData(key, data)

setBundleData(widgetId, data)

updateMultipleBundlePrice(bundleContainer, specificItem)

updateVolumeBundleData(widgetId, data, action, target, position)

← Back to Library Reference

On this page

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