What is the official way of computing in Bubble?
I want to compute pricing of an item which depends on certain factors.
I have tried following so far and have been facing issues in all of those:
- Assigning value to a field of a DB thing in workflow: Bubble doesn’t allow any computation there
- Use “Expressions” from Toolbox plugin: Facing some issues there too with fields being empty and me not being able to put conditions there effectively. Also, it was the ugliest way as I have to create many expressions and basically code full pricing logic using workflow boxes while actual JS code was just about 10 lines.
- Use “Server Script” of Toolbox plugin: Some issue here too. Getting error of “properties.thing1.get not a function”
While it would be great if someone could guide me in fixing any of these issues so that I get unblocked, but I am pretty sure there is some official way that Bubble supports for doing such computations? It can’t be dependent on plugin created by someone?