Bilkort
De fleste settings omkring bilkort ligger i "car" sektionen, i config filen.
json
{
...
"car" : {
....
}
}Intro Section
JSON
{
"car": {
"intro" : {
....
}
}
}Intro Galleri
JSON
{
"car": {
"intro" : {
"disableZoom": false,
"fullScreen": false,
"thumbsPosition": "right"
}
}
}Intro Video
JSON
{
"car": {
"intro" : {
"video": {
"hide": false,
"btn": true,
"btn_p": "3",
"btn_l": "Se video"
}
}
}
}Intro Standard Specs
JSON
{
"car": {
"intro" : {
"spec": {
"mileage":"Kilometer",
"year":"Modelår",
"propellant":"Drivmiddel",
"range":"Rækkevidde WLTP",
"kmprliter":"Forbrug",
"gear":"Gearkasse",
"hp":"Hestekræfter"
}
}
}
}Intro Custom Specs
JSON
{
"car": {
"intro" : {
"hidespec": false,
"customspec": [
{
"f": [
{
"l": "Kilometer",
"v": "info.mileage",
"f": "numberFormat",
"fa": [0, ",", "."],
"a" : " km",
"s": false,
"i" : "cc-icon-speedometer"
},
{
"l": "Farve",
"v": "info.color",
"s": false,
"i" : "cc-icon-car"
},
{
"l": "Modelår",
"v": "details.year",
"s": false,
"i" : "cc-icon-calendar"
},
{
"l": "1. Registrering",
"v": "info.registration",
"r": "$(info.registration)",
"f": "date",
"fa": ["MM/YYYY"],
"s": false,
"i" : "cc-icon-calendar"
},
{
"l": "Drivmiddel",
"v": "engine.propellant",
"s": false,
"i" : "cc-icon-drivmiddel"
},
{
"l": "Forbrug",
"v": "engine.kmprliter",
"f": "numberFormat",
"fa": [1, ",", "."],
"a" : " km/l",
"r": "$(engine.propellant) !== 'EL'",
"s": false,
"i" : "cc-icon-gas_tank"
},
{
"l": "Rækkevidde",
"v": "details.range.km",
"f": "numberFormat",
"fa": [0, ",", "."],
"a" : " km",
"r": "$(engine.propellant) === 'EL'",
"s": false,
"i" : "cc-icon-raekkevidde"
},
{
"l": "Gearkasse",
"v": "info.gear",
"s": false,
"fc" : true,
"i" : "cc-icon-geartype"
},
{
"l": "Hestekræfter",
"v": "engine.hp",
"fa": [0, ",", "."],
"a" : " hk",
"s": false,
"i" : "cc-icon-hk"
},
{
"l": "Døre",
"v": "info.doors",
"s": false,
"i" : "cc-icon-car"
},
{
"l": "Trækhjul",
"v": "engine.drivewheels",
"s": false,
"fc" : true,
"i" : "cc-icon-tire"
}
]
}
]
}
}
}Intro Hide Vehicletype
JSON
{
"car": {
"intro" : {
"vehicletype" : false
}
}
}Intro Content field
JSON
{
"car": {
"intro" : {
"f": "$page.intro_text"
}
}
}Intro Hide price
JSON
{
"car": {
"intro" : {
"disablePrice": true
}
}
}Intro show Tax
JSON
{
"car": {
"intro" : {
"tax": "biztax"
}
}
}Static content
For at benytte static content skal du i toppen af json (under fid, cid) tilføje:
json
{
"fid": "..",
"cid": "..",
"pageInfo": true
}Static content / $page virker kun på bilkort og kan ikke benytte som regler. hvis dette ikke slås til vil $page være tom javascript object{}.
Video settings
Ikke alle indstillinger virker på alle type videoer
JSON
{
"car": {
"videos": {
"mute": true,
"controls": true,
"autoplay": true,
"loop": true
}
}
}CTA - Intro and Sticky
"m": true - skjuler CTA knap på mobil.
JSON
{
"car": {
"cta" : {
"contact": {
"l":"Skriv til os"
},
"exchange": {
"l":"Beregn byttepris",
"link":"https://lg.indicata.com/#/?dealerId=xxx"
},
"autouncle_trade_in": {
"l":"Beregn byttepris",
"m": false
},
"autoproff": {
"l":"Beregn byttepris",
"s":{"group":"xxxxx","motor":"dmr","locale":"da","button_text":"Vil du vide hvad din bil er værd?","button_position_horizontal":"left","integrated_button_selector":".cta-autoproff"},
},
"autoitexchange": {
"l":"Få byttepris",
"id":"xxx",
"guid":"xxx",
"bg":"44403C",
"c":"ffffff"
},
"solgt_com": {
"l":"Beregn byttepris"
},
"testdrive": {
"l":"Bestil prøvetur"
},
"autouncle_test_drive": {
"l":"Bestil prøvetur",
"m": false
},
"autouncle_price_alert": {
"l":"Prisalarm"
},
"call": {
"l":"Ring til os"
},
"sms": {
"l":"Skriv en SMS",
"phone":"xxx"
}
}
}
}CTA - Intro and Sticky - NY Virtual Config
"m": true - skjuler CTA knap på mobil.
JSON
{
"car": {
"cta": [
{
"t": "auws",
"m": false,
"l": "Beregn byttepris",
"r": "true",
"a": {},
"k": "TRADE_IN"
},
{
"t": "auws",
"m": false,
"l": "Bestil prøvetur",
"r": "true",
"a": {},
"k": "IMPROVED_BOOK_TEST_DRIVE"
},
{
"t": "auws",
"m": false,
"l": "Få besked ved prisfald",
"r": "!f.isMobile || !f.sticky",
"a": {},
"k": "PRICE_ALERT"
},
{
"t": "phone",
"m": false,
"l": "Ring til os",
"r": "true",
"a": {},
"k": "phone"
}
],
}
}