{
	"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": "{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": 130,
				"max": 975,
				"required": true,
				"validation": [],
				"valueSets": [
					{
						"updateruleset": "[[width0876]]",
						"max": 650
					},
					{
						"updateruleset": "[[width1076]]",
						"max": 975
					},
					{
						"updateruleset": "[[width1276]]",
						"max": 1300
					},
					{
						"updateruleset": "[[width1676]]",
						"max": 1300
					},
					{
						"updateruleset": "[[width1752]]",
						"max": 1300
					},
					{
						"updateruleset": "[[width2152]]",
						"max": 1560
					}
				]
			},
			"reminderText": "{widthReminderText}",
			"variableText": "{widthVariableText}",
			"errorText": "{widthVariableErrorText}",
			"sortOrder": 4,
			"unit": "mm",
			"tooltip": {}
		},
		{
			"element": "dropdown",
			"variableText": "{glassThicknessVariableText}",
			"variableId": "{glassThickness}",
			"options": [
				{
					"value": "{glassThickness0876}",
					"display": "{glassThickness0876}",
					"attributes": {
						"selected": true
					}
				},
				{
					"value": "{glassThickness1076}",
					"display": "{glassThickness1076}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{glassThickness1276}",
					"display": "{glassThickness1276}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{glassThickness1676}",
					"display": "{glassThickness1676}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{glassThickness1752}",
					"display": "{glassThickness1752}",
					"attributes": {
						"selected": false,
						"updateRuleset": "[[glassTypeCheckClear-Mat]]"
					}
				},
				{
					"value": "{glassThickness2152}",
					"display": "{glassThickness2152}",
					"attributes": {
						"selected": false,
						"updateRuleset": "[[glassTypeCheckClear-XClear]]"
					}
				}
			],
			"attributes": {
				"required": true
			},
			"sortOrder": 2,
			"tooltip": {}
		},
		{
			"element": "dropdown",
			"variableText": "{BaseCostVariableText}",
			"variableId": "{BaseCostVariableID}",
			"options": [
				{
					"value": "TLPF-GPSH",
					"display": "Facon tillæg - Lige kanter",
					"attributes": {
						"selected": true
					}
				}
			],
			"attributes": {
				"required": true
			},
			"sortOrder": 980,
			"tooltip": {}
		}
	],
	"images": [],
	"accessories": [],
	"extra": [],
	"formulas": [
		{
			"id": "base_elements",
			"formula": "[[{width}]] + [[{width}]] / 1000000) * [[baseProductPrice]] * 1.25 * 1.5"
		},
		{
			"id": "glassTypeCheckClear-XClear",
			"rule": "[[{glassType}]] == \"{GlasstypeTextClearGlass}\" || [[{glassType}]] == \"{GlasstypeTextExtraClearGlass}\""
		},
		{
			"id": "glassTypeCheckClear-Mat",
			"rule": "[[{glassType}]] == \"{GlasstypeTextClearGlass}\" || [[{glassType}]] == \"{GlasstypeTextSatinGlass}\""
		},
		{
			"id": "weightCal21",
			"formula": "( 0.25 * 5 * Math.pow([[{width}]] ,  2) * ( Math.cos(Math.PI/5) / Math.sin(Math.PI/5) ) ) / 1000000"
		},
		{
			"id": "width0876",
			"rule": "[[{glassThickness}]] == \"{glassThickness0876}\""
		},
		{
			"id": "width1076",
			"rule": "[[{glassThickness}]] == \"{glassThickness1076}\""
		},
		{
			"id": "width1276",
			"rule": "[[{glassThickness}]] == \"{glassThickness1276}\""
		},
		{
			"id": "width1676",
			"rule": "[[{glassThickness}]] == \"{glassThickness1676}\""
		},
		{
			"id": "width1752",
			"rule": "[[{glassThickness}]] == \"{glassThickness1752}\""
		},
		{
			"id": "width2152",
			"rule": "[[{glassThickness}]] == \"{glassThickness2152}\""
		}
	],
	"variantData": [
		{
			"id": "{BaseCostVariableID}",
			"name": "{BaseCostVariableID}"
		}
	],
	"premium": [],
	"summery": false,
	"productVariablesRules": [],
	"baseProductPrices": [
		{
			"rule": "[[{glassThickness}]] == \"{glassThickness0876}\" && [[{glassType}]] == \"{GlasstypeTextClearGlass}\"",
			"productId": "TLP08761000",
			"note": "hærdet lamineret klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"{glassThickness1076}\" && [[{glassType}]] == \"{GlasstypeTextClearGlass}\"",
			"productId": "TLP10761000",
			"note": "hærdet lamineret klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"{glassThickness1276}\" && [[{glassType}]] == \"{GlasstypeTextClearGlass}\"",
			"productId": "TLP12761000",
			"note": "hærdet lamineret klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"{glassThickness1676}\" && [[{glassType}]] == \"{GlasstypeTextClearGlass}\"",
			"productId": "TLP16761000",
			"note": "hærdet lamineret klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"{glassThickness1752}\" && [[{glassType}]] == \"{GlasstypeTextClearGlass}\"",
			"productId": "TLP17521000",
			"note": "hærdet lamineret klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"{glassThickness2152}\" && [[{glassType}]] == \"{GlasstypeTextClearGlass}\"",
			"productId": "TLP21521000",
			"note": "hærdet lamineret klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"{glassThickness0876}\" && [[{glassType}]] == \"{GlasstypeTextExtraClearGlass}\"",
			"productId": "TLP08761001",
			"note": "hærdet ekstra klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"{glassThickness1076}\" && [[{glassType}]] == \"{GlasstypeTextExtraClearGlass}\"",
			"productId": "TLP10761001",
			"note": "hærdet ekstra klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"{glassThickness1276}\" && [[{glassType}]] == \"{GlasstypeTextExtraClearGlass}\"",
			"productId": "TLP12761001",
			"note": "hærdet ekstra klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"{glassThickness1676}\" && [[{glassType}]] == \"{GlasstypeTextExtraClearGlass}\"",
			"productId": "TLP16761001",
			"note": "hærdet ekstra klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"{glassThickness2152}\" && [[{glassType}]] == \"{GlasstypeTextExtraClearGlass}\"",
			"productId": "TLP21521001",
			"note": "hærdet ekstra klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"{glassThickness0876}\" && [[{glassType}]] == \"{GlasstypeTextSatinGlass}\"",
			"productId": "TLP08761101",
			"note": "hærdet satin glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"{glassThickness1076}\" && [[{glassType}]] == \"{GlasstypeTextSatinGlass}\"",
			"productId": "TLP10761101",
			"note": "hærdet satin glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"{glassThickness1276}\" && [[{glassType}]] == \"{GlasstypeTextSatinGlass}\"",
			"productId": "TLP12761101",
			"note": "hærdet satin glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"{glassThickness1676}\" && [[{glassType}]] == \"{GlasstypeTextSatinGlass}\"",
			"productId": "TLP16761101",
			"note": "hærdet satin glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"{glassThickness1752}\" && [[{glassType}]] == \"{GlasstypeTextSatinGlass}\"",
			"productId": "TLP17521101",
			"note": "hærdet satin glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"{glassThickness0876}\" && [[{glassType}]] == \"{GlasstypeTextGrayGlass}\"",
			"productId": "TLP08761211",
			"note": "hærdet grå glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"{glassThickness1076}\" && [[{glassType}]] == \"{GlasstypeTextGrayGlass}\"",
			"productId": "TLP10761211",
			"note": "hærdet grå glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"{glassThickness1276}\" && [[{glassType}]] == \"{GlasstypeTextGrayGlass}\"",
			"productId": "TLP12761211",
			"note": "hærdet grå glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"{glassThickness1676}\" && [[{glassType}]] == \"{GlasstypeTextGrayGlass}\"",
			"productId": "TLP16761211",
			"note": "hærdet grå glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"{glassThickness0876}\" && [[{glassType}]] == \"{GlasstypeTextBronzeGlass}\"",
			"productId": "TLP08761200",
			"note": "hærdet bronze glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"{glassThickness1076}\" && [[{glassType}]] == \"{GlasstypeTextBronzeGlass}\"",
			"productId": "TLP10761200",
			"note": "hærdet bronze glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"{glassThickness1276}\" && [[{glassType}]] == \"{GlasstypeTextBronzeGlass}\"",
			"productId": "TLP12761200",
			"note": "hærdet bronze glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"{glassThickness1676}\" && [[{glassType}]] == \"{GlasstypeTextBronzeGlass}\"",
			"productId": "TLP16761200",
			"note": "hærdet bronze glas",
			"weight": true
		}
	],
	"baseProductPriceFormel": "Math.round((([[{width}]] * 1.618) * ([[{width}]] * 1.5388) / 1000000) <= 0.3 ? 0.3 * [[baseProductPrice]] * 1.25 : (([[{width}]] * 1.618)  * ([[{width}]] * 1.5388) / 1000000) * [[baseProductPrice]] * 1.25)",
	"baseProductWeightFormel": "[[baseProductWeight]] * [[weightCal21]]",
	"defaultImgSortOrder": 5
}