I am building a form using Gravity Forms and Woocommerce, for customers to place a custom product order. They should be able to select the number (in this case, number of days' worth of juice), and then choose certain addons. The price should update dynamically at the bottom, so the number of days part (and thus total price) is easily shown with an Option Pricing field, Drop Down type. Label "1 day", Price "$10.00"; Label "2 days", Price "$20.00", and so on.
Here's the kicker: the other addons should dynamically change how much more expensive they become based on the number of days. For instance, say I have a Low Sugar option (still an Option Pricing field, Checkbox type). $2 extra. That's easy enough, but if I selected "2 days" earlier, that should change and it should now say $4 extra. Or I selected "30 days" and now it should say $60 extra.
Is there a way to simply make the Price of a choice display the result of a formula? In this example, it'd be (2 * number of days). I'm stumped on how to make this happen.