{
	"productVariables": [
		{
			"element": "dropdown",
			"variableText": "{DPSpacerWidthVariableID}",
			"variableId": "{DPSpacerWidthVariableID}",
			"errorText": "{DPSpacerWidthVariableErrorText_termo}",
			"options": [
				{
					"value": "{DPSpacerWidthval12_6_x_6}",
					"display": "{DPSpacerWidthval12_6_x_6}",
					"attributes": {
						"selected": true
					}
				},
				{
					"value": "{DPSpacerWidthval14_6_x_6}",
					"display": "{DPSpacerWidthval14_6_x_6}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{DPSpacerWidthval16_6_x_6}",
					"display": "{DPSpacerWidthval16_6_x_6}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{DPSpacerWidthval18_6_x_6}",
					"display": "{DPSpacerWidthval18_6_x_6}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{DPSpacerWidthval20_6_x_6}",
					"display": "{DPSpacerWidthval20_6_x_6}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{DPSpacerWidthval22_6_x_6}",
					"display": "{DPSpacerWidthval22_6_x_6}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{DPSpacerWidthval24_6_x_6}",
					"display": "{DPSpacerWidthval24_6_x_6}",
					"attributes": {
						"selected": false
					}
				}
			],
			"attributes": {
				"required": true
			},
			"sortOrder": 3,
			"tooltip": {}
		},
		{
			"element": "dropdown",
			"variableText": "{DPSpacerColorVariableID}",
			"variableId": "{DPSpacerColorVariableID}",
			"options": [
				{
					"value": "{DPSpacerColorvalALU}",
					"display": "{DPSpacerColorvalALU}",
					"attributes": {
						"selected": true
					}
				},
				{
					"value": "{DPSpacerColorval9004}",
					"display": "{DPSpacerColorval9004}",
					"attributes": {
						"selected": false,
						"updateRuleset": "[[glassTypeCheck]]"
					}
				},
				{
					"value": "{DPSpacerColorval9016}",
					"display": "{DPSpacerColorval9016}",
					"attributes": {
						"selected": false,
						"updateRuleset": "[[glassTypeCheck]]"
					}
				},
				{
					"value": "{DPSpacerColorval7035}",
					"display": "{DPSpacerColorval7035}",
					"attributes": {
						"selected": false,
						"updateRuleset": "[[glassTypeCheck]]"
					}
				},
				{
					"value": "{DPSpacerColorval7040}",
					"display": "{DPSpacerColorval7040}",
					"attributes": {
						"selected": false,
						"updateRuleset": "[[glassTypeCheck]]"
					}
				},
				{
					"value": "{DPSpacerColorval8003}",
					"display": "{DPSpacerColorval8003}",
					"attributes": {
						"selected": false,
						"updateRuleset": "[[glassTypeCheck]]"
					}
				}
			],
			"attributes": {
				"required": true
			},
			"sortOrder": 3,
			"tooltip": {}
		},
		{
			"element": "input",
			"type": "number",
			"variableId": "{width}",
			"attributes": {
				"min": 180,
				"max": 3500,
				"required": true,
				"validation": [],
				"valueSets": [
					{
						"updateruleset": "[[minWidth250]]",
						"min": 250
					},
					{
						"updateruleset": "[[widthLimit]]",
						"max": 2400
					}
				]
			},
			"reminderText": "{widthReminderText}",
			"variableText": "{widthVariableText}",
			"errorText": "{widthVariableErrorText}",
			"sortOrder": 4,
			"unit": "mm",
			"tooltip": {}
		},
		{
			"element": "input",
			"type": "number",
			"variableId": "{height}",
			"attributes": {
				"min": 180,
				"max": 3500,
				"required": true,
				"validation": [
					{
						"compare": "([[{width}]]  * [[{height}]] / 1000000) <= 7",
						"errorText": "{area7m2LimitFacon}"
					}
				],
				"valueSets": [
					{
						"updateruleset": "[[minHeight250]]",
						"min": 250
					},
					{
						"updateruleset": "[[hightLimit]]",
						"max": 2400
					}
				]
			},
			"reminderText": "{heightReminderText}",
			"variableText": "{heightVariableText}",
			"errorText": "{heightVariableErrorText}",
			"sortOrder": 6,
			"unit": "mm",
			"tooltip": {}
		},
        {
			"element": "input",
			"type": "number",
			"variableId": "{figurID}",
			"attributes": {
				"min": 0,
				"max": 0,
				"required": true,
				"value": 0,
                "validation": [],
				"style": "display:none;"
			},
			"sortOrder": 999
		}
	],
	"images": [],
	"accessories": [],
	"extra": [],
	"formulas": [
		{
			"id": "base_elements",
			"formula": "[[{width}]] + [[{height}]]]] / 1000000) * [[baseProductPrice]] * 1.25 * 1.5"
		},
		{
			"id": "widthLimit",
			"rule": "[[{height}]] > 2400"
		},
		{
			"id": "hightLimit",
			"rule": "[[{width}]] > 2400"
		},
		{
			"id": "glassTypeCheck",
			"rule": "[[{glassType}]] != \"{GlasstypeTextTermorude_Classic_Lavenergi}\""
		},
		{
			"id": "minWidth250",
			"rule": "[[{height}]] < 250"
		},
		{
			"id": "minHeight250",
			"rule": "[[{width}]] < 250"
		},
		{
			"id": "weightCalTEMP",
			"formula": "([[{width}]] * [[{height}]] / 1000000)"		
		}
	],
	"variantData": [],
	"premium": [],
	"summery": false,
	"productVariablesRules": [],
	"baseProductPrices": [
		{
			"rule": "([[{width}]] <= 3000 && [[{height}]] <= 3000)",
			"productId": "6EF6EFSEN2P",
			"note": "2 lags termorude i stor størrelse 2 x 6 mm",
			"weight": true
		},
		{
			"rule": "([[{width}]] > 3000 || [[{height}]] > 3000)",
			"productId": "6EF6EFSEN2PXL",
			"note": "2 lags termorude i stor størrelse 2 x 6 mm (op til 3500 mm)",
			"weight": true
		}
	],
	"baseProductPriceFormel": "Math.round(([[{width}]]  * [[{height}]] / 1000000) <= 0.45 ? 0.45 * [[baseProductPrice]] * 1.25 : ([[{width}]]  * [[{height}]] / 1000000) * [[baseProductPrice]] * 1.25)",
	"baseProductWeightFormel": "[[baseProductWeight]] * [[weightCalTEMP]]",
	"defaultImgSortOrder": 5
}