Skip to main content

settings

Description

  • General store settings such as currency, country, font, and palette.

Source

  • render.globals.app.generalSettings or external settings if passed (overrides)

Type

  • Object

Usage

{{ settings }}

Key Fields

  • currency{_id,title,currencyCode,currencySymbol,deleted}
  • country{_id,name,code,phonekey,image{imageUrl},currency{...}}
  • font{_id,title,sources}
  • palette{_id,name,mainColor,subColor,footerColor,backgroundColor,backgroundImageUrl}

Example

{
"currency": {
"currencyCode": "EGP",
"currencySymbol": "ج.م"
},
"country": {
"name": "مصر",
"code": "EG",
"currency": { "currencyCode": "EGP" }
},
"font": { "title": "cairo", "sources": "Cairo" },
"palette": { "name": "palette1", "mainColor": "#000" }
}

Notes

  • If settings variable is provided externally, it replaces the global one.