Simple Calculator
One Variable
Number of users
Subtotal
Tax (18%)
Total (No Decimals)
Calculate based on $2 per user
Area Pricing Calculator
Two Variable
Width
Height
Area
Price
Calculate based on €8 per Square Meters
Advanced Options
Calculate based on 3 sliders and one selector
Plan
Usuarios
Storage Space
Discount
Total
This formula calculates your total cost based on whether you have Pro or Plus pricing. Pro gives you cheaper rates of $30 per order and $500 per storage, while Plus costs $150 per order and $2000 per storage, with your discount taken off at the end.
Advanced Pricing Calculator - 1.2 [New]
Custom pricing with variables, slider and selectors using javascript formulas and variables
Each slider or selector has a
Variable
property control where you assign a variable name (likeprice
)The
Display
component uses JavaScript expressions in theformula
field, allowing math operations (e.g.,price * quantity
), conditional logic (e.g.,price > 100 ? discount : 0
), or functions (e.g.,Math.max(price, 50)
). These variable names are referenced in theDisplay
component's formula to calculate and display results dynamically.You can ask ChatGPT for a JavaScript expression by describing your logic.
For example, say,
I need a JavaScript expression to calculate the total price using price, quantity, and tax variables, with a 10% tax and a 5% discount if quantity is greater than 10. here's an example of an expression: plan === "Pro" ? (orders * 30 + storages * 500) * (1 - discount / 100) : (orders * 150 + storages * 2000) * (1 - discount / 100);
ChatGPT will give you an expression, which you can use in theformula
field of theDisplay
component.