---
title: Interface: KMCRootObject
slug: klevucore-reference/interface-kmcrootobject
docTags: 
createdAt: 2023-11-09T09:45:59.073Z
---

 / [Exports](docId:7vdpEs-8-0Tv_43dyA7ly) / KMCRootObject

## Table of contents

### Properties

- [klevuLayoutVersion](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_abTestActive](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_addToCartEnabled](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_apiDomain](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_categorySearchEnabled](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_cmsAnalyticsDomain](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_cmsApiKey](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_cmsEnabled](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_cmsSearchDomain](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_filtersEnabled](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_filtersOnLeft](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_fluidLayoutEnabled](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_isSearchActive](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_layoutType](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_layoutView](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_loadMapFile](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_logoFreeSearch](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_lookForDataInSameFeed](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_multiSelectFilters](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_popularProductsOfSite](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_productsToShowInSlimLayout](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_showBannerAds](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_showOutOfStock](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_showPopularSearches](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_showPopuralTerms](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_showPriceSlider](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_showPrices](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_showProductCode](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_showRecentSerches](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_uc\_userOptions](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_userAnalyticsDomain](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_userJavascriptDomain](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_userSearchDomain](docId\:cmyvmblfFvreTWOW6tgAd)
- [klevu\_webstorePopularTerms](docId\:cmyvmblfFvreTWOW6tgAd)

## 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

[models/KMCRoot.ts:107](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L107)

***

### klevu\_abTestActive

• **klevu\_abTestActive**: `boolean`

Is A/B test active

### Defined in

[models/KMCRoot.ts:5](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L5)

***

### klevu\_addToCartEnabled

• **klevu\_addToCartEnabled**: `boolean`

activates the display of add to cart button

### Defined in

[models/KMCRoot.ts:53](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L53)

***

### 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

[models/KMCRoot.ts:77](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L77)

***

### klevu\_categorySearchEnabled

• **klevu\_categorySearchEnabled**: `boolean`



not in use , enable category search

### Defined in

[models/KMCRoot.ts:125](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L125)

***

### klevu\_cmsAnalyticsDomain

• **klevu\_cmsAnalyticsDomain**: `string`

Domain to send cms analytics to

### Defined in

[models/KMCRoot.ts:21](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L21)

***

### klevu\_cmsApiKey

• **klevu\_cmsApiKey**: `string`



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

### Defined in

[models/KMCRoot.ts:121](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L121)

***

### klevu\_cmsEnabled

• **klevu\_cmsEnabled**: `boolean`

activates the tab cms content

### Defined in

[models/KMCRoot.ts:62](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L62)

***

### klevu\_cmsSearchDomain

• **klevu\_cmsSearchDomain**: `string`



not in use , similar to klevu\_userAnalyticsDomain

### Defined in

[models/KMCRoot.ts:98](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L98)

***

### klevu\_filtersEnabled

• **klevu\_filtersEnabled**: `boolean`

used to activate the filters

### Defined in

[models/KMCRoot.ts:86](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L86)

***

### klevu\_filtersOnLeft

• **klevu\_filtersOnLeft**: `boolean`

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

### Defined in

[models/KMCRoot.ts:67](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L67)

***

### klevu\_fluidLayoutEnabled

• **klevu\_fluidLayoutEnabled**: `boolean`



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

### Defined in

[models/KMCRoot.ts:94](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L94)

***

### klevu\_isSearchActive

• **klevu\_isSearchActive**: `boolean`



not in use , used by jsv1 to load extra files

### Defined in

[models/KMCRoot.ts:90](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L90)

***

### klevu\_layoutType

• **klevu\_layoutType**: `string`



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

### Defined in

[models/KMCRoot.ts:116](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L116)

***

### klevu\_layoutView

• **klevu\_layoutView**: `string`

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

### Defined in

[models/KMCRoot.ts:34](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L34)

***

### klevu\_loadMapFile

• **klevu\_loadMapFile**: `boolean`



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

### Defined in

[models/KMCRoot.ts:112](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L112)

***

### klevu\_logoFreeSearch

• **klevu\_logoFreeSearch**: `boolean`



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

### Defined in

[models/KMCRoot.ts:147](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L147)

***

### klevu\_lookForDataInSameFeed

• **klevu\_lookForDataInSameFeed**: `boolean`



unknown

### Defined in

[models/KMCRoot.ts:102](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L102)

***

### klevu\_multiSelectFilters

• **klevu\_multiSelectFilters**: `boolean`

### Defined in

[models/KMCRoot.ts:133](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L133)

***

### klevu\_popularProductsOfSite

• **klevu\_popularProductsOfSite**: `KlevuPopularProductsOfSite`\[]

Most popular products of the store

### Defined in

[models/KMCRoot.ts:17](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L17)

***

### 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

[models/KMCRoot.ts:58](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L58)

***

### 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

[models/KMCRoot.ts:131](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L131)

***

### klevu\_showOutOfStock

• **klevu\_showOutOfStock**: `boolean`



not in use, as its controlled from search BE

### Defined in

[models/KMCRoot.ts:142](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L142)

***

### klevu\_showPopularSearches

• **klevu\_showPopularSearches**: `boolean`

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

### Defined in

[models/KMCRoot.ts:44](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L44)

***

### 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

[models/KMCRoot.ts:152](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L152)

***

### klevu\_showPriceSlider

• **klevu\_showPriceSlider**: `boolean`

activates the price slider

### Defined in

[models/KMCRoot.ts:49](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L49)

***

### klevu\_showPrices

• **klevu\_showPrices**: `boolean`

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

### Defined in

[models/KMCRoot.ts:71](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L71)

***

### klevu\_showProductCode

• **klevu\_showProductCode**: `boolean`

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

### Defined in

[models/KMCRoot.ts:39](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L39)

***

### klevu\_showRecentSerches

• **klevu\_showRecentSerches**: `boolean`

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

### Defined in

[models/KMCRoot.ts:82](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L82)

***

### klevu\_uc\_userOptions

• **klevu\_uc\_userOptions**: `KlevuUcUserOptions`

Messages and banners created by user in KMC

### Defined in

[models/KMCRoot.ts:9](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L9)

***

### 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

[models/KMCRoot.ts:138](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L138)

***

### klevu\_userJavascriptDomain

• **klevu\_userJavascriptDomain**: `string`

Domain where JSv2 is hosted on

### Defined in

[models/KMCRoot.ts:29](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L29)

***

### klevu\_userSearchDomain

• **klevu\_userSearchDomain**: `string`

Domain to send search analytics to

### Defined in

[models/KMCRoot.ts:25](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L25)

***

### klevu\_webstorePopularTerms

• **klevu\_webstorePopularTerms**: `string`\[]

Popular terms in the store

### Defined in

[models/KMCRoot.ts:13](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KMCRoot.ts#L13)
