Use your own backend for calculating prices
Example:
Create the configurable product and part list
{
"id": "external-price-service:cube-component",
"parameters": [
{
"key": "width",
"type": "Decimal",
"unitType": "length",
"defaultValue": 1000,
"validValues": [
800,
1000,
1200
],
"enabled": true,
"visible": true,
"visibleInPartList": true
},
{
"key": "depth",
"type": "Decimal",
"unitType": "length",
"defaultValue": 1000,
"validValues": [
600,
700,
1000,
1500
],
"enabled": true,
"visible": true,
"visibleInPartList": true
},
{
"key": "height",
"type": "Decimal",
"unitType": "length",
"defaultValue": 1000,
"validValues": [
600,
700,
1000
],
"enabled": true,
"visible": true,
"visibleInPartList": true
}
],
"onUpdate": "",
"geometry": "AddCube(Vector3f{width,depth,height});",
"articleNr": "string(width,0)|'x'|string(depth,0)|'x'|string(height,0)"
}Tenant settings and price service entry
Your custom endpoint
Test it
Last updated