Formula

I need a feature to calculate prices based on a user input. Something very simple. For example, the user puts selects a number from a drop down box or inputs a number in a box, this then sends a formula that automatically works out a price that is in another box based on the number they have inputted; just basic excel adding/mulpiplying really. Then they can click a button to purchase this certain product. I know you can implement a shop with various options but I would like it to work like the above.

Do you know of any actions or ways within Freeway Pro this can be done,

Thank you for your help in advance


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Do you know of any actions or ways within Freeway Pro this can be done,

No actions for this but it can be done with some javascript.

Can you be a bit more specific about the calculation and/or product.

Any javascript calculation like this can be fairly easily tampered with so you will have to do some checking before shipping etc. and not rely on unchecked figures.

David


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi,

The idea is to have firstly a drop down box where the user can select a number. The second box will display a price based on the number above and what that number was worth. E.g. if they select 5 people, then then second box would be £15 per person, if they select 7 people, it might be £12 per person. Then I would have multiple drop down boxes for various options they can select which would then add to a grand total displayed at the bottom. The user then should be able to click buy now and go through to a shop like PayPal.

Hope that makes sense?

Thank you

Jason


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

This is do-able, but I wouldn’t recommend you do it. The issue here is that anything you do in JavaScript is user readable, and user modifiable. The right thing to do is put this sort of business logic on the server, where it is really hard to tamper with. You can ask the server for the price after each change of the picker, and update the page in real time. I can post some code for this, but I need some more info about your server setup.

Walter

On Jul 25, 2013, at 4:28 AM, “Jason” email@hidden wrote:

Hi,

The idea is to have firstly a drop down box where the user can select a number. The second box will display a price based on the number above and what that number was worth. E.g. if they select 5 people, then then second box would be £15 per person, if they select 7 people, it might be £12 per person. Then I would have multiple drop down boxes for various options they can select which would then add to a grand total displayed at the bottom. The user then should be able to click buy now and go through to a shop like PayPal.

Hope that makes sense?

Thank you

Jason


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walter,

What info would you need?


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options