Dynamic Price Range: how to?
-
Hello! My dilemma is this. My client is a cleaning service that wants a form that allows the customer to fill in the size of the area they want cleaned, like “10ft” and when they press the calculate button it should show up a fixed amount within a certain price range…example:
If i fill in “10ft” it should say “10 Dollars”, if i fill in “25ft” it should say “25 Dollars” and so forth.
The only code i’ve managed to make it in order to work is this:
floor_m2_cost is the variable.if(floor_m2_cost<=50,”495″,”0″) Which specifies that if the entered amount is below 50 the price should be 495, otherwise it’s 0. I want to continue with this so it says that if the entered amount is in between 0-25 the result should be 495, if it is spanning from 25-50 it should be like 695 and so on.
I’ve been looking around trying to find some code to make this work but i’m not that good with this extensive kind of coding! :/
Hope someone could help me out! ?? It would make both me and my client really happy!
- The topic ‘Dynamic Price Range: how to?’ is closed to new replies.