Home > @vsf-enterprise/commercetools > Config
# Config interface
Configuration object for the @vsf-enterprise/commercetools/nuxt
module in the nuxt.config.js
file
Signature:
export interface Config
# Properties
Property | Type | Description |
---|---|---|
acceptLanguage? | string[] | (Optional) List of supported language codes. Used only if useNuxtI18nConfig: false |
channel? | string | (Optional) Default store. Used only if useNuxtI18nConfig: false |
collectShippingKey | string | Configurable Click&Collect shipping method name |
cookies? | { localeCookieName?: string; countryCookieName?: string; currencyCookieName?: string; storeCookieName?: string; channelCookieName?: string; } | (Optional) Name of the cookies containing internationalization options. Used only if useNuxtI18nConfig: false |
countries? | ConfigCountry[] | (Optional) List of supported countries. Used only if useNuxtI18nConfig: false |
country? | string | (Optional) Default country. Used only if useNuxtI18nConfig: false |
currencies? | ConfigCurrency[] | (Optional) List of supported currencies. Used only if useNuxtI18nConfig: false |
currency? | string | (Optional) Default currency. Used only if useNuxtI18nConfig: false |
enableChannelFilter | boolean | Whether filter products by the selected channel |
enableClickCollect | boolean | Whether a store supports Click & Collect |
enableCustomerCheckoutStep | boolean | Whether a checkout has an additional step for guest |
enableMultiCurrency | boolean | Whether a store supports multiple currencies |
faceting | ConfigFacetingOptions | Controls search options available to the user, such as pagination, sorting and available filters |
i18n | { useNuxtI18nConfig: boolean; } | Internationalization configuration |
locale? | string | (Optional) Default language. Used only if useNuxtI18nConfig: false |
locales? | ConfigLocale[] | (Optional) List of supported languages. Used only if useNuxtI18nConfig: false |
store? | string | (Optional) Default store. Used only if useNuxtI18nConfig: false |