{
	"productVariables": [
		{
			"element": "dropdown",
			"variableId": "{glassType}",
			"attributes": {
				"required": true
			},
			"options": [
				{
					"value": "{GlasstypeTextClearGlass}",
					"display": "{GlasstypeTextClearGlass}",
					"attributes": {
						"selected": true
					}
				},
				{
					"value": "{GlasstypeTextExtraClearGlass}",
					"display": "{GlasstypeTextExtraClearGlass}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{GlasstypeTextSatinGlass}",
					"display": "{GlasstypeTextSatinGlass}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{GlasstypeTextExtraClearSatinGlass}",
					"display": "{GlasstypeTextExtraClearSatinGlass}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{GlasstypeTextGrayGlass}",
					"display": "{GlasstypeTextGrayGlass}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{GlasstypeTextBronzeGlass}",
					"display": "{GlasstypeTextBronzeGlass}",
					"attributes": {
						"selected": false
					}
				}
			],
			"reminderText": "",
			"variableText": "{glassTypeText}",
			"errorText": "",
			"sortOrder": 2
		},
		{
			"element": "input",
			"type": "number",
			"variableId": "{width}",
			"attributes": {
				"min": 100,
				"max": 2500,
				"required": true,
				"validation": [],
				"valueSets": [
					{
						"updateruleset": "[[width0400]]",
						"max": 2500
					},
					{
						"updateruleset": "[[width0500]]",
						"max": 2500
					},
					{
						"updateruleset": "[[width0600]]",
						"max": 3000
					},
					{
						"updateruleset": "[[width0800]]",
						"max": 3000
					},
					{
						"updateruleset": "[[width1000]]",
						"max": 3000
					},
					{
						"updateruleset": "[[width1200]]",
						"max": 3000
					},
					{
						"updateruleset": "[[widthLimit0400]]",
						"max": 2000
					},
					{
						"updateruleset": "[[widthLimit0500]]",
						"max": 2000
					},
					{
						"updateruleset": "[[widthLimit0600]]",
						"max": 2400
					},
					{
						"updateruleset": "[[widthLimit0800]]",
						"max": 2400
					},
					{
						"updateruleset": "[[widthLimit1000]]",
						"max": 2500
					},
					{
						"updateruleset": "[[widthLimit1200]]",
						"max": 2400
					}
				]
			},
			"reminderText": "{widthReminderText}",
			"variableText": "{widthVariableText}",
			"errorText": "{widthVariableErrorText}",
			"sortOrder": 4,
			"unit": "mm",
			"tooltip": {}
		},
		{
			"element": "input",
			"type": "number",
			"variableId": "{height}",
			"attributes": {
				"min": 300,
				"max": 2000,
				"required": true,
				"validation": [],
				"valueSets": [
					{
						"updateruleset": "[[hight0400]]",
						"max": 2500
					},
					{
						"updateruleset": "[[hight0500]]",
						"max": 2500
					},
					{
						"updateruleset": "[[hight0600]]",
						"max": 3000
					},
					{
						"updateruleset": "[[hight0800]]",
						"max": 3000
					},
					{
						"updateruleset": "[[hight1000]]",
						"max": 3000
					},
					{
						"updateruleset": "[[hight1200]]",
						"max": 3000
					},
					{
						"updateruleset": "[[hightLimit0400]]",
						"max": 2000
					},
					{
						"updateruleset": "[[hightLimit0500]]",
						"max": 2000
					},
					{
						"updateruleset": "[[hightLimit0600]]",
						"max": 2400
					},
					{
						"updateruleset": "[[hightLimit0800]]",
						"max": 2400
					},
					{
						"updateruleset": "[[hightLimit1000]]",
						"max": 2500
					},
					{
						"updateruleset": "[[hightLimit1200]]",
						"max": 2400
					}
				]
			},
			"reminderText": "{heightReminderText}",
			"variableText": "{heightVariableText}",
			"errorText": "{heightVariableErrorText}",
			"sortOrder": 6,
			"unit": "mm",
			"tooltip": {}
		},
		{
			"element": "dropdown",
			"variableText": "{glassThicknessVariableText}",
			"variableId": "{glassThickness}",
			"options": [
				{
					"value": "{glassThickness0400}",
					"display": "{glassThickness0400}",
					"attributes": {
						"selected": true
					}
				},
				{
					"value": "{glassThickness0500}",
					"display": "{glassThickness0500}",
					"attributes": {
						"selected": false,
						"updateRuleset": "[[glassTypeClearCheck]]"
					}
				},
				{
					"value": "{glassThickness0600}",
					"display": "{glassThickness0600}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{glassThickness0800}",
					"display": "{glassThickness0800}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{glassThickness1000}",
					"display": "{glassThickness1000}",
					"attributes": {
						"selected": false,
						"updateRuleset": "[[glassTypeSatinXClearCheck]]"
					}
				},
				{
					"value": "{glassThickness1200}",
					"display": "{glassThickness1200}",
					"attributes": {
						"selected": false,
						"updateRuleset": "[[glassTypeCheck]]"
					}
				}
			],
			"attributes": {
				"required": true
			},
			"sortOrder": 2,
			"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": "glassTypeClearCheck",
			"rule": "[[{glassType}]] == \"{GlasstypeTextClearGlass}\""
		},
		{
			"id": "glassTypeCheck",
			"rule": "[[{glassType}]] == \"{GlasstypeTextClearGlass}\" || [[{glassType}]] == \"{GlasstypeTextExtraClearGlass}\""
		},
		{
			"id": "glassTypeSatinXClearCheck",
			"rule": "[[{glassType}]] != \"{GlasstypeTextExtraClearSatinGlass}\""
		},
		{
			"id": "glassthicknessCheck",
			"rule": "[[{glassThickness}]] == \"5 mm\" || [[{glassThickness}]] == \"4 mm\""
		},
		{
			"id": "weightCalTEMP",
			"formula": "([[{width}]] * [[{height}]] / 1000000)"		
		},
		{
			"id": "width0400",
			"rule": "[[{glassThickness}]] == \"{glassThickness0400}\""
		},
		{
			"id": "width0500",
			"rule": "[[{glassThickness}]] == \"{glassThickness0500}\""
		},
		{
			"id": "width0600",
			"rule": "[[{glassThickness}]] == \"{glassThickness0600}\""
		},
		{
			"id": "width0800",
			"rule": "[[{glassThickness}]] == \"{glassThickness0800}\""
		},
		{
			"id": "width1000",
			"rule": "[[{glassThickness}]] == \"{glassThickness1000}\""
		},
		{
			"id": "width1200",
			"rule": "[[{glassThickness}]] == \"{glassThickness1200}\""
		},
		{
			"id": "widthLimit0400",
			"rule": "[[{glassThickness}]] == \"{glassThickness0400}\" && [[{height}]] > 2000"
		},
		{
			"id": "widthLimit0500",
			"rule": "[[{glassThickness}]] == \"{glassThickness0500}\" && [[{height}]] > 2000"
		},
		{
			"id": "widthLimit0600",
			"rule": "[[{glassThickness}]] == \"{glassThickness0600}\" && [[{height}]] > 2400"
		},
		{
			"id": "widthLimit0800",
			"rule": "[[{glassThickness}]] == \"{glassThickness0800}\" && [[{height}]] > 2400"
		},
		{
			"id": "widthLimit1000",
			"rule": "[[{glassThickness}]] == \"{glassThickness1000}\" && [[{height}]] > 2500"
		},
		{
			"id": "widthLimit1200",
			"rule": "[[{glassThickness}]] == \"{glassThickness1200}\" && [[{height}]] > 2400"
		},
		{
			"id": "hight0400",
			"rule": "[[{glassThickness}]] == \"{glassThickness0400}\""
		},
		{
			"id": "hight0500",
			"rule": "[[{glassThickness}]] == \"{glassThickness0500}\""
		},
		{
			"id": "hight0600",
			"rule": "[[{glassThickness}]] == \"{glassThickness0600}\""
		},
		{
			"id": "hight0800",
			"rule": "[[{glassThickness}]] == \"{glassThickness0800}\""
		},
		{
			"id": "hight1000",
			"rule": "[[{glassThickness}]] == \"{glassThickness1000}\""
		},
		{
			"id": "hight1200",
			"rule": "[[{glassThickness}]] == \"{glassThickness1200}\""
		},
		{
			"id": "hightLimit0400",
			"rule": "[[{glassThickness}]] == \"{glassThickness0400}\" && [[{width}]] > 2000"
		},
		{
			"id": "hightLimit0500",
			"rule": "[[{glassThickness}]] == \"{glassThickness0500}\" && [[{width}]] > 2000"
		},
		{
			"id": "hightLimit0600",
			"rule": "[[{glassThickness}]] == \"{glassThickness0600}\" && [[{width}]] > 2400"
		},
		{
			"id": "hightLimit0800",
			"rule": "[[{glassThickness}]] == \"{glassThickness0800}\" && [[{width}]] > 2400"
		},
		{
			"id": "hightLimit1000",
			"rule": "[[{glassThickness}]] == \"{glassThickness1000}\" && [[{width}]] > 2500"
		},
		{
			"id": "hightLimit1200",
			"rule": "[[{glassThickness}]] == \"{glassThickness1200}\" && [[{width}]] > 2400"
		}
	],
	"variantData": [],
	"premium": [],
	"summery": false,
	"productVariablesRules": [],
	"baseProductPrices": [
		{
			"rule": "[[{glassThickness}]] == \"4 mm\" && [[{glassType}]] == \"{GlasstypeTextClearGlass}\"",
			"productId": "T04001000",
			"note": "hærdet klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"5 mm\" && [[{glassType}]] == \"{GlasstypeTextClearGlass}\"",
			"productId": "T05001000",
			"note": "hærdet klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"6 mm\" && [[{glassType}]] == \"{GlasstypeTextClearGlass}\"",
			"productId": "T06001000",
			"note": "hærdet klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"8 mm\" && [[{glassType}]] == \"{GlasstypeTextClearGlass}\"",
			"productId": "T08001000",
			"note": "hærdet klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"10 mm\" && [[{glassType}]] == \"{GlasstypeTextClearGlass}\"",
			"productId": "T10001000",
			"note": "hærdet klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"12 mm\" && [[{glassType}]] == \"{GlasstypeTextClearGlass}\"",
			"productId": "T12001000",
			"note": "hærdet klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"4 mm\" && [[{glassType}]] == \"{GlasstypeTextExtraClearGlass}\"",
			"productId": "T04001001",
			"note": "hærdet ekstra klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"6 mm\" && [[{glassType}]] == \"{GlasstypeTextExtraClearGlass}\"",
			"productId": "T06001001",
			"note": "hærdet ekstra klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"8 mm\" && [[{glassType}]] == \"{GlasstypeTextExtraClearGlass}\"",
			"productId": "T08001001",
			"note": "hærdet ekstra klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"10 mm\" && [[{glassType}]] == \"{GlasstypeTextExtraClearGlass}\"",
			"productId": "T10001001",
			"note": "hærdet ekstra klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"12 mm\" && [[{glassType}]] == \"{GlasstypeTextExtraClearGlass}\"",
			"productId": "T12001001",
			"note": "hærdet ekstra klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"4 mm\" && [[{glassType}]] == \"{GlasstypeTextSatinGlass}\"",
			"productId": "T04001101",
			"note": "hærdet satin glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"6 mm\" && [[{glassType}]] == \"{GlasstypeTextSatinGlass}\"",
			"productId": "T06001101",
			"note": "hærdet satin glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"8 mm\" && [[{glassType}]] == \"{GlasstypeTextSatinGlass}\"",
			"productId": "T08001101",
			"note": "hærdet satin glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"10 mm\" && [[{glassType}]] == \"{GlasstypeTextSatinGlass}\"",
			"productId": "T10001101",
			"note": "hærdet satin glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"4 mm\" && [[{glassType}]] == \"{GlasstypeTextExtraClearSatinGlass}\"",
			"productId": "T04001002",
			"note": "hærdet extra klar satin glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"6 mm\" && [[{glassType}]] == \"{GlasstypeTextExtraClearSatinGlass}\"",
			"productId": "T06001002",
			"note": "hærdet extra klar satin glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"8 mm\" && [[{glassType}]] == \"{GlasstypeTextExtraClearSatinGlass}\"",
			"productId": "T08001002",
			"note": "hærdet extra klar satin glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"4 mm\" && [[{glassType}]] == \"{GlasstypeTextGrayGlass}\"",
			"productId": "T104001201",
			"note": "hærdet grå glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"6 mm\" && [[{glassType}]] == \"{GlasstypeTextGrayGlass}\"",
			"productId": "T106001201",
			"note": "hærdet grå glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"8 mm\" && [[{glassType}]] == \"{GlasstypeTextGrayGlass}\"",
			"productId": "T108001201",
			"note": "hærdet grå glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"10 mm\" && [[{glassType}]] == \"{GlasstypeTextGrayGlass}\"",
			"productId": "T110001201",
			"note": "hærdet grå glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"4 mm\" && [[{glassType}]] == \"{GlasstypeTextBronzeGlass}\"",
			"productId": "T04001200",
			"note": "hærdet bronze glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"6 mm\" && [[{glassType}]] == \"{GlasstypeTextBronzeGlass}\"",
			"productId": "T06001200",
			"note": "hærdet bronze glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"8 mm\" && [[{glassType}]] == \"{GlasstypeTextBronzeGlass}\"",
			"productId": "T08001200",
			"note": "hærdet bronze glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"10 mm\" && [[{glassType}]] == \"{GlasstypeTextBronzeGlass}\"",
			"productId": "T10001200",
			"note": "hærdet bronze glas",
			"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
}