{
	"productVariables": [
		{
			"element": "input",
			"type": "number",
			"variableId": "{width}",
			"attributes": {
				"min": 180,
				"max": 3000,
				"required": true,
				"validation": []
			},
			"reminderText": "{widthReminderText}",
			"variableText": "{widthVariableText}",
			"errorText": "{widthVariableErrorText}",
			"sortOrder": 2,
			"unit": "mm",
			"tooltip": {}
		},
		{
			"element": "input",
			"type": "number",
			"variableId": "{height}",
			"attributes": {
				"min": 250,
				"max": 2400,
				"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": "HELIMAS",
					"display": "HELIMAS",
					"attributes": {
						"selected": true
					}
				}
			],
			"sortOrder": 5,
			"tooltip": {}
		},
		{
			"element": "dropdown",
			"variableText": "{glassType}",
			"variableId": "{glassType}",
			"options": [
				{
					"value": "{GlasstypeTextTermorude_Classic_Lavenergi}",
					"display": "{GlasstypeTextTermorude_Classic_Lavenergi}",
					"attributes": {
						"selected": true
					}
				},
				{
					"value": "{GlasstypeTextAltTermorude_Classic_Varmkant}",
					"display": "{GlasstypeTextAltTermorude_Classic_Varmkant}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{GlasstypeTextAltTermorude_Super_Lavenergi}",
					"display": "{GlasstypeTextAltTermorude_Super_Lavenergi}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{GlasstypeTextAltTermorude_2021_Lavenergi}",
					"display": "{GlasstypeTextAltTermorude_2021_Lavenergi}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{GlasstypeTextAltTermorude_2021_XClear_Lavenergi}",
					"display": "{GlasstypeTextAltTermorude_2021_XClear_Lavenergi}",
					"attributes": {
						"selected": false
					}
				}
			],
			"sortOrder": 6,
			"tooltip": {}
		},
		{
			"element": "dropdown",
			"variableText": "{DPSpacerWidthVariableText}",
			"variableId": "{DPSpacerWidthVariableID}",
			"options": [
				{
					"value": "20 mm (4+12+4)",
					"display": "20 mm (4+12+4)",
					"attributes": {
						"selected": true
					}
				},
				{
					"value": "22 mm (4+14+4)",
					"display": "22 mm (4+14+4)",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "24 mm (4+16+4)",
					"display": "24 mm (4+16+4)",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "26 mm (4+18+4)",
					"display": "26 mm (4+18+4)",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "28 mm (4+20+4)",
					"display": "28 mm (4+20+4)",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "30 mm (4+22+4)",
					"display": "30 mm (4+22+4)",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "32 mm (4+24+4)",
					"display": "32 mm (4+24+4)",
					"attributes": {
						"selected": false
					}
				}
			],
			"sortOrder": 8,
			"tooltip": {}
		},
		{
			"element": "imagedropdown",
			"variableText": "{DPSpacerColorVariableText}",
			"variableId": "{DPSpacerColorVariableID}",
			"attributes": {
				"required": true
			},
			"options": [
				{
					"value": "{DPSpacerColorval9004}",
					"display": "{DPSpacerColorval9004}",
					"attributes": {
						"selected": true,
						"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"
					}
				},
				{
					"value": "{DPSpacerColorvalALU}",
					"display": "{DPSpacerColorvalALU}",
					"attributes": {
						"selected": false,
						"displayImage": ""
					}
				}
			],
			"sortOrder": 10,
			"tooltip": {}
		},
		{
			"element": "dropdown",
			"variableText": "{DPSprosseHeightVariableText}",
			"variableId": "{DPSprosseHeightVariableID}",
			"options": [
				{
					"value": "{DPSprosseHeightval18}",
					"display": "{DPSprosseHeightval18}",
					"attributes": {
						"selected": true
					}
				},
				{
					"value": "{DPSprosseHeightval26}",
					"display": "{DPSprosseHeightval26}",
					"attributes": {
						"selected": false
					}
				}
			],
			"sortOrder": 12,
			"tooltip": {}
		},
		{
			"element": "dropdown",
			"variableText": "{DPSprosseColorVariableText}",
			"variableId": "{DPSprosseColorVariableID}",
			"options": [
				{
					"value": "{DPSprosseColorvalWhite}",
					"display": "{DPSprosseColorvalWhite}",
					"attributes": {
						"selected": true
					}
				},
				{
					"value": "{DPSprosseColorvalBlack}",
					"display": "{DPSprosseColorvalBlack}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{DPSprosseColorvalGrey}",
					"display": "{DPSprosseColorvalGrey}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{DPSprosseColorvalCB}",
					"display": "{DPSprosseColorvalCB}",
					"attributes": {
						"selected": false
					}
				}
			],
			"sortOrder": 14,
			"tooltip": {}
		}
	],
	"images": [],
	"accessories": [],
	"extra": [
		{
			"productId": "HELIMAS",
			"amount": "30-1",
			"rules": {
				"include": [
					{
						"compare": "[[{sprosse_VariableID}]] == \"HELIMAS\""
					}
				]
			}
		}
	],
	"formulas": [
		{
			"id": "bu45Amount",
			"baseProductPriceFormelORI": "([[{width}]]  * [[{height}]] / 1000000) <= 0.45 ? [[baseProductPrice]] * 0.45 : (([[{width}]]  * [[{height}]] / 1000000) * [[baseProductPrice]])",
			"formula": "([[{width}]]  * [[{height}]] / 1000000) <= 0.45 ? [[baseProductPrice]] * 0.45 : (([[{width}]]  * [[{height}]] / 1000000) * [[baseProductPrice]]))"
		},
		{
			"id": "weightCal",
			"formula": "([[{width}]] * [[{height}]] / 1000000)"	
		}
	],
	"premium": [],
	"variantData": [
		{
			"id": "{sprosse_VariableID}",
			"name": "{sprosse_VariableID}"
		}
	],
	"summery": false,
	"productVariablesRules": [],
	"baseProductPrices": [
		{
			"rule": "[[{glassType}]] == \"{GlasstypeTextTermorude_Classic_Lavenergi}\"",
			"productId": "4EF4EFSEN2P",
			"note": "Termorude - Classic Lavenergi",
			"weight": true
		},
		{
			"rule": "[[{glassType}]] == \"{GlasstypeTextAltTermorude_Classic_Varmkant}\"",
			"productId": "4EF4EFSEN2PVK",
			"note": "Termorude - Classic Varmkant",
			"weight": true
		},
		{
			"rule": "[[{glassType}]] == \"{GlasstypeTextAltTermorude_Super_Lavenergi}\"",
			"productId": "4EF4SZNG",
			"note": "Termorude - Super Lavenergi",
			"weight": true
		},
		{
			"rule": "[[{glassType}]] == \"{GlasstypeTextAltTermorude_2021_Lavenergi}\"",
			"productId": "4EWNG4SE",
			"note": "Termorude - 2021 Lavenergi",
			"weight": true
		},
		{
			"rule": "[[{glassType}]] == \"{GlasstypeTextAltTermorude_2021_XClear_Lavenergi}\"",
			"productId": "4EWNG4EWNGSE2P",
			"note": "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
}