settings
Description
- General store settings such as currency, country, font, and palette.
Source
render.globals.app.generalSettingsor externalsettingsif 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
settingsvariable is provided externally, it replaces the global one.