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

Widget Integration (Client)

OverviewAppModuleAppServiceB2BModuleB2BServiceBackInStockAPIBackInStockConstantsBackInStockControllerBackInStockModuleBackInStockServiceCartAPICartControllerCartDrawerRecommendationConstantsCartDrawerRecommendationControllerCartDrawerRecommendationLifecycleCartDrawerRecommendationServiceCartModuleCartSelectorsCartServiceCombinedProductListingsAPICombinedProductListingsControllerCombinedProductListingsModuleCombinedProductListingsServiceCountdownTimerAPICountdownTimerControllerCountdownTimerModuleCountdownTimerAPICountdownTimerControllerCustomizationCompatibilityFilterAPIFilterControllerFilterFormatHelperFilterHandlerFilterHelperFilterModuleFilterRenderFilterSearchPageAPIFilterSearchPageControllerFilterSearchPageServiceFilterServiceFilterStorageHelperFilterStoreFilterTranslationServiceFilterUrlHelperFilterValidationHelperInstantSearchAPIInstantSearchControllerInstantSearchModuleInstantSearchSelectorsInstantSearchServicePlatformLoaderPlatformModulePositionServicePredictiveBundleAPIPredictiveBundleConstantsPredictiveBundleControllerPredictiveBundleModelPredictiveBundleModulePredictiveBundleServicePredictiveBundleStateServicePreOrderAPIPreOrderControllerPreOrderModulePreOrderServiceProductAPIProductControllerProductModelProductModuleProductServiceProductSwatchServiceQuickAddToCartControllerQuickViewControllerQuickViewModuleRecentlyViewedProductModuleRecentlyViewedProductServiceRecentSearchServiceRecommendationAnalyticRecommendationAPIBoostAPIRecommendationModelRecommendationModuleRecommendationServiceRecommendationWidgetControllerShopifyPlatformShopifyRouterStickyControllerStickyServiceTemplateAPITemplateModuleTierDiscountAPITierDiscountModelTierDiscountModuleTierDiscountServiceTierDiscountWidgetControllerVolumeBundleAPIVolumeBundleConstantsVolumeBundleControllerVolumeBundleEventServiceVolumeBundleModelVolumeBundleModuleVolumeBundleService
Library Reference›packages›

Home > widget-integration > ProductService

ProductService class

Signature:

export declare class ProductService 

Constructors

Constructor

Modifiers

Description

(constructor)(appService, domHelper, platformLoader, dtoHelper, navigationHelper)

Constructs a new instance of the ProductService class

Properties

Property

Modifiers

Type

Description

appService

protected

AppService

domHelper

protected

DomHelper

dtoHelper

protected

DTOHelper

navigationHelper

protected

NavigationHelper

platformLoader

protected

PlatformLoader

Methods

Method

Modifiers

Description

buildPriceHTML(formattedPrices, settings)

protected

buildProductUrl(options)

buildProductUrlsWithLocale(rootElement)

buildProductUrlWithVariant(options)

calculatePriceInfo(priceMin, compareAtPriceMin)

extractCollectionHandle(pathname)

protected

extractFromGoogleCache()

protected

formatPrice(value, options)

formatPriceWithSettings(priceMin, compareAtPriceMin, priceMax, settings)

getLocalePrefix()

getPriceDisplaySettings()

protected

getProductTranslations()

protected

handleProductItemClick(target, options)

isGoogleCacheUrl()

protected

parseProductData(productItem)

protected

setUniformProductImageHeight(rootElement, config)

shouldIgnoreClick(target)

protected

styleBottomCTALayout8(rootElement)

transformProductPrices(rootElement, blockType)

translateWithComponent(template, variables)

protected

← Back to Library Reference

On this page

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