Skip to main content

Set variables value to a formula

  • November 8, 2023
  • 2 replies
  • 1046 views

Josh_Mitchell

My eCommerce prototype contains 3 prices that change based on the user’s choices: monthly price, total price and RRP. Each of these prices is set to a variable, which updates based on the interaction.

Currently to update the 3 prices each choice has to trigger 3 conditions (e.g. if user chooses option A then ‘Total price’=100, ‘Monthly price’=‘Total price’ ÷ 12 and ‘RRP’=‘Total price’ + 10.

It would save a lot of time if I could set these relations in the variables values themselves (e.g. ‘Monthly price’=Total price ÷ 12 and ‘RRP’=‘Total price’ + 10). This would mean that each choice would only need to update the ‘Total price’ and the ‘Monthly price’ and ‘RRP’ would update automatically.

This topic has been closed for replies.

2 replies

djv
Figmate
  • Community Support
  • 4774 replies
  • November 9, 2023

A post was merged into an existing topic: Calculation formula within variable input


djv
Figmate
  • Community Support
  • 4774 replies
  • November 9, 2023

Thanks for the feedback, @Josh_Mitchell!

We’ve merged your topic with an existing, similar feature request in the community.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings