{
	"productVariables": [
		{
			"element": "input",
			"type": "number",
			"variableId": "{width}",
			"attributes": {
				"min": 180,
				"max": 2500,
				"required": true,
				"validation": []
			},
			"reminderText": "{widthReminderText}",
			"variableText": "{widthVariableText}",
			"errorText": "{widthVariableErrorText}",
			"sortOrder": 2,
			"unit": "mm",
			"tooltip": {}
		},
		{
			"element": "input",
			"type": "number",
			"variableId": "{height}",
			"attributes": {
				"min": 250,
				"max": 2500,
				"required": true,
				"validation": [
					{
						"compare": "([[{width}]] * [[{height}]] / 1000000)  <= 3.35",
						"errorText": "{overmaxm2VariableErrorText}"
					}
				]
			},
			"reminderText": "{heightReminderText}",
			"variableText": "{heightVariableText}",
			"errorText": "{heightVariableErrorText}",
			"sortOrder": 4,
			"unit": "mm",
			"tooltip": {}
		},
		{
			"element": "dropdown",
			"variableText": "{synlige_Sprosse_VariableText}",
			"variableId": "{sprosse_VariableID}",
			"options": [
				{
					"value": "DUPLEX3",
					"display": "DUPLEX3",
					"attributes": {
						"selected": true
					}
				}
			],
			"sortOrder": 5,
			"errorText": "{sprosse_ErrorText}",
			"tooltip": {}
		},
		{
			"element": "dropdown",
			"variableText": "{glassType}",
			"variableId": "{glassType}",
			"options": [
				{
					"value": "{GlasstypeTextTermorude_Classic_Lavenergi_LowE_3lag}",
					"display": "{GlasstypeTextTermorude_Classic_Lavenergi_LowE_3lag}",
					"attributes": {
						"selected": true
					}
				},
				{
					"value": "{GlasstypeTextAltTermorude_Classic_Varmkant_LowE_3lag}",
					"display": "{GlasstypeTextAltTermorude_Classic_Varmkant_LowE_3lag}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{GlasstypeTextAltTermorude_Super_Lavenergi_LowE_3lag}",
					"display": "{GlasstypeTextAltTermorude_Super_Lavenergi_LowE_3lag}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{GlasstypeTextAltTermorude_2021_Lavenergi_LowE_3lag}",
					"display": "{GlasstypeTextAltTermorude_2021_Lavenergi_LowE_3lag}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{GlasstypeTextAltTermorude_2021_XClear_Lavenergi_LowE_3lag}",
					"display": "{GlasstypeTextAltTermorude_2021_XClear_Lavenergi_LowE_3lag}",
					"attributes": {
						"selected": false
					}
				}
			],
			"sortOrder": 6,
			"tooltip": {}
		},
		{
			"element": "imagedropdown",
			"variableText": "{DPSpacerColorVariableText}",
			"variableId": "{DPSpacerColorVariableID}",
			"attributes": {
				"required": true
			},
			"options": [
				{
					"value": "{DPSpacerColorvalALU}",
					"display": "{DPSpacerColorvalALU}",
					"attributes": {
						"selected": true,
						"displayImage": ""
					}
				},
				{
					"value": "{DPSpacerColorval9004}",
					"display": "{DPSpacerColorval9004}",
					"attributes": {
						"selected": false,
						"displayImage": "/images/ikoner/farve-ikoner/RAL9004_icon.png"
					}
				},
				{
					"value": "{DPSpacerColorval9016}",
					"display": "{DPSpacerColorval9016}",
					"attributes": {
						"selected": false,
						"displayImage": "/images/ikoner/farve-ikoner/RAL9016_icon.png"
					}
				},
				{
					"value": "{DPSpacerColorval7035}",
					"display": "{DPSpacerColorval7035}",
					"attributes": {
						"selected": false,
						"displayImage": "/images/ikoner/farve-ikoner/RAL7035_icon.png"
					}
				},
				{
					"value": "{DPSpacerColorval7040}",
					"display": "{DPSpacerColorval7040}",
					"attributes": {
						"selected": false,
						"displayImage": "/images/ikoner/farve-ikoner/RAL7040_icon.png"
					}
				},
				{
					"value": "{DPSpacerColorval8003}",
					"display": "{DPSpacerColorval8003}",
					"attributes": {
						"selected": false,
						"displayImage": "/images/ikoner/farve-ikoner/RAL8003_icon.png"
					}
				}
			],
			"sortOrder": 8,
			"tooltip": {}
		},
		{
			"element": "dropdown",
			"variableText": "{DPSpacerWidthVariableText}",
			"variableId": "{DPSpacerWidthVariableID}",
			"options": [
				{
					"value": "{DPSpacerWidthvalB12}",
					"display": "{DPSpacerWidthvalB12}",
					"attributes": {
						"selected": true
					}
				},
				{
					"value": "{DPSpacerWidthvalB14}",
					"display": "{DPSpacerWidthvalB14}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{DPSpacerWidthvalB15}",
					"display": "{DPSpacerWidthvalB15}",
					"attributes": {
						"selected": false,
						"updateRuleset": "[[aluListe]]"
					}
				},
				{
					"value": "{DPSpacerWidthvalB16}",
					"display": "{DPSpacerWidthvalB16}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{DPSpacerWidthvalB18}",
					"display": "{DPSpacerWidthvalB18}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{DPSpacerWidthvalB20}",
					"display": "{DPSpacerWidthvalB20}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{DPSpacerWidthvalB22}",
					"display": "{DPSpacerWidthvalB22}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{DPSpacerWidthvalB24}",
					"display": "{DPSpacerWidthvalB24}",
					"attributes": {
						"selected": false
					}
				}
			],
			"sortOrder": 10,
			"errorText": "{DPSpacerWidthVariableErrorText}",
			"tooltip": {}
		},
		{
			"element": "dropdown",
			"variableText": "{DPSprosseHeightVariableText}",
			"variableId": "{DPSprosseHeightVariableID}",
			"options": [
				{
					"value": "{DPSprosseHeightval20}",
					"display": "{DPSprosseHeightval20}",
					"attributes": {
						"selected": true
					}
				},
				{
					"value": "{DPSprosseHeightval24}",
					"display": "{DPSprosseHeightval24}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{DPSprosseHeightval30}",
					"display": "{DPSprosseHeightval30}",
					"attributes": {
						"selected": false
					}
				}
			],
			"sortOrder": 12,
			"tooltip": {}
		}
	],
	"images": [],
	"accessories": [],
	"extra": [
		{
			"productId": "DUPLEX3",
			"amount": "12-1",
			"rules": {
				"include": [
					{
						"compare": "[[{sprosse_VariableID}]] == \"DUPLEX3\""
					}
				]
			}
		}
	],
	"formulas": [
		{
			"id": "example",
			"formula": "([[{width}]]  * [[{height}]] / 1000000)"
		},
		{
			"id": "aluListe",
			"rule": "[[{DPSpacerColorVariableID}]] == '{DPSpacerColorvalALU}'"
		},
		{
			"id": "weightCal",
			"formula": "([[{width}]] * [[{height}]] / 1000000)"	
		}
	],
	"premium": [],
	"variantData": [
		{
			"id": "{sprosse_VariableID}",
			"name": "{sprosse_VariableID}"
		}
	],
	"summery": false,
	"productVariablesRules": [],
	"baseProductPrices": [
		{
			"rule": "[[{glassType}]] == \"{GlasstypeTextTermorude_Classic_Lavenergi_LowE_3lag}\"",
			"productId": "4EF4EF4SEN2P",
			"note": "3 lags termorude - Classic Lavenergi",
			"weight": true
		},
		{
			"rule": "[[{glassType}]] == \"{GlasstypeTextAltTermorude_Classic_Varmkant_LowE_3lag}\"",
			"productId": "4SEN2P4EF4SEN2P",
			"note": "3 lags termorude - 2018 Lavenergi",
			"weight": true
		},
		{
			"rule": "[[{glassType}]] == \"{GlasstypeTextAltTermorude_Super_Lavenergi_LowE_3lag}\"",
			"productId": "4SZNG4EF4SZNG",
			"note": "3 lags termorude - Super Lavenergi",
			"weight": true
		},
		{
			"rule": "[[{glassType}]] == \"{GlasstypeTextAltTermorude_2021_Lavenergi_LowE_3lag}\"",
			"productId": "4SE4EF4SE",
			"note": "3 lags termorude - 2021 Lavenergi",
			"weight": true
		},
		{
			"rule": "[[{glassType}]] == \"{GlasstypeTextAltTermorude_2021_XClear_Lavenergi_LowE_3lag}\"",
			"productId": "4EWNGEN2P4EWNG4EWNGEN2P",
			"note": "3 lags termorude - Ekstra klar Lavenergi",
			"weight": true
		}
	],
	"baseProductPriceFormel": "Math.round(([[{width}]]  * [[{height}]] / 1000000) <= 0.45 ? 0.45 * [[baseProductPrice]] * 1.25 : ([[{width}]]  * [[{height}]] / 1000000) * [[baseProductPrice]] * 1.25)",
	"baseProductWeightFormel": "[[baseProductWeight]] * [[weightCal]]",
	"defaultImgSortOrder": 10
}