Interfaces

Interface: KMCRootObject

55min

/ Exports / KMCRootObject

Table of contents

Properties

Properties

klevuLayoutVersion

klevuLayoutVersion: string



not in use , used by jsv1 for loading version of layout , could not be expanded in kmc to support jsv2 theme versions

Defined in



klevu_abTestActive

klevu_abTestActive: boolean

Is A/B test active

Defined in



klevu_addToCartEnabled

klevu_addToCartEnabled: boolean

activates the display of add to cart button

Defined in



klevu_apiDomain

klevu_apiDomain: string

used by ab test to define the domain of the api, in plan to move all apis to the same domain

Defined in



klevu_categorySearchEnabled

klevu_categorySearchEnabled: boolean



not in use , enable category search

Defined in



klevu_cmsAnalyticsDomain

klevu_cmsAnalyticsDomain: string

Domain to send cms analytics to

Defined in



klevu_cmsApiKey

klevu_cmsApiKey: string



not in use, originally used for different api key for cms content

Defined in



klevu_cmsEnabled

klevu_cmsEnabled: boolean

activates the tab cms content

Defined in



klevu_cmsSearchDomain

klevu_cmsSearchDomain: string



not in use , similar to klevu_userAnalyticsDomain

Defined in



klevu_filtersEnabled

klevu_filtersEnabled: boolean

used to activate the filters

Defined in



klevu_filtersOnLeft

klevu_filtersOnLeft: boolean

activates the filters on the left for quick grid view layout, defaults to true

Defined in



klevu_fluidLayoutEnabled

klevu_fluidLayoutEnabled: boolean



not in use , used by jsv1 to enable extra file loading

Defined in



klevu_isSearchActive

klevu_isSearchActive: boolean



not in use , used by jsv1 to load extra files

Defined in



klevu_layoutType

klevu_layoutType: string



quick search layout type, basic or slim, defaults to basic

Defined in



klevu_layoutView

klevu_layoutView: string

used to switch between grid or list view of the quick basic view

Defined in



klevu_loadMapFile

klevu_loadMapFile: boolean



not in use , used by jsv1 to know if the url map file should be loaded

Defined in



klevu_logoFreeSearch

klevu_logoFreeSearch: boolean



not in use, during trial used to have klevu watermark, no longer a option so not used

Defined in



klevu_lookForDataInSameFeed

klevu_lookForDataInSameFeed: boolean



unknown

Defined in



klevu_multiSelectFilters

klevu_multiSelectFilters: boolean

Defined in



klevu_popularProductsOfSite

klevu_popularProductsOfSite: KlevuPopularProductsOfSite[]

Most popular products of the store

Defined in



klevu_productsToShowInSlimLayout

klevu_productsToShowInSlimLayout: string

the limit for the query of products and category for the slim quick view design(cms is hardcoded to 3)

Defined in



klevu_showBannerAds

klevu_showBannerAds: boolean



not in use, used to control if banner are displayed or not, currently control via the return of banner list

Defined in



klevu_showOutOfStock

klevu_showOutOfStock: boolean



not in use, as its controlled from search BE

Defined in



klevu_showPopularSearches

klevu_showPopularSearches: boolean

activates popular products section of quicksearch (documented under the popular-searches theme component)

Defined in



klevu_showPopuralTerms

klevu_showPopuralTerms: boolean



not in use , because of no results redesign, it was to show the popular terms in the no results pannel.

Defined in



klevu_showPriceSlider

klevu_showPriceSlider: boolean

activates the price slider

Defined in



klevu_showPrices

klevu_showPrices: boolean

activates the display of price filter and price block in product card

Defined in



klevu_showProductCode

klevu_showProductCode: boolean

used for displaying product sku in the product cards as part of the name

Defined in



klevu_showRecentSerches

klevu_showRecentSerches: boolean

activates recent search's section of quick (documented under the recent-searches theme component)

Defined in



klevu_uc_userOptions

klevu_uc_userOptions: KlevuUcUserOptions

Messages and banners created by user in KMC

Defined in



klevu_userAnalyticsDomain

klevu_userAnalyticsDomain: string



not in use, controlled the domain of the analytics calls , not in use as analytics live now under same doamin

Defined in



klevu_userJavascriptDomain

klevu_userJavascriptDomain: string

Domain where JSv2 is hosted on

Defined in



klevu_userSearchDomain

klevu_userSearchDomain: string

Domain to send search analytics to

Defined in



klevu_webstorePopularTerms

klevu_webstorePopularTerms: string[]

Popular terms in the store

Defined in