SdkInitOptions
Configuration options for SDK initialization
Properties
| Property | Type | Description |
|---|---|---|
countryIsoCode? | string | ISO code for the country Example "US" |
currencyIsoCode? | string | ISO code for the currency Example "USD" |
currencySymbol? | string | Currency symbol Example "$" |
enabledApps | App[] | List of apps/modules to enable |
growaveToken? | string | Growave JWT token for authentication. Use this option when the token is known before SDK initialization. When provided, the token is used as is, without the startup authentication request. See https://docs.growave.io/api#tag/Authentication/operation/getStorefrontToken |
isCartAvailable? | boolean | Whether cart functionality is available |
isDiscountApplyAvailable? | boolean | Whether discounts can be applied |
isShadowRootDisabledGlobally? | boolean | Whether Shadow DOM is disabled globally |
languageIsoCode? | string | ISO code for the Shopify Storefront API requests Example "EN" Link https://shopify.dev/docs/api/storefront/latest/enums/LanguageCode |
localization? | string | Localization string for the store Example "en" |
moneyFormat? | string | Format string for displaying prices Example "{{amount}}" |
moneyWithCurrencyFormat? | string | Format string for displaying prices with currency Example "{{amount}} USD" |
myshopifyDomain | string | Shopify domain in myshopify.com format Example "my-shop.myshopify.com" |
shopCurrency? | string | Store's base currency code Example "USD" |
shopName? | string | Name of the shop Example "My Awesome Shop" |
storefrontApiAccessToken | string | null | Storefront API access token for authentication |